Forum Moderators: phranque
1) parse error log looking for malicious activity
2) Look up the abuse reporting address for the offender's IP address
3) automatically send an abuse report to the offender's network administrator
I was going to write a script to do this but once I sat down and started thinking about it I realized this is probably reinventing the wheel. There has to be something out there already.
For instance, this morning I noticed a bunch of errors where people where trying to access things like:
../apache/htdocs/scripts/root.exe
../apache/htdocs/scripts/shell.exe
../apache/htdocs/...cmd.exe
../apache/htdocs/cgi-bin/openwebmail
and various other .dll files which would have no business on a unix-based apache server.
I'm looking for something that will automatically look up an abuse email address for the offending IP address and send an abuse report. Maybe have a mechanism that would require the sys admin to view and OK the abuse report before being sent.
I was going to write a script to do this but I thought it would be a waste of time since other people have probably done this already.