Remove Malware from Safari Browser (2022 Guide)

If your Safari browser is constantly being redirected to unwanted sites or advertisements are popping up while you browse the Internet, then it is possible that you have malware installed on your Mac.

Image: Safari browser redirected to fake update page
Image: Safari browser redirected to fake update page

Is my Safari browser infected with malware?

When the Safari browser is infected with malware, your homepage or search engine might change without your consent, or you’ll see pop-up ads and unwanted advertisements not originating from the sites you are browsing. The most common types of browser infections are browser hijackers, malicious extensions, and adware. Let’s take a look at each of these threats:

  • Browser hijackers are not something new and malware developers have been using this technique for years to generate traffic to their sites, gather search terms, and redirect users to websites from where they’ll receive a commission or some sort of revenue. In most cases, the browser hijacker will change your browser search provider to generate advertising revenue by using Yahoo Search, Bing Search, or Google Search for its search results.
    Image: Safari browser redirected by browser hijacker
    Image: Safari browser redirected by browser hijacker
  • Adware is unwanted software designed to throw advertisements up on your screen, most often within a web browser. These ads will overlay the content on the page and when you click on a link, it will just open a pop-up to another advertisement. When a malicious program displays advertisements it will either display them in pop-up windows, directly on a web page you are visiting, or will appear as videos, banners, moving ads, or like folded down the page in the top right corner of the website. Also, you might experience new tabs opening, a change in your home page, findings from a search engine you never heard of, or even a redirect to an NSFW website.
    Image: Safari browser redirected by adware
    Image: Safari browser redirected by adware
  • Malicious browser extensions are offered through advertisements and once installed can collect private data about your browsing habits, or change your browser settings. If you see a new browser extension that you don’t remember installing, there’s a good chance there’s malware on your system.

Here are a few typical signs that your Safari browser is infected with malware:

  • Advertisements appear in places they shouldn’t be.
  • Your browser search engine is changed without your consent
  • Your web browser’s homepage has mysteriously changed without your permission.
  • Web pages that you typically visit are not displaying properly.
  • Website links redirect to sites different from what you expected.
  • Browser popups appear which recommend fake updates or other software.
  • Other unwanted programs might get installed without your knowledge.

Why am I seeing pop-up ads and redirects in Safari?

You are seeing pop-up ads and redirects in your Safari browser because your Mac is either infected with malware or another site is redirecting you to these pages.

In most cases, malicious Safari browser extensions or programs are being distributed using malicious advertisements or are bundled with other free software that you download off of the Internet, leaving the user puzzled about where it came from.

If you are unsure how a Safari extension was installed or are concerned unwanted programs may be installed on your Mac, you can use the removal guide below to remove them.

This guide was written to help people remove malware from their Safari browser, so if you’re just looking for a way to block redirects or pop-up ads on a specific site, then you can install an adblocker like AdGuard.

How to remove Malware from Safari (Virus Removal Guide)

This malware removal guide may appear overwhelming due to the number of steps and numerous programs that are being used. We have only written it this way to provide clear, detailed, and easy-to-understand instructions that anyone can use to remove malware for free.
Please perform all the steps in the correct order. If you have any questions or doubts at any point, stop and ask for our assistance.

To remove malware from Safari, follow these steps:

STEP 1: Remove malicious Profiles from your Mac

Profiles are used by IT admins in businesses to control the behavior of their Macs. These profiles can configure a Mac to do many different things, some of which are not otherwise possible.
When it comes to home users, adware and browser hijackers are using the configuration profile to prevent users from removing malicious programs from the computer. This also prevents the user from changing that behavior in the browser’s settings.
In this first step, we will check your Mac to see if any configuration profiles are installed. To do this, follow the below steps:

  1. Open “System Preferences”

    From the Apple menu, select System Preferences.

  2. Search for “Profiles”

    When the System Preferences window opens, search for the Profiles icon.
    Search for Profiles in System Preferences

    If there isn’t a Profiles icon, you don’t have any profiles installed, which is normal and you can continue with the next steps.
  3. Remove the malicious profiles

    If there’s a Profile icon, click on it and select any suspicious profile that you want to remove, and then press the – (minus) button. Click Remove to remove the profile.
    Remove malicious profiles from your Mac


STEP 2: Remove the malicious programs from Mac

In this second step, we will try to identify and remove any malicious apps and files that might be installed on your Mac. Sometimes adware or malicious programs can have usable Uninstall entries that can be used to remove them.

  1. Quit the malicious programs

    On the Apple menu bar, in the top-right corner, if you see any unknown or suspicious icon, click on it and then select Quit.

  2. Open “Finder”

    Click the Finder application on your dock.
    Open Finder

  3. Click on “Applications”

    In the Finder left pane, click on “Applications“.
    Click on Applications

  4. Find and remove the malicious app.

    The “Applications” screen will be displayed with a list of all the apps installed on your device. Scroll through the list until you find the malicious app, right-click it, and then click “Move to Trash”.

    Look out for any suspicious program that could be behind all the drama – anything you don’t remember downloading or that doesn’t sound like a genuine program. Here are some known malicious programs: SearchMine, TakeFresh, TopResults, FeedBack, ApplicationEvents, GeneralOpen, PowerLog, MessengerNow, ImagePrime, GeneralNetSearch, Reading Cursors, GlobalTechSearch, PDFOnline-express, See Scenic Elf, MatchKnowledge, Easy Speedtest, or WebDiscover.

    Find malicious programs and Remove It

  5. Click “Empty Trash”

    On the dock, right-click on the trash icon and select “Empty Trash”. Doing so deletes the Trash’s contents, including the program that you just sent to the Trash.
    Empty Trash

  6. Find and remove the malicious files

    • Click the desktop to make sure you’re in the Finder, choose “Go” then click on “Go to Folder“.Go to Folder mac
    • Type or copy/paste each of the below paths into the window that opens, then click Go.
      • /Library/LaunchAgents
      • ~/Library/LaunchAgents
      • /Library/Application Support
      • /Library/LaunchDaemons

      Type the commands in the Go to Folder window

    • Look out for any suspicious files that could be behind all the drama – anything you don’t remember downloading or that doesn’t sound like a genuine program. Here are some known malicious files: Here are some known malicious files: “com.adobe.fpsaud.plist” “installmac.AppRemoval.plist”, “myppes.download.plist”, “mykotlerino.ltvbit.plist”, or “com.myppes.net-preferences.plist”. When you find a malicious file move it to the Trash.

STEP 3: Use Malwarebytes for Mac to remove browser hijackers, adware, and other malware

In this third step, we will download, install and run a scan with Malwarebytes for Mac to find and remove browser hijackers, adware, malicious browser extensions, and other malware from your Mac.

Malwarebytes for Mac is an on-demand scanner that is able to destroy many types of malware that other software tends to miss without costing you absolutely nothing. When it comes to cleaning up an infected device, Malwarebytes has always been free, and we recommend it as an essential tool in the fight against malware.

  1. Download Malwarebytes for Mac.

    You can download Malwarebytes for Mac by clicking the link below.

    MALWAREBYTES FOR MAC DOWNLOAD LINK
    (The above link will open a new page from where you can download Malwarebytes for Mac)
  2. Double-click on the Malwarebytes setup file.

    When Malwarebytes has finished downloading, double-click on the setup file to install Malwarebytes on your computer. In most cases, downloaded files are saved to the Downloads folder.

    Double-click on setup file to install Malwarebytes

  3. Follow the on-screen prompts to install Malwarebytes.

    When the Malwarebytes installation begins, you will see the Malwarebytes for Mac Installer which will guide you through the installation process. Click “Continue“, then keep following the prompts in order to continue with the installation process.

    Click Continue to install Malwarebytes for Mac

    Click again on Continue to install Malwarebytes for Mac for Mac

    Click Install to install Malwarebytes on Mac

    When your Malwarebytes installation completes, the program opens to the Welcome to Malwarebytes screen. Click the “Get started” button.

  4. Select “Personal Computer” or “Work Computer”.

    The Malwarebytes Welcome screen will first ask you on what type of computer are you installing this program, click either Personal Computer or Work Computer.
    Select Personal Computer or Work Computer mac

  5. Click on “Scan”.

    To scan your Mac with Malwarebytes, click on the “Scan” button. Malwarebytes for Mac will automatically update the antivirus database and start scanning your computer for malware.
    Click on Scan button to start a system scan Mac

  6. Wait for the Malwarebytes scan to complete.

    Malwarebytes will scan your computer for the Safari malware. This process can take a few minutes, so we suggest you do something else and periodically check on the status of the scan to see when it is finished.
    Wait for Malwarebytes for Mac to scan for malware

  7. Click on “Quarantine”.

    When the scan has completed, you will be presented with a screen showing the malware infections that Malwarebytes has detected. To remove the malware that Malwarebytes has found, click on the “Quarantine” button.
    Review the malicious programs and click on Quarantine malware

  8. Restart computer.

    Malwarebytes will now remove all the malicious files that it has found. To complete the malware removal process, Malwarebytes may ask you to restart your computer.
    Malwarebytes For Mac requesting to restart computer
    When the malware removal process is complete, you can close Malwarebytes and continue with the rest of the instructions.


