I discovered that I my server was running spam scripts after I got blacklisted. I used this forums extensively and discovered two sets of scripts running in the /tmp and /var/tmp directories. The scripts all seemed to originate from Brazil as the vast majority of email addresses in the spam library had .br extensions.
Here is what I did:
1. I removed the scripts (xXx.txt, enviar.txt, ... directory, and supporting scripts that seem to be perl based)
2. I recompiled php with the phpsuexec option turned on
3. I added this spamlog script to fish for which account was sending the spam. Nothing has shown up when monitoring this log. (http://www.webhostgear.com/232_print.html)
4. I converted the /tmp directory so that it won't execute scripts anymore (http://www.webhostgear.com/34.html)
And yet, it seems that I'm still sending out spam because of the bounce backs that I'm seeing.
So my questions are:
1. Where can I see outgoing email messages? I'm not sure which log to look at.
2. Using Cpanel, I notice that mailnull and nobody are the big offenders when looking at View Mail Statistics. What else can I look at to get more detail info instead of just totals?
Any help here would be great. I'm just looking to catch this script in the act and get rid of this. My system doesn't have PHPbb running and I'm not exactly sure which script was used to access and take advantage of my /tmp directories.



LinkBack URL
About LinkBacks
Reply With Quote




