Things You'll Need:
- Apple Computer running Mac OS X (10.4 +)
- Virus Barrier or other Anti-Virus Software (highly recommended)
-
Step 1
Update and run your anti-virus software. This is the preferred method to remove the Trojan Horse and repair the damage caused by the malware. If you choose not to use AV software, continue, but be very cautious.
-
Step 2
Go to your root "Library" Folder. Click on your Hard Drive icon in the Finder and select the "Library Folder".
-
Step 3
Navigate to the "Internet Plug-Ins" Folder.
-
Step 4
See if there's a "plugins.settings" file in this folder. If that file is not in this folder, you're not infected.
-
Step 5
Delete "plugin.settings". Either drag it to the Trash on your Dock or hit the Command Key and Delete at the same time.
-
Step 6
Empty your trash. Right-click or Control-click the Trash icon on the Dock and select "Empty Trash".
-
Step 7
Open "Terminal" (Applications > Utilities).
-
Step 8
Type in "sudo crontab -l" (the letter L, and minus the quotes), hit Return, and enter your administrator password when asked. If it returns with anything other than "crontab: no crontab for root", you are most likely infected.
-
Step 9
Type in "sudo crontab -r" (minus the quotes) and enter your administrator password. This will remove the scheduled "cron" job that modifies your Mac's DNS information.
-
Step 10
Re-type "sudo crontab -1" (minus the quotes) to make sure that the delete process worked. If it did, you should see "crontab: no crontab for root".
-
Step 11
Type "exit" (minus the quotes) in Terminal.
-
Step 12
Restart your computer. Your Mac should now be clean!









Comments
wwcan said
on 7/6/2009 Thanks Alexia. I also removed it via Terminal. Your instructions are great.
TallT said
on 9/17/2008 I ran into the same situation as dennispeeters, regarding the Quicktime Plugin appearance after the terminal command.
But what confuses me and hasn't permitted me to cure my Mac is that I get the question:
remove crontab for root? (with a question mark)
And I don't know how to respond to that!
I tried typing "yes", and tried typing "sudo crontab -1 and -r
but no good results and never have I seen the message that shows that the problem has been resolved; i.e., "crontab: no crontab for root".
Thanks,
Terry
emilythestrange said
on 7/9/2008 Thanks very much for this tip. I removed the trojan manually via the terminal and am no longer getting redirected from the google search results page, which was extremely annoying...
Cheers!
dennispeeters said
on 12/29/2007 Posted this on the MacWorld site, thought it might be usefull for some people here, cause it adds some info: the plugins.settings file is not the only one you have to remove in some instances:
Phew...... showed my first trojan horse the door..... Thank you for the great how-to!
Glad I recently conquered my Terminal-shyness, otherwise this would really have been a sweaty-hands-affair.
One thing puzzles me though.
sudo crontab -l got this result:
* * * * * "/Library/Internet Plug-Ins/QuickTime.xpt">/dev/null 2>&1
Which is weird... I guess... it's got a different name, even more misleading, maybe this links to the other one? Deleted (copied ofcourse) the Quicktime.xpt file also, just in case.
Can anyone shed some light on this one? I still have the file if you're interested.
+Edit: I've now figured out that the two files are practically identical, bar some quotes here and the
dennispeeters said
on 12/29/2007 Posted this on the MacWorld site, thought it might be usefull for some people here, cause it adds some info: the plugins.settings file is not the only one you have to remove in some instances:
Phew...... showed my first trojan horse the door..... Thank you for the great how-to!
Glad I recently conquered my Terminal-shyness, otherwise this would really have been a sweaty-hands-affair.
One thing puzzles me though.
sudo crontab -l got this result:
* * * * * "/Library/Internet Plug-Ins/QuickTime.xpt">/dev/null 2>&1
Which is weird... I guess... it's got a different name, even more misleading, maybe this links to the other one? Deleted (copied ofcourse) the Quicktime.xpt file also, just in case.
Can anyone shed some light on this one? I still have the file if you're interested.
+Edit: I've now figured out that the two files are practically identical, bar some quotes here and the