More @inspectFile questions. Of course I can turn on audit log, but it did not tell me much. Like
What I need is to get clamd message in clamav log. If I run the /usr/local/sbin/file-inspect.pl even on OK file I get
On @inspectFile /usr/local/sbin/file-inspect.pl I am getting nothing in
Any clue why? I need to know a reason of positive hit logged somewhere, not just Malware found. How can I achieve it?
I have now
Code:
Message: Access denied with code 403, [Rule: 'FILES_TMPNAMES' '@inspectFile /usr/local/sbin/file-inspect.pl'] [id "99"] [msg "Malware found"] [severity "CRITICAL"] [MatchedString ""]
What I need is to get clamd message in clamav log. If I run the /usr/local/sbin/file-inspect.pl even on OK file I get
Code:
Thu Dec 3 15:41:03 2015 -> fd[10]: OK
Code:
/var/log/clamav/clamd.log
I have now
Code:
SecRule FILES_TMPNAMES "@inspectFile /usr/local/sbin/file-inspect.pl" "log,auditlog,severity:2,phase:2,t:none,id:99,msg:'Malware found'"
Last edited by a moderator: