Adware/malware has infected Chrome and Safari

My exact same issue has already been addressed in another thread, but unfortunately the solutions didn't work for me so I'm trying again.


I'm going to try to be as detailed as possible, so I'm going to break down my issue into several categories:


My System

  • MacBook Pro (Retina, 13-inch, Late 2013)
  • Processor: 2.4 GHz Intel Core i5
  • Memory: 8 GB 1600 MHz DDR3
  • Storage: 249.77 GB
  • Operating System: OS X El Capitan, Version 10.11.4


The Problem

  • Timeframe: This problem has persisted for about 15 hours or so; I didn't notice it last night so I think it happened this morning, but I'm not 100% sure so I'm being generous with the timeframe.
  • In both Chrome and Safari (the two browsers I have installed), some kind of malware is inserting hyperlinks on specific words that link to adverts. Every single advert is linked with the url s.igmhb.com. The hyperlinked words become all-cap, bold and italic with a green arrow to the upper right of each hyperlinked word. Oddly, it doesn't seem to affect all webpages, only a few. There doesn't seem to be any rhyme or reason as to which sites it affects.
  • I haven't installed or downloaded anything suspicious or out of the ordinary, so I have no idea where this is coming from.

User uploaded fileUser uploaded fileUser uploaded file

What I've Done So Far

  • I immediately checked for any suspicious Chrome extensions because that's usually what the issue is, but couldn't find anything. Then I went to Safari to see if it was also affected, which it is. That means that it's probably something that's in my system, not just in a browser.
  • I then ran a scan using Malwarebytes Anti-Malware, and it did find a couple of things. I quickly deleted them and restarted my computer. Unfortunately, the problem is still persisting. This is where I'm really kicking myself, because I should have written down the names of what Malwarebytes found. I just assumed that it would be okay after I deleted the offending files. I've tried running several other Malwarebytes scans, but they all show up negative. I know from experience that there are probably files hidden in my system, but like I said I don't know what to search for.
  • I Googled "s.igmhb.com" to see if other people are having the same problem, and it's kind of suspicious. All of the top results are from within 48 hours and they're all websites advertising anti-virus software. A lot of them even recommend installing MacKeeper, which I know is a huge no-no. So yeah, pretty suspicious if you ask me.


That's about everything I can think of right now; hopefully it's enough for someone to help me out. This type of adware seems to be very new so I haven't had much luck finding any solutions.

MacBook Pro with Retina display, OS X El Capitan (10.11.4), null

Posted on Apr 3, 2016 10:16 AM

Reply
27 replies

Apr 3, 2016 10:22 AM in response to Cosmos424

You may have installed ad-injection malware ("adware").

Don't use any kind of "anti-virus" or "anti-malware" product on a Mac. There is never a need for it, and relying on it for protection makes you more vulnerable to attack, not less.

Back up all data first.

Some of the most common types of adware can be removed by following Apple's instructions. But before you follow those instructions, you can attempt an automatic removal.

If you're not already running the latest version of OS X ("El Capitan"), updating or upgrading in the App Store may cause the adware to be removed automatically. If you're already running the latest version of El Capitan, you can nevertheless download the current updater from the Apple Support Downloads page and run it. Again, some kinds of malware will be removed—not all. There is no such thing as automatic removal of all possible malware, either by OS X or by third-party software. That's why you can't rely on software to protect you.

If the malware is removed in your case, you'll still need to make changes to the way you use the computer to protect yourself from further attacks. Ask if you need guidance.

If the malware is not removed automatically, and you can't remove it yourself by following Apple's instructions, see below.

This easy procedure will detect any kind of adware that I know of. Deactivating it is a separate, and even easier, procedure.

Some legitimate software is ad-supported and may display ads in its own windows or in a web browser while it's running. That's not malware and it may not show up. Also, some websites carry intrusive popup ads that may be mistaken for adware.

If none of your web browsers is working well enough to carry out these instructions, restart the computer in safe mode. That will disable the malware temporarily.

Step 1

Please triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:

~/Library/LaunchAgents

In the Finder, select