STEP 4: Remove malicious browser extensions and reset settings

In this final step, we will remove spam notifications,  malicious extensions, and change to default any settings that might have been changed by malware.
For each browser that you have installed on your computer, please click on the tab below and follow the displayed steps to reset that browser.

Safari BrowserChrome for Mac BrowserFirefox for Mac Browser
Remove malware from Safari

To remove malware from Safari we will check if there are any malicious extensions installed on your browser and what settings have been changed by this malicious program.

  1. Go to Safari’s “Preferences”.

    On the menu bar, click the “Safari” menu and select “Preferences”.
    On the Menu bar Click on Safari then Preference

  2. Check Homepage.

    This will open a new window with your Safari preferences, opened to the “General” tab. Some browser hijackers may change your default homepage, so in the Homepage field make sure it’s a web page you want to use as your start-up page.

    Change Homepage in Safari

  3. Click “Extensions”

    Next, click on the “Extensions” tab.
    Click on Extensions MacOS

  4. Find and uninstall malicious extensions.

    The “Extensions” screen will be displayed with a list of all the extensions installed on Safari. Look out for any suspicious browser extension that could be behind all the drama – anything you don’t remember downloading or that doesn’t sound like a genuine extension. By default, there are no extensions installed on Safari so it’s safe to remove an extension
    Click on Uninstall to remove malicious extension

  5. Remove spam notifications ads

    Click Preferences, click Websites, then click Notifications. Deselect “Allow websites to ask for permission to send push notifications”.

    Deselect Allow websites to ask for permission to send push notifications

  6. Remove all data stored by websites on your computer.

    In the Safari menu, choose “Preferences…”, select “Privacy” at the top of the new window that appears, and then click the “Manage Website Data” button.
    Click Manage Website Data

    In the next dialog box, click “Remove All“. It will ask you if you are sure you want to remove all data stored by websites on your computer. Select “Remove Now” to clear data that could be used to track your browsing.

    Click Remove All Website Data

  7. Empty Safari Caches.

    From your Safari menu bar, click Safari and select Preferences, then select the Advanced tab. Enable the checkbox to “Show Develop menu in menu bar“.
    Show Dev Bar

    From the menu bar select Develop, then click on Empty Caches as seen in the image below.
    empty cache

Remove malware from Chrome for Mac

To remove malware from Chrome for Mac we will reset the browser settings to their default. Doing these steps will erase all configuration information from Chrome such as your home page, tab settings, saved form information, browsing history, and cookies. This process will also disable any installed extensions. All of your bookmarks, though, will be preserved.

  1. Click on the three dots at the top right and go to Settings.

    Click on Chrome’s main menu button, represented by three dots at the top right corner. Now click on the menu option labeled Settings as shown by the arrow in the picture below, which will open the basic settings screen.
    Click on the Chrome menu button then on the Settings button

  2. In the left sidebar, click on the “Reset and Cleanup” option.

    In the left sidebar, click on “Reset and clean up“.
    Click on Reset and Cleanup

  3. Click “Reset settings to their original defaults”.

    Now click on the “Reset settings to their original defaults”. link as shown in the image below.
     Reset Chrome

  4. Click “Reset Settings” button.

    A confirmation dialog should now be displayed, detailing the components that will be restored to their default state should you continue with the reset process. To complete the restoration process, click on the “Reset Settings” button.
    Confirm Reset Chrome browser

