Skip to main content
How to remove Shlayer malware from Mac

How to remove Shlayer malware from Mac

Keep abreast of the growingly treacherous Shlayer Trojan Mac campaign to find out how to avoid this threat and remove it if the attack has taken place.

Shlayer Trojan isn’t a new peril in the cybercrime landscape. Having been originally spotted in February 2018, this infection homes in on Macs while ostensibly not boasting any particularly sophisticated characteristics. As a matter of fact, this is a researchers-coined name and the culprit doesn’t manifest itself that way. Instead, its primary goals are to display ads, redistribute web traffic, and install other malware onto hosts as a second-stage payload. The Mac menaces backed by this surreptitious promotion – adware, for the most part – had been mainly eclipsing the core threat until early 2020, when a well-known security software provider spread the word about some startling statistics. According to the telemetry systems of the company in question (Kaspersky Lab), a knockoff catalogued as Trojan-Downloader.OSX.Shlayer.a accounted for almost 30% of all their detections globally on machines running macOS last year. This whopping number makes the predatory program the dominating strain in its niche that outstrips the second most detected Mac malware codenamed Bnodlero.q by nearly 17%. How did the pest under scrutiny become so alarmingly pervasive?

Before taking a deep dive into the distribution of Shlayer Trojan, though, let’s dissect its modus operandi and objectives. The infection arrives at Macs with a booby-trapped version of Adobe Flash Player. Unsuspecting users are fooled into clicking a malicious link that supposedly installs the latest iteration of the software suite. In fact, the victims thereby authorize the infiltration of the pest. Shlayer additionally adds a rogue extension to Safari that modifies the plagued user’s browsing preferences and executes covert reconnaissance seeking to collect the search terms and web surfing history. None of this activity is accompanied by dialogs or other forms of permission requests. One more element of the raid is that the Trojan promotes a custom build of open-source proxy software while installing a valid digital certificate. This trick paves the threat’s way towards displaying ads and injecting arbitrary scripts on the visited websites. Plus, the browser may be redirected to fake search engines, dangerous download portals, or tech support scams.

As previously mentioned, an extra trait of the Shlayer Trojan comes down to pushing opportunistic viruses. To be able to do it silently, the malady cashes in on its capability of communicating with a Command and Control server. For the record, security analysts have unearthed roughly 140 different C2 domains associated with this campaign over the course of its two-year existence. This real-time server interaction quirk yields a game-changing benefit to the operators of this malicious entity. Simply put, the crooks can remotely instruct Shlayer to install any other malware onto compromised Mac computers. This trespass typically assumes the form of a commonplace setup routine. The victim suddenly sees a popup screen asking them to install some multimedia app or web search enhancement tool, which is actually a harmful app in disguise. The worst part is that the baddie will get on board no matter if the user agrees or rejects the “offer”.

The criminals behind Shlayer have masterminded a distribution wave that stands out from the crowd. There are hundreds of websites out there that promote it at this point, and some of these have large audiences among Mac fans. The malefactors have reportedly set up “partner programs” that offer webmasters, YouTubers, and Wikipedia contributors to spread fake Adobe Flash Player updates for an attractive commission that may reach $4 per install. Obviously, even with such a high rate, the hoax still pays off as the perpetrators can monetize the attack in multiple ways. They rake in a mind-boggling profit by displaying sponsored information to countless victims, funneling the intercepted traffic to malicious web pages, and selling the stealthily harvested browsing data to interested parties such as advertisers or other cybercriminals. If you notice any of the above clues that may indicate the presence of the Shlayer Trojan on your Mac, be sure to get rid of it along with a potential bundle without delay.

Shlayer malware manual removal for Mac

The steps listed below will walk you through the removal of this malicious application. Be sure to follow the instructions in the order specified.

  1. Open up the Utilities folder as shown below

  2. Locate the Activity Monitor icon on the screen and double-click on it

  3. Under Activity Monitor, find an entry that appears suspicious, select it and click Quit Process
  4. A dialog should pop up, asking if you are sure you would like to quit the troublemaking process. Select the Force Quit option
  5. Click the Go button again, but this time select Applications on the list. Find the dubious entry on the interface, right-click on it and select Move to Trash. If user password is required, go ahead and enter it

  6. Now go to Apple Menu and pick the System Preferences option

  7. Select Accounts and click the Login Items button. The system will come up with the list of the items that launch when the computer is started up. Locate the potentially unwanted object there and click on the “-” button

Get rid of Shlayer malware ads and redirects in web browser on Mac

To begin with, settings for the web browser that got hit by this virus should be restored to their default values. The overview of the steps for this procedure is as follows:

How do I get rid of Shlayer malware symptoms in Safari?

  • Open the browser and go to Safari menu. Select Preferences in the drop-down list

  • Once the Preferences screen appears, hit the Privacy tab at the top. Find the option that says Remove All Website Data and click on it

  • The system will display a confirmation dialog that also includes a brief description of what the reset does. Specifically, you may be logged out of some services and encounter other changes of website behavior after the procedure. If you’re okay with that, go ahead and click the Remove Now button

  • In order to selectively clear data generated by certain websites only, not all of them, hit the Details button under the Privacy section of Safari Preferences

  • This feature will list all websites that have stored potentially sensitive data, including cache and cookies. Select the one, or ones, that might be causing trouble and click the appropriate button at the bottom (Remove or Remove All). Click the Done button to exit.

How do I block Trojan:OSX/Shlayer in Chrome?

  • Open Chrome, click the Customize and control Google Chrome (⁝) icon in the top right-hand part of the window, and select Settings in the drop-down
  • When on the Settings pane, select Advanced
  • Scroll down to the Reset settings section. Under the Restore settings to their original defaults option, click the Reset settings button

  • Confirm the Chrome reset on a dialog that will pop up. When the procedure is completed, relaunch the browser and check it for malware activity.

How to stop Shlayer Trojan activity in Mozilla Firefox?

  • Open Firefox and select HelpTroubleshooting Information
  • On the page that opened, click the Reset Firefox button

Get rid of Shlayer.Trojan using Freshmac removal tool

When confronted with malicious code like Shlayer Trojan on Mac, you can neutralize its toxic impact by leveraging a specially crafted system utility. The Freshmac application (read review) is a perfect match for this purpose as it delivers essential security features along with must-have modules for Mac optimization.

This tool cleans unneeded applications and persistent malware in one click. It also protects your privacy by eliminating tracking cookies, frees up disk space, and manages startup apps to decrease boot time. On top of that, it boasts 24/7 tech support. The following steps will walk you through automatic removal of the Shlayer infection from Mac.

1. Download Freshmac installer onto your machine. Double-click the Freshmac.pkg file to trigger the installer window, select the destination disk and click Continue. The system will display a dialog asking for your password to authorize the setup. Type the password and click Install Software.

Download Now

2. Once the installation has been completed, Freshmac will automatically start a scan consisting of 5 steps. It scans cache, logs, unused languages, trash, and checks the Mac for privacy issues.

3. The scan report will then display your current system health status and the number of issues detected for each of the above categories. Click the Fix Safely button to remove junk files and address privacy issues spotted during the scan.

4. Check whether the Shlayer redirect and ad-injection problem have been fixed. If they persevere, go to the Uninstaller option on Freshmac GUI. Locate an entry that appears suspicious, select it and click Fix Safely button to force-uninstall the unwanted application.

5. Go to Temp and Startup Apps panes on the interface and have all redundant or suspicious items eliminated as well. The Shlayer Trojan shouldn’t be causing any further trouble.


Was this article helpful? Please, rate this.

There are no comments yet.
Authentication required

You must log in to post a comment.

Log in