< The MacPaw How-tos

Spyware removal on Mac


spyware-removal-mac

One of the best things about macOS is that it’s incredibly secure and gets far fewer viruses than other operating systems. However, that doesn’t mean it’s immune. There have been plenty of incidents of malware harming Macs in recent years. Thankfully, though, it’s still relatively rare for Macs to be infected with spyware and when it happens, it’s no too difficult to get rid of it.

The recent controversy over Cambridge Analytica accessing the Facebook profiles of tens of millions of users has made the importance of our private data headline news. However, while Facebook providing access to your data to third parties may be undesirable and possibly unethical, it’s not illegal. On the other hand, using spyware to access information about you is illegal in many countries.

What is spyware?

Spyware is malicious code that finds its way onto your computer and then sucks up personal data — that could be personal information about you, financial details, keystrokes, web browsing habits, or even images from your webcam.

There are four main types of spyware: 

1. Adware

Adware is probably the most common type of spyware. It’s also the most obvious, because the information gathered by the spyware is used to display adverts or pop-up windows. It’s very frustrating and hugely inconvenient, though it’s unlikely to do real damage to you or your Mac.

2. Trojans

Trojans are files that look legitimate, like software updates or movies and they’re designed to fool users into downloading them. Once you’ve done that, they will access your personal data and could do serious harm to your Mac.

3. Cookie trackers

Cookie trackers are similar to adware in that they are used to track your browsing habits and web searches. That information can then be used to display adware or for any other reason the hacker chooses. 

4. Keyloggers

A keylogger is a piece of code, installed usually without the user’s knowledge or permission, that tracks what keys are pressed. By doing that, the keylogger can gain access to personal data such as usernames, passwords, credit card numbers, and other sensitive information.

How to remove spyware from Mac

Thankfully, while spyware is very annoying, and potentially damaging, it’s usually not too difficult to remove.

1. Update your Mac to the latest version

MacOS has built-in tools to remove known malware, including spyware. 

  1. Go to the Apple menu and click About this Mac.
  2. Click Software Update. You’ll be taken to the App Store. If you’re not running the latest version of macOS, you’ll see a software update waiting to be installed. Click Update and follow the instructions. 
  3. If you are running the latest version of macOS and no update is available, restart your Mac. When it restarts, it will scan for known malware and remove it.

update-high-sierra

2. Check your Applications folder

Go to the Applications folder on your Mac and look for applications you don’t recognise. If you see any, you should uninstall them. However, don’t just drag them to the Trash, that won’t uninstall them properly and will leave potentially harmful files behind. Instead, use an app like CleanMyMac 3 to uninstall them. 

CleanMyMac uninstalls applications completely, removing all traces of it from your Mac. You can download it free here. Once you’ve downloaded and installed it, do the following: 

  1. Launch it from your Applications folder.
  2. Click on Uninstaller in the Utilities section.
  3. Scroll through the list of applications until you find the one you want to get rid of.
  4. Check the box next to it. 
  5. Click Uninstall. 

uninstall-app

3. Get rid of browser extensions you don’t need

Some spyware is installed in the form of browser extensions. These are mini-programs that run alongside web browsers like Safari and Chrome and provide additional features. They can be very useful, but they can also be troublesome if they’re installed without your knowledge or permission. 

Here’s how to get rid of Safari extensions you didn’t install or don’t need: 

  1. Launch Safari. 
  2. Click on the Safari menu and choose Preferences.
  3. Click on the Extensions tab and look through the list of extensions. If you see one you didn’t install or don’t want, click on it and press the Uninstall button. 
  4. Repeat for every extension you want to uninstall. 

The process is similar for Chrome. However, it’s easier to use the app we've mentioned above — CleanMyMac 3 to remove extensions in both Safari and Chrome. 

  1. Launch CleanMyMac.
  2. Click on Extensions in the Utilities section and click either Chrome Extensions or Safari Extensions. 
  3. Check the box next to the extension you want to get rid of, then click Remove. 
  4. If there’s no check box, click the ‘i’ to find out how to remove the extension. 

remove-chrome-extensions

While you’ve got CleanMyMac open, it’s worth getting rid of cookies you don’t want as well. 

  1. Click on the Privacy tool in Utilities. 
  2. Click on the name of the browser whose cookies you want to delete. 
  3. Click the drop down arrow next to Cookies. 
  4. Check the box next to the cookies you want to get rid of. 
  5. Click Remove. 

remove-cookies-safari

If none of the above gets rid of the spyware, you could try running and an antivirus tool such as Avast, AVG, or BitDefender to give your Mac a spyware scan. If these tools find malware they recognise, they will remove it. 

The last resort is to restore from a backup, either Time Machine or a third party backup tool. Assuming you’ve been running a regular backup schedule, you can just choose a snapshot from just before you noticed the spyware and restore from that. You should copy any documents you created or updated since the snapshot to another storage drive or online service first.

Spyware sounds scary and it can potentially damage both you and your Mac. However, in most cases, getting rid of it is not too difficult. And with the help of CleanMyMac 3 it could actually be very easy.


Share it! Knowledge is power:
CleanMyMac 3
How to clean and optimize your Mac?
That's easy. With CleanMyMac 3.
Download Free
MacPaw uses cookies to personalize your experience on our website. By continuing to use this site, you agree to our cookie policy. Click here to learn more.