Apple Event: May 7th at 7 am PT

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

Infected by Trojan? Please Help!

Hi,


I've been successfully running a Mac OSX Snow Leopard Server for over a year now. We are using Mail and Web services on it. Recently the server crashed every two to three hours and I got a mail from my ISP that my IP adress is compromised and we are attacking other systems. When running „top -o cpu“ I see several instances with „perl10.5.0“ slowing down the whole systems until it crashes.. What could I do?


Please help!


Kind regards,

Chris

Mac mini, Mac OS X (10.6.1)

Posted on Jul 23, 2012 8:39 AM

Reply
Question marked as Best reply

Posted on Jul 23, 2012 4:34 PM

I'd not initially suspect a trojan, unless you've been downloading and installing random stuff onto your server.


I'd assume a weak password, or a mis-configured or a down-revision (and vulnerable) web-facing service or web tool. Probes for these sorts of errors and weaknesses are quite common.


Shut down your network, and shut down your mail server.


Get a backup of your disks, on the off chance that there might be attempts to delete your data, or errors made while attempting to clean up the attack.


Reset all of the passwords. All of them. Certificates, too, if you have SSH active.


Then start digging through your logs, and see what's going on here.


Get rid of any files that the attackers have loaded into the web directories.


Get rid of any users that have been added by the attackers.


Make sure you don't have other breached systems, too; either "trusted" systems that are using your OS X Server box to route spam, or other boxes that have been compromised from a breached OS X Server box.


If your attackers have left one or more backdoors, then you can have the nasty choice of finding and disabling each of those that might be around, or reinstalling from distros. Once breached, your system is not trustworthy. (There are all sorts of obscure spots that a backdoor can be hidden away for later use, unfortunately.)


Here's a general write-up on what can be involved in decontaminating a server.


There's no easy way out of a security breach, unfortunately. It's a slog.

1 reply
Question marked as Best reply

Jul 23, 2012 4:34 PM in response to criuz

I'd not initially suspect a trojan, unless you've been downloading and installing random stuff onto your server.


I'd assume a weak password, or a mis-configured or a down-revision (and vulnerable) web-facing service or web tool. Probes for these sorts of errors and weaknesses are quite common.


Shut down your network, and shut down your mail server.


Get a backup of your disks, on the off chance that there might be attempts to delete your data, or errors made while attempting to clean up the attack.


Reset all of the passwords. All of them. Certificates, too, if you have SSH active.


Then start digging through your logs, and see what's going on here.


Get rid of any files that the attackers have loaded into the web directories.


Get rid of any users that have been added by the attackers.


Make sure you don't have other breached systems, too; either "trusted" systems that are using your OS X Server box to route spam, or other boxes that have been compromised from a breached OS X Server box.


If your attackers have left one or more backdoors, then you can have the nasty choice of finding and disabling each of those that might be around, or reinstalling from distros. Once breached, your system is not trustworthy. (There are all sorts of obscure spots that a backdoor can be hidden away for later use, unfortunately.)


Here's a general write-up on what can be involved in decontaminating a server.


There's no easy way out of a security breach, unfortunately. It's a slog.

Infected by Trojan? Please Help!

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