Go Go to Folder...

from the menu bar and paste into the box that opens by pressing command-V. Press return. Either a folder named "LaunchAgents" will open, or you'll get a notice that the folder can't be found. If the folder isn't found, go to the next step.

If the folder does open, press the key combination command-2 to select list view, if it's not already selected. Please don't skip this step.

There should be a column in the Finder window headed Date Modified. Click that heading twice to sort the contents by date with the newest at the top. If necessary, enlarge the window so that all of the contents are showing.

Follow the instructions in this support article under the heading "Take a screenshot of a window." An image file with a name beginning in "Screen Shot" should be saved to the Desktop. Open the screenshot and make sure it's readable. If not, capture a smaller part of the screen showing only what needs to be shown.

Start a reply to this message. Drag the image file into the editing window to upload it. You can also include text in the reply.

Leave the folder open for now.

Step 2

Do as in Step 1 with this line:

/Library/LaunchAgents

The folder that may open will have the same name, but is not the same, as the one in Step 1. As in that step, the folder may not exist.

Step 3

Repeat with this line:

/Library/LaunchDaemons

This time the folder will be named "LaunchDaemons."

Step 4

Open the Safari preferences window and select the Extensions tab. If any extensions are listed, post a screenshot. If there are no extensions, or if you can't launch Safari, skip this step.

Step 5

If you use the Firefox or Chrome browser, open its extension list and do as in Step 4.

Apr 3, 2016 10:35 AM in response to Cosmos424

I Googled "s.igmhb.com" to see if other people are having the same problem, and it's kind of suspicious. All of the top results are from within 48 hours and they're all websites advertising anti-virus software. A lot of them even recommend installing MacKeeper, which I know is a huge no-no. So yeah, pretty suspicious if you ask me.


I share your suspicions. This looks like a setup by our MacKeeper 'friends'.

Apr 3, 2016 10:45 AM in response to Linc Davis

Alright, I understand. Here's what I see:


~/Library/LaunchAgents

User uploaded file


/Library/LaunchAgents

User uploaded file


/Library/LaunchDaemons

User uploaded file

As for extensions, I don't have any on Safari because I don't use it; I double-checked to make sure and there still aren't any there. With Chrome, I have a lot of extensions so posting them all here is kind of a waste of time, but I did go through them one by one and they don't seem to be the problem.

Apr 4, 2016 4:56 PM in response to Cosmos424

A

Please back up all data before making any changes.

Below is a suggested procedure to inactivate the malware you installed.

The numbers refer to the items in the screenshots, in the order shown. Use the screenshots as a guide. #1 would be the topmost item, #2 the one below, and so on.

The names in quotes refer to malware types, not to the names of the files. Don't expect the files to have similar names. For example, if you installed the "VSearch" malware, usually none of the files will have the word "VSearch" in the name. Malware attackers don't make it that easy for you.

In the first folder arranged as shown in the screenshots, delete these items:

#1 ("CleanMyMac")

In the second folder:

None

In the third folder:

#1 and #8 ("VSearch")

#6 ("CleanMyMac")

You may be prompted for your password.

Restart the computer. Until you've done that, the malware will still be active, even after you delete the files.

Uninstall any Safari extensions you don't know you need. If in doubt, remove all of them. None is needed for normal operation.

Do the equivalent in the Chrome and Firefox browsers, if you use either of those.

Reset the Safari home page, if it was changed. You may need to do the same in the other browsers.

From the Applications folder (not shown in the screenshots), delete items with any of the following names:

MPlayerX

These steps will permanently inactivate the malware, as long as you never reinstall it. A few small files may remain in hidden folders, but they have no effect.

Also remove "CleanMyMac"—which is not, strictly speaking, malware, but is a scam—according to the developer's instructions.

The instructions above apply only to you. I'm including more general—and complete—self-contained removal instructions below for the benefit of others who may find this discussion. You can skip the remaining steps, but you should read them.

B (optional)

You may have installed one or more variants of the "VSearch" ad-injection malware. Please back up all data, then take the steps below to inactivate it.

