How to Remove Malware from Safari on Mac?

Attackers can inject malware into the Apple Safari browser that results in usual activities like different search engine engines, website loading issues, malicious ads, and popups, etc. However, we can remove these malware injections easily after resetting the browser data, settings, and extensions back to normal.

Unlike Windows and Android devices, Apple computers are not very popular for being targeted by viruses and malware. Mac and iOS devices possess a rugged security model, which is exceptionally tough to penetrate through.

However, over the past few years, cybercriminals have taken advantage of Apple’s ecosystem’s components to inject undetectable malware into the computers. Safari being a salient component of iOS and Mac, has been considerably targeted to satisfy the ultimate purpose of the script kiddies and hackers.

These malware injections are dynamic and vary on a large scale and as per the attacker’s purpose. The worst part here is most users are unaware of their web activity and functions.

A few weeks ago, the malware was injected into my Safari browser, causing it to slow down and was loading unskippable ads everywhere. When malware hits your Safari browser, it will start all sorts of unusual behavior and suspicious activities just like this.

So if you encounter any suspicious or abnormal activity throughout your browsing session, chances are there might be some malware in your browser.

Thankfully I was able to get the malware out of the Safari browser, but in case you are stuck in a similar position, here are some of the most efficient ways to check and remove malware from your Safari Mac.

Check Malware in Safari Mac

Whenever malware enters your system, it will create certain disturbances and abnormal behavior in your Safari browser. It may either redirect you to different pages all of a sudden and display unwanted pop-up ads out of the blue.

One such example of a potential threat to Safari is the Bing redirect virus, which dominated for a long time in 2019. It is used to redirect the user’s internet traffic to the front page of bing without any permission.

And even if users were successful in identifying the potential threat, no one could understand what its purpose was or how to check for it.

When browsers like Apple Safari, Google Chrome, Mozilla Firefox, etc., these infections primarily occur in extensions and plugins. So, the first method to confirm such a threat is by identifying suspicious extensions on their browser.

Removing suspicious extensions

The primary source of malware in the Safari browser is due to third-party extensions or plugins. These extensions get automatically installed while you visit a questionable downloading website. And as a result, they either show advertisements or use your browser performance power to mine cryptocurrency.

Either way, it’s hard to find them, but the best way to deal with such suspicious extensions is to delete them.

Here are the steps to remove suspicious extensions from Safari browser Mac:

  1. Open Safari browser on your Mac.
  2. Click on the Safari menu and select the Preferences… sub-menu.
    Safari Preferences MenuIt will open the Safari Preferences window.
  3. Switch to the Extensions tab.
  4. Lookup for suspicious extensions installed.
    Uninstall the Safari Browser Extensions
  5. Select the extension, and hit on Uninstall to remove from Safari.

It will immediately remove the extension and make the browser less vulnerable. However, the extension might already make changes in settings; it better to check and reset the options to a normal state.

Under the same Safari preferences window —

  • Switch to the General tab, and set a preferred homepage for your Safari browser.
    Set a Custom Home Page URL in Safari settings
  • Again, switch to the Search tab, and set your default search engine.
    Set Google as Search Engine in Safari browser

Restart the Safari browser and check if the problem doesn’t appear anymore. However, if the problem persists in your browser, try out the following method on our list.

Reset the Safari settings to the default

Extensions come with special privileges and permissions so they can alter the setting of your Safari browser. This, in turn, shows suspicious behavior such as unnecessary ads, slow web pages, etc. Resetting safari settings on your mac will delete any malicious configuration injected by the malware.

Here are the steps to reset Safari settings to the Default configuration:

  1. Launch the Finder window in Mac.
  2. Press and hold the Option key and select the Go menu.
  3. Select the Library option from the drop-down menu.
    Go to Library File Finder
  4. Navigate to Library > Preferences folder.
  5. Delete com.apple.Safari.plist file from the preferences folder.
    Apple Safari Profile List Move to Trash

We have deleted the default configuration file. Just restart the Safari browser to regenerate the new configuration file that we have deleted. It should clear any malware injections.

Clear Cache and History

The cache is a temporary storage solution for the browser, which helps Safari load certain web pages faster. But if the malware is hiding in the cache files, it will create a problem even after you reset or delete your browsing history.

Furthermore, a filled cache memory may slow down your safari for website performance, so it’s a good practice to clear up the browser cache every six months.

Here are the steps to clear Safari browser cache on Mac:

  1. Launch the Apple Safari browser.
  2. Click on the Safari menu and select the Preferences sub-menu.
  3. Switch to the Advanced tab.
  4. Enable the check box for the Show Develop menu in the menu bar.
    Show Develop menu in menubar on SafariIt will enable a new Develop menu in the Safari menu bar.
  5. Click on the Develop menu on the menu bar.
  6. Select Empty Caches from the drop-down menu.
    Empty Cache from Develop menu in Safari MacIt will clear and empty all the cache files stored within the Safari browser.
  7. Next, Click on the History menu on the menu bar.
  8. Click on the Clear History… option.
    Clear History command under History menubar in SafariIt will display a clear history dialog box on the screen.
  9. Choose a suitable time frame and click on the Clear History button.
    Clear History from Safari browser

Note: Choose the “All history” option for best results.

Delete Website Data

Website data comprise special features such as your cookies and browsing or behavior patterns. These might also include your log-in sessions or other website identifiers.

If your browser is infected with malware, it can grab sensitive information via website data, so it is good to delete it.

Here are the steps to delete Website data on Safari Mac:

  1. Launch the Apple Safari browser.
  2. Click on the Safari menu and select the Preferences sub-menu.
  3. Switch to the Privacy tab, and click on the Manage Website Data… button.
    Manage Website Data option in Safari browserIt will open the stored website data and cache.
  4. Hit on the Remove All option.
    Remove Stored Data from the Safari browser
  5. Click on the Remove Now button.
    Remove all the data stored by websites from Safari browser

It will delete all the stored website data and cache files from the Safari browser.

Bottom Line: Remove Safari Malware

If you are lucky enough, the first method must work perfectly fine in your case. However, if it fails to resolve your problem in the worst scenario, the second method will surely do the trick, but the only problem is you will end up losing all your saved data in the browser.

In any case, these methods are the most efficient ways to remove malware from Safari Mac and bring back your browser to its normal functioning state.

Let us know what has spelled out the success in removing the malware injected in the Safari browser. Also, anything else that you tried has worked in clearing the malware.

Lastly, here are the recommended web browsers for your computer and mobile phone that you should give a try.

WindowsMacOSiOSAndroidLinux
Chrome WindowsChrome MacChrome iOSChrome AndroidFirefox Linux
Firefox WindowsSafari MacSafari iOSEdge AndroidChrome Linux
Edge WindowsFirefox MacEdge iOSSamsung InternetEdge Linux

If you've any thoughts on How to Remove Malware from Safari on Mac?, then feel free to drop in below comment box. If you find this article helpful, please consider sharing it with your network.

Also, please subscribe to our BrowserHow YouTube channel for helpful videos tutorials.

Disclosure: This page may contain affiliate links, which means we may receive compensation for your purchases using our links; of course at no extra cost to you (indeed, you may get special discounts). This will support our effort to create more useful content, and keep it open and free forever.
Share

Leave a Reply

Your email address will not be published. Required fields are marked *