Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

_www sending spam emails

I am running Leopard Server 10.5.8 and I have been hacked and I don't know how.


Starting last night, the _www account started sending spam emails at about 1 per second.


I have turned off mail sending to slow the activity, but I can't seem to find the process that is generating the messages.


Any suggestions on how to go about shutting this off?


I have ClamXav running, but it it running very slowly. This is the only mail server for the company, so I need to get it back up as soon as possible.

Mac mini, Mac OS X (10.5.8), Server

Posted on Jul 5, 2011 3:35 PM

Reply
4 replies

Aug 18, 2011 2:11 PM in response to PatStanford

Apache isn't going to send any mail on its own. The only way it would is through dynamic content systems such as a CGI or PHP page.


Do you have any such CGI or PHP on your server? It's possible someone's using an insecure web form to generate the mail. If your server isn't secure it's also possible that someone pushed such a form to your server.


The apache logs would be the logical place to start. If they're generating at that rate it shouldn't be hard to see where they're coming from.

Aug 19, 2011 7:21 PM in response to PatStanford

One issue that I had was Apache's proxy settings were incorrect - it was initially acting as a forward proxy, and changes in our firewall meant that it was given a public IP, which then allowed it to be used as an open relay for spammers.


Config item was this: http://httpd.apache.org/docs/2.1/mod/mod_proxy.html#proxyrequests


I believe that has stopped some of the problem, but Little Snitch is still reporting a lot of weird requests.


I also turned off ping responses in OS X security settings, and the console still reports a massive amount IPs that it doesn't respond to... :-/

_www sending spam emails

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.