| Tools
clamxavOver the course of my career, I've seen a lot of hacked websites

Many websites are hacked directly, but we've also seen them hacked because of compromised computers. For example, a keyboard logger might be used to steal login information.

If you build websites, it's important to make sure your computer is safe.

This tutorial will show you how to scan your Mac using ClamXav.

For Windows users, give our Malwarebytes tutorial a try instead.

Download ClamXAV

media_1399467111637.png

Install

media_1399467541424.png
  • Double click the downloaded installer.
  • You should see a window with the above folders.
  • Drag the ClamXav icon into the Applications folder to begin the install process.
  • Read and click through the subsequent confirmations.

Access

media_1399467814570.png
  • To access ClamXav, do a search (top right, usually) for "ClamXAV".
  • Click on the application to open it.

Update Definitions

media_1399467999929.png
  • Click on Update Definitions to make sure you have the latest definitions loaded. You should do this each time before scanning.
media_1399468062052.png
  • You'll get a "Update Finished" message once it's done.

Scan

media_1399468356637.png
  • Select the folders that you'd like scanned, then click the "Start Scan" button.
  • Scanning can take anywhere from a few seconds to hours, depending on the folders that you selected and the number of files within those folders.

Cleanup

media_1399468561222.png

Once scanning has completed, you'll either get a "No infected files were found" message or a list of infected files.

Infected files can be quarantined or deleted by clicking on the file(s), then selecting the option that you'd like. Before quarantining or deleting, you should make sure that the files are not false-positives. If you're not sure and if the file doesn't contain sensitive information (e.g. an email), you can upload the file to https://www.virustotal.com/ to get a second opinion.