While there are very few viruses that affect OS X, there are a number of rootkits that can compromise the security of your Mac. This tutorial will guide you through using OS X Rootkit Hunter to check your Mac for any rootkit related problems.
Start out by downloading OS X Rootkit Hunter. Open the .dmg file and run the installer.
Once it’s installed, navigate to Applications -> OSXrkhunter -> Rootkit Hunter and run it.
You’ll be prompted to enter your password. Do so.
A bunch of text will fly by – you don’t have to worry to much about making sure you read it all (it’ll probably scroll too fast anyway) – Rootkit Hunter will create a log file for you to review once it has completed the scan.
Scroll to the bottom of the log, and review the System checks summary section. In particular, look for a line that states One or more warnings have been found while checking the system.
If that line exists, press ctrl+f to run a search, and search for the word warning. As seen in the screenshot below, there was a warning about a file on my system. The file in question (/usr/share/man/man5/.rhosts.5.gz was in fact harmless. If you’re unsure if a file is harmful, do a Google search on the file name and see if you can find pages that describe the file.