Home > Mac Viruses > Shlayer Mac Trojan Removal — Mac Restore Instructions
THREAT REMOVAL

Shlayer Mac Trojan Removal — Mac Restore Instructions

This article has been created in order to give you insight on how to quickly remove the Shlayer Mac Trojan from your Mac effectively.

SIDENOTE: This post was originally published in July 2019. But we gave it an update in January 2020.

The Shlayer Mac Trojan is a very dangerous threat to all Mac computers as it can install itself silently and lead to data theft. Active infections can be made without any apparent symptoms and depending on the specific hacker instructions different actions can take place. This is the reason why affected users should remove it immediately.

Threat Summary

Name Shlayer Mac Trojan
Type Mac OS Adware
Short Description The Shlayer Mac Trojan installs various malware on the target computers.
Symptoms The victims may not experience any apparent signs of infection.
Distribution Method Emails, infected software installers and other methods.
Detection Tool See If Your System Has Been Affected by malware

Download

Malware Removal Tool

User Experience Join Our Forum to Discuss Shlayer Mac Trojan.

In the end of January 2020 statistics about the known Shlayer Mac Trojan infections became available. According to the available information the majority of infections are located in the United States and India. The distribution of the threat has been done via a sophisticated network of sites that include scripts and redirects to the threat. Two distinct strategies have been used:

  • Legitimate Site Infections — The hackers have been found to load malicious ads on legitimate sites, as well as various scripts that will deliver the Shlayer Mac Trojan. This is often done by using fake or stolen profiles and posting comments, public and private messages via social networks, chat rooms, forums and other community sites.
  • Virus Delivery Web Tactics — The hackers can “push” the Shlayer Mac Trojan by creating numerous fake company, service and product landing pages. They can be hosted on similar sounding domain names to legitimate and well-known sites and can be designed to include rich contents and design. By including self-signed or stolen security certificates and other elements many visitors may not be able to differentiate them from the real and safe domains.

The malvertising campaigns are done by using several sophisticated tactics — they include the insertion of illicit ads onto different platforms. The security analyses which are posted by several vendors shows that infections are also possible by the deployment of browser hijackers. They are dangerous extensions made for the most popular web browsers which are frequently used by desktop users. The dangerous plugins are uploaded both to the official repositories and various hacker-controlled pages, download portals and other places where the users can acquire the infection. To manipulate the prospective victims into downloading them the hijackers the criminals will post elaborate descriptions that promise new feature additions, optimizations and other benefits.

A recent virus campaign statistics of the Mac malware shows that the Shlayer Mac Trojan is responsible for a large part of infections for 2019. This particular Trojan accounts for about 30% of the total threats for Apple’s operating system according to one of the reports. Ever since the first versions were released in February 2018. Several hacking groups are possibly behind the different attack campaigns which have been against individual users and company networks. This is one of the viruses that have many distinct variants — there are more than 32,000 different configuration types which have been collected so far. All of them are are controlled by special hacker-controlled servers — more than 140 ones have been used for this purpose.

The Trojan engine is capable of mostly running Bash (command line) commands as instructed by the hackers. It can hide itself from some security systems and also deploy other malware across popular types — hijackers, ransomware, common viruses and etc.

Shlayer Mac Trojan

A new update of the Shlayer Mac Trojan has been recently discovered by security updates. The new version of the threat is being spread across the Internet using multiple methods however one of the most frequent ones is an installer or updater for the Adobe Flash Plugin. Links to it and download code are found on hijacker sites, hacked pages and email phishing messages.

It has been confirmed that the new Shlayer Mac Trojan affects all versions from 10.10.5 to 10.14.3. It can be really hard to detect using an anti-virus or anti-malware program as the threats employ multiple layers of obfuscation. The code analysis also reveals that it contains the functionality to detect and bypass active security software.

As soon as the intrusion is started the built-in malware code will start. Depending on the local conditions or hacker-instructions various actions will take place. One of the most common ones is the acessing of sensitive data including personal information about the users. The new version of the Shlayer Mac Trojan will also generate an unique ID for each infected host.