Don't use any kind of "anti-virus" or "anti-malware" product on a Mac. There is never a need for it, and relying on it for protection makes you more vulnerable to attack, not less.

Malware is always changing to get around the defenses against it. This procedure works as of now, as far as I know. It may not work in the future. Anyone finding this comment a few days or more after it was posted should look for a more recent discussion, or start a new one.

The VSearch malware tries to hide itself by varying the names of the files it installs. To remove it, you must first identify the naming pattern.

1. Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:

/Library/LaunchDaemons

In the Finder, select

Go Go to Folder...

from the menu bar and paste into the box that opens by pressing command-V. You may not see what you pasted because a line break is included. Press return.

A folder named "LaunchDaemons" may open. If it does, press the key combination command-2 to select list view, if it's not already selected.

There should be a column in the Finder window headed Date Modified. Click that heading twice to sort the contents by date with the newest at the top. Please don't skip this step. Files that belong to an instance of VSearch will have the same modification time to within about one minute, so they will be clustered together when you sort the folder this way, making them easy to identify.

Look inside the folder for files with a name of any of these forms:

com.something.daemon.plist

com.something.helper.plist

com.something.net-preferences.plist

Here something is a meaningless, random string of characters, which can be different in each instance of VSearch. So far it has always been an alphanumeric string without punctuation, such as "disbalance" or "thunderbearer."

You could have more than one copy of the malware, with different values of something.

There may also be one or more files with a name of this form:

com.somethingelseUpd.plist

where somethingelse may be a different meaningless string than something. Again, there may be more than one such file, with different values of somethingelse.

Here's a typical example of a VSearch infection:

com.disbalance.net-preferences.plist

com.thunderbearerUpd.plist

You will have files with names similar, but probably not identical, to these.

If you feel confident that you've identified the above files, drag just those files—nothing else—to the Trash. You may be prompted for your administrator login password. Close the Finder window.

2. Open this folder as in Step 1:

/Library/LaunchAgents

Move to the Trash any files with a name of the form

com.something.agent.plist

where something is one of the strings you found in Step 1. There may not be any such files.

3. If you moved anything to the Trash in Step 1 and/or Step 2, restart the computer and empty the Trash.

Don't delete the "LaunchAgents" or "LaunchDaemons" folder, or anything else inside either one, unless you know you have some other kind of unwanted software besides VSearch. The folders are a normal part of OS X. The terms "agent' and "daemon" refer to a program that starts automatically. That's not inherently bad, but the mechanism is sometimes exploited by malware attackers.

4. Reset the home page in each of your browsers, if it was changed. In Safari, first load the home page you want, then select

Safari Preferences... General

and click

Set to Current Page

The malware is now permanently inactivated, as long as you never reinstall it. A few small files will be left behind, but they have no effect, and trying to find them all is more trouble than it's worth.

5. If you didn't find the files or you're not sure about the identification, post what you found.

If in doubt, or if you have no backups, change nothing at all.

6. The trouble may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it. I don't recommend that you install the genuine "MPlayerX," because it's hosted on the rogue "SourceForge" website and is bundled with other malware.

This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.

In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.

Then, still in System Preferences, open the App Store or Software Update pane and check the box marked

Install system data files and security updates (OS X 10.10 or later)

or

Download updates automatically (OS X 10.9 or earlier)

if it's not already checked.

C (optional)

The "malwarebytes" product failed to remove the malware. That's what you should expect of all such software: failure. I recommend that you remove it and never install it or anything like it again.

Apr 3, 2016 11:35 AM in response to Linc Davis

The "malwarebytes" product failed to remove the malware. That's what you should expect of all such software: failure. I recommend that you remove it and never install it or anything like it again.

I´ll hope you all know that no malware removal tool, no antivirus software can give you 100% protection. If it gives you 99% protection, you have a good one. 1% (or higher) risc remaining.

But without tools, you give the malware a 100% unprotected system.

When you get a fire extinguisher for your home, your home is not fireproof. But you have a fast first help.

greetings from germany

Chris

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Adware/malware has infected Chrome and Safari

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.