Remove malware from Firefox for Mac

To remove malware from Firefox for Mac we will reset the browser settings to its default. The reset feature fixes many issues by restoring Firefox to its factory default state while saving your essential information like bookmarks, passwords, web form auto-fill information, browsing history, and open tabs.

  1. Go to the “Help” menu.

    Click on Firefox’s main menu button, represented by three horizontal lines. When the drop-down menu appears, select the option labeled “Help“.
    Image - Click on the Firefox Menu button then select Help

  2. Click “Troubleshooting Information”.

    Next click on the “Troubleshooting Information” option as indicated by the arrow in the image below. This will bring you to a Troubleshooting page.

    Image - Troubleshooting Information option in Firefox Mac

  3. Click on “Refresh Firefox”

    Click the “Refresh Firefox” button in the upper-right corner of the “Troubleshooting Information” page.
    Image - Click on the Refresh Firefox button Mac

  4. Confirm.

    To continue, click on the “Refresh Firefox” button in the new confirmation window that opens.
    Image - Click again on Refresh Firefox button

  5. Click on “Finish”.

    Firefox will close itself and will revert to its default settings. When it’s done, a window will list the information that was imported. Click on the “Finish“.

Your old Firefox profile will be placed on your desktop in a folder named “Old Firefox Data“. If the reset didn’t fix your problem you can restore some of the information not saved by copying files to the new profile that was created. If you don’t need this folder any longer, you should delete it as it contains sensitive information.

Your Mac computer and browser should now be free of browser hijackers, adware, malicious browser extensions, and other malware. If your current antivirus allowed a malicious program on your Mac, you might want to consider purchasing the full-featured version of Malwarebytes Anti-Malware to protect against these types of threats in the future.
If you are still experiencing problems while trying to a malicious program from your Mac, please ask for help in our Mac Malware Removal Help & Support forum.

Protect your device from viruses

Here are some basic security tips that will help you avoid malware:

  1. Install updates.

    Keep your operating system and apps up to date. Whenever an update is released for your device, download and install it right away. These updates often include security fixes, vulnerability patches, and other necessary maintenance.

  2. Be careful when installing programs and apps.

    Pay close attention to installation screens and license agreements when installing software. Custom or advanced installation options will often disclose any third-party software that is also being installed. Take great care in every stage of the process and make sure you know what it is you're agreeing to before you click "Next."

  3. Don't use keygens and cracks.

    Avoid using Peer-to-Peer (P2P) file-sharing programs, keygens, cracks, and other pirated software that can often compromise your data, privacy, or both.

  4. Install an ad blocker.

    Use a browser-based content blocker, like AdGuard. Content blockers help stop malicious ads, Trojans, phishing, and other undesirable content that an antivirus product alone may not stop.

  5. Be careful what you download.

    A top goal of cybercriminals is to trick you into downloading malware—programs or apps that carry malware or try to steal information. This malware can be disguised as an app: anything from a popular game to something that checks traffic or the weather.

  6. Be alert for people trying to trick you.

    Whether it's your email, phone, messenger, or other applications, always be alert and on guard for someone trying to trick you into clicking on links or replying to messages. Remember that it's easy to spoof phone numbers, so a familiar name or number doesn't make messages more trustworthy.

  7. Back-up your data

    Back up your data frequently and check that your backup data can be restored. You can do this manually on an external HDD/USB stick, or automatically using backup software. This is also the best way to counter ransomware. Never connect the backup drive to a computer if you suspect that the computer is infected with malware.

  8. Secure your device.

    Keeping all the above tips in mind will keep you well on your guard, and installing a good antivirus will monitor your files for unusual changes and other warning signs. Whether you use a PC, a Mac, or a mobile device, Malwarebytes Premium is the strongest protection ever. Malwarebytes sits beside your traditional antivirus, filling in any gaps in its defenses, and providing extra protection against sneakier security threats.

Leave a Comment