This is followed a privilege escalation which will deliver a secondary payload. This means that the Trojan can be used both to install other threats to the already compromised hosts and also to spy on the victims in real-time. Other names that the malware is also known include the following:

  • Trojan.Mac.Shlayer.f
  • Trojan.OSX.Shlayer-2
  • Trojan Mac Shlayer
  • OSX/Shlayer

Shlayer Mac Trojan — How Did I Get It

The Shlayer Mac Trojan is delivered through a complex delivery campaign through malicious advertising. The security analysis reveals that the detected samples are distributed via advanced malvertising payloads.

In this particular case the culprit is a malicious browser extension which is hosted on hacker-controlled sites. The dangerous code is disguised as an Adobe Flash Player installer. This type of attack behavior can be embedded in several different sources of infection besides the malicious sites:

  • Email Messages — The criminals can additionally use phishing tactics that impersonate legitimate companies and services that the users might be using. By falling victim to their body contents or any attached files the fake Adobe Flash Player file will be downloaded and started onto their computers.
  • File Sharing Networks — The payload files can be shared on networks like BitTorrent where such programs are frequently uploaded.
  • Malicious Documents — The Adobe Flash Player installer can be embedded in documents made by the criminals. All of the popular file formats can be affected: text files, presentations, databases and spreadsheets. The built-in contents can link to the dangerous files. The other technique is the automatic start of the file by inserting the required scripts into them. When the document files are opened a prompt will be launched asking the users to enable them. The reason quoted will be to correctly view the document.

Not only is the Adobe Flash Player install a malicious carrier, but also an image that conceals the steganography malware — the virus code will be started as soon as it is opened in the browser window. As the campaign is deemed very large it is estimated that as many as 5MM visitors may have been targeted with it.

The malvertising campaign will deliver the payload carrier which starts the hidden code leading to the Shlayer Mac Trojan installation.

Following the malicious sites and script redirects the victims can also be directed to several ad campaign landing pages. They will deliver another set of malicious application installers, depending on the campaigns. Some of the examples include the following malware copies:

  • Update Flash Now!
  • Windows 10 PC Repair

Shlayer Mac Trojan — Full Description

Upon launching the Shlayer Mac Trojan code the first part of the infection will commence — a shell script decrypting a file found in the Application Resources directory. This malicious file is deployed there in order to hide its appearance from common user locations such as their home folder.

This will start a sequence of a several stage delivery Trojan, including the unpacking of a password-protected ZIP archive containing further malware scripts. The Shlayer Mac Trojan at the moment is configured to lead to other infections. However given its complex modular design it can easily be used for other malicious purposes, including the following:

  • Information Harvesting — The engine can be used to harvest data that can be configured to extract both machine metrics and user information. The first category is used to generate an unique ID that is assigned to each individual machine. This is done via an algorithm that uses list of installed hardware components, user settings and other operating system metrics. It can also directly expose the identity of the victims by looking out for strings that can reveal their name, address, phone number, location and any stored account credentials.
  • System Changes — To facilitate further infections the payload code can make various changes to the compromised machines — configuration files, operating system environment values and user settings.
  • Boot Options Modifications — By accessing the Mac OS computers settings the Shlayer Trojan can set itself or the other deployed payloads to automatically start when the computer is powered on.
  • Additional Payload Delivery — It can be used to deliver other threats to the computers such as miners and ransomware.

Future updates to the Shlayer Mac Trojan can deploy all kinds of other modules.

Avatar

Martin Beltov

Martin graduated with a degree in Publishing from Sofia University. As a cyber security enthusiast he enjoys writing about the latest threats and mechanisms of intrusion.

More Posts

Follow Me:
Twitter

OFFER
REMOVE IT NOW (MAC)
with SpyHunter for Mac
Shlayer Mac Trojan may remain persistent on your system and may re-infect it. We recommend you to download SpyHunter for Mac and run free scan to remove all virus files on your Mac. This saves you hours of time and effort compared to doing the removal yourself.
Free Remover allows you, subject to a 48-hour waiting period, one remediation and removal for results found. Read EULA and Privacy Policy

Preparation Phase:

Before starting to follow the steps below, be advised that you should first do the following preparations:

  • Backup your files in case the worst happens.
  • Make sure to have a device with these instructions on standy.
  • Arm yourself with patience.

