Re:Another Ransomware Outbreak Is Going Global
by dotancohen on Tuesday June 27, 2017 @05:26PM
(#14649607)
I'd like to emphasize the canary file. This is a file that you should never access in normal operations. Thus, if the file was in fact accessed, that is a sign that something is scanning your file system.
Depending on the threat, such a scan might be a good reason to pull the cord from the mains socket. You don't want to let a normal shutdown occur, rather pull the cord and mount the disk on another system to recover / analyze.
Re:Another Ransomware Outbreak Is Going Global
by singularity2001 on Tuesday June 27, 2017 @05:49PM
(#14649818)
what a horrible interface
aide
Couldn't open file /var/lib/aide/please-dont-call-aide-without-parameters/aide.db for reading
aide -i
Couldn't open file /var/lib/aide/please-dont-call-aide-without-parameters/aide.db.new for writing
Re:Another Ransomware Outbreak Is Going Global
by tyingq on Tuesday June 27, 2017 @06:53PM
(#14650286)
I suppose, but it's not really made as a one off run-a-command type tool. It needs set up so that you can compare now to then.
Having no parameters specified doing something real is probably not desired, as it would overwrite the DB that your aide Cron job is running.
That's why your Linux distro (not aide) picked those funny defaults.
http://aide.sourceforge.net
You could also use the built in audit subsystem if you wanted to watch a specific canary file, directory, filesysyem, etc. https://www.linux.com/learn/customized-file-monitoring-audit...