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:
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.
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.
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. Scan your Mac with CleanMyMac X
Use a dedicated tool like CleanMyMac X to find and neutralize spyware on your Mac. CleanMyMac removes not only spyware but all other malware threats, such as ransomware, worms, and cryptocurrency miners. Therefore, when you scan your system with CleanMyMac X, you may be sure that all vulnerabilities will be identified.
Here’s how to use it:
- Download CleanMyMac X and launch the app.
- Choose Malware Removal tab.
- Click Scan.
- Click Remove.
2. Update your Mac to the latest version
MacOS has built-in tools to remove known malware, including spyware.
- Go to the Apple menu and click About this Mac.
- 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.
- 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.
3. 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 X 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:
- Launch it from your Applications folder.
- Click on Uninstaller in the Utilities section.
- Scroll through the list of applications until you find the one you want to get rid of.
- Check the box next to it.
- Click Uninstall.
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:
- Launch Safari.
- Click on the Safari menu and choose Preferences.
- 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.
- Repeat for every extension you want to uninstall.
The process is similar for Chrome.
Along with browser extensions, it’s also worth getting rid of cookies you don’t want as well. And the app we’ve mentioned above, CleanMyMac X, can help you with that:
- Click on the Privacy tool.
- Click Scan.
- Click on the name of the browser whose cookies you want to delete.
- Click the drop down arrow next to Cookies.
- Check the box next to the cookies you want to get rid of.
- Click Remove.
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 X it could actually be very easy.