Step 1: Uninstall Shlayer Mac Trojan and remove related files and objects

OFFER
Manual Removal Usually Takes Time and You Risk Damaging Your Files If Not Careful!
We Recommend To Scan Your Mac with SpyHunter for Mac
Keep in mind, that SpyHunter for Mac needs to purchased to remove the malware threats. Click on the corresponding links to check SpyHunter’s EULA and Privacy Policy


1. Hit the ⇧+⌘+U keys to open Utilities. Another way is to click on “Go” and then click “Utilities”, like the image below shows:


2. Find Activity Monitor and double-click it:


3. In the Activity Monitor look for any suspicious processes, belonging or related to Shlayer Mac Trojan:

Tip: To quit a process completely, choose the “Force Quit” option.


4. Click on the "Go" button again, but this time select Applications. Another way is with the ⇧+⌘+A buttons.


5. In the Applications menu, look for any suspicious app or an app with a name, similar or identical to Shlayer Mac Trojan. If you find it, right-click on the app and select “Move to Trash”.


6. Select Accounts, after which click on the Login Items preference. Your Mac will then show you a list of items that start automatically when you log in. Look for any suspicious apps identical or similar to Shlayer Mac Trojan. Check the app you want to stop from running automatically and then select on the Minus (“-“) icon to hide it.


7. Remove any left-over files that might be related to this threat manually by following the sub-steps below:

  • Go to Finder.
  • In the search bar type the name of the app that you want to remove.
  • Above the search bar change the two drop down menus to “System Files” and “Are Included” so that you can see all of the files associated with the application you want to remove. Bear in mind that some of the files may not be related to the app so be very careful which files you delete.
  • If all of the files are related, hold the ⌘+A buttons to select them and then drive them to “Trash”.

In case you cannot remove Shlayer Mac Trojan via Step 1 above:

In case you cannot find the virus files and objects in your Applications or other places we have shown above, you can manually look for them in the Libraries of your Mac. But before doing this, please read the disclaimer below:

Disclaimer! If you are about to tamper with Library files on Mac, be sure to know the name of the virus file, because if you delete the wrong file, it may cause irreversible damage to your MacOS. Continue on your own responsibility!

1. Click on "Go" and Then "Go to Folder" as shown underneath:

2. Type in "/Library/LauchAgents/" and click Ok:

3. Delete all of the virus files that have similar or the same name as Shlayer Mac Trojan. If you believe there is no such file, do not delete anything.

You can repeat the same procedure with the following other Library directories:

→ ~/Library/LaunchAgents
/Library/LaunchDaemons

Tip: ~ is there on purpose, because it leads to more LaunchAgents.


Step 2: Remove Shlayer Mac Trojan – related extensions from Safari / Chrome / Firefox

Remove an extension from Safari and reset it.Remove a toolbar from Google Chrome Remove a toolbar from Mozilla Firefox

1. Start Safari

2. After hovering your mouse cursor to the top of the screen, click on the Safari text to open its drop down menu.

3. From the menu, click on "Preferences"

stf-safari preferences

4. After that, select the 'Extensions' Tab

stf-safari-extensions

5. Click once on the extension you want to remove.

6. Click 'Uninstall'

stf-safari uninstall

A pop-up window will appear asking for confirmation to uninstall the extension. Select 'Uninstall' again, and the Shlayer Mac Trojan will be removed.

How to Reset Safari
IMPORTANT: Before resetting Safari make sure you back up all your saved passwords within the browser in case you forget them.

Start Safari and then click on the gear leaver icon.

Click the Reset Safari button and you will reset the browser.

1. Start Google Chrome and open the drop menu

2. Move the cursor over "Tools" and then from the extended menu choose "Extensions"

3. From the opened "Extensions" menu locate the add-on and click on the garbage bin icon on the right of it.

4. After the extension is removed, restart Google Chrome by closing it from the red "X" in the top right corner and start it again.


1. Start Mozilla Firefox. Open the menu window

2. Select the "Add-ons" icon from the menu.

3. Select the Extension and click "Remove"

4. After the extension is removed, restart Mozilla Firefox by closing it from the red "X" in the top right corner and start it again.


Step 3: Scan for and remove Shlayer Mac Trojan files from your Mac

When you are facing problems on your Mac as a result of unwanted scripts and programs such as Shlayer Mac Trojan, the recommended way of eliminating the threat is by using an anti-malware program. SpyHunter for Mac offers advanced security features along with other modules that will improve your Mac’s security and protect it in the future.


Click the button below below to download SpyHunter for Mac and scan for Shlayer Mac Trojan:


Download

SpyHunter for Mac




Shlayer Mac Trojan FAQ

What is Shlayer Mac Trojan on your Mac?

The Shlayer Mac Trojan threat is a potentially unwanted app or likely a Mac virus. It may slow your Mac down siginficantly and display advertisements. The main idea is for your information to likely get stolen or more ads to appear on your Mac.

The creators of such unwanted apps work with pay-per-click schemes to get your Mac to visit risky or different types of websites that may generate them funds. This is why they do not even care what types of websites show up on the ads. This makes their unwanted software indirectly risky for your MacOS.

Can my Mac get a virus?

Yes. As much as any other device, Apple computers do get viruses. Apple devices may not be a frequent target by malware authors, but rest assured that the following Apple devices can become infected with a virus:

  • iMac
  • Mac Mini
  • Macbook Air
  • Macbook Pro
  • iPhone
  • iPad

What are the symptoms of Shlayer Mac Trojan on your Mac?

There are several symptoms to look for when this particular threat and also most Mac threats in general are active:

Symptom #1: Your Mac may become slow and has poor performance in general.

Symtpom #2: You have toolbars, add-ons or extensions on your web browsers that you don't remember adding.

Symptom #3: You see all types of ads, like ad-supported search results, pop-ups and redirects to randomly appear.

Symptom #4: You see installed apps on your Mac running automatically and you do not remember installing them.

Symptom #5: You see suspicious processes running in your Mac's Activity Monitor.

If you see one or more of those symptoms, then security experts reccomend that you check your Mac for viruses.

What types of Mac threats are there?

According to most malware researchers and cyber-security experts, the threats that can currently infect your Mac can be the following types:

  • Rogue Antivirus programs.
  • Adware and hijackers.
  • Trojan horses and other spyware.
  • Ransomware and screen-lockers.
  • Cryptocurrency miner malware.

What to do if I have a Mac virus, like Shlayer Mac Trojan?

Do not panic! You can easily get rid of most Mac threats by firstly isolating them and then removing them. One reccomended way to do that is by using a reputable malware removal software that can take care of the removal automatically for you. There are many Mac anti-malware apps out there that you can choose from. SpyHunter for Mac is one of the reccomended Mac anti-malware apps, that can scan for free and detect any viruses, tracking cookies and unwanted adware apps plus take care of them quickly. This saves time for manual removal that you would otherwise have to do.

How to secure my passwords and other data from Shlayer Mac Trojan?

With few simple actions. First and foremost, it is imperative that you follow these steps:

Step 1: Find a safe computer and connect it to another network, not the one that your Mac was infected in.

Step 2: Change all of your passwords, starting from your e-mail passwords.

Step 3: Enable two-factor authentication for protection of your important accounts.

Step 4: Call your bank to change your credit card details (secret code, etc.) if you have saved your credit card for online shopping or have done online activiites with your card.

Step 5: Make sure to call your ISP (Internet provider or carrier) and ask them to change your IP address.

Step 6: Change your Wi-Fi password.

Step 7: (Optional): Make sure to scan all of the devices connected to your network for viruses and repeat these steps for them if they are affected.

Step 8: Install anti-malware software with real-time protection on every device you have.

Step 9: Try not to download software from sites you know nothing about and stay away from low-reputation websites in general.

If you follow these reccomendations, your network and Apple devices will become significantly more safe against any threats or information invasive software and be virus free and protected in the future too.

More tips you can find on our website, where you can also ask any questions and comment about your Mac problems.

Leave a Comment

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

Share on Facebook Share
Loading...
Share on Twitter Tweet
Loading...
Share on Google Plus Share
Loading...
Share on Linkedin Share
Loading...
Share on Digg Share
Share on Reddit Share
Loading...
Share on Stumbleupon Share
Loading...