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.
|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.|
See If Your System Has Been Affected by malware
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.
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
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.
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
1. Hit the ⇧+⌘+U keys to open Utilities. Another way is to click on “Go” and then click “Utilities”, like the image below shows:
- 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:
You can repeat the same procedure with the following other Library directories:
Tip: ~ is there on purpose, because it leads to more LaunchAgents.
Step 2: Remove Shlayer Mac Trojan – related extensions from Safari / Chrome / Firefox
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.
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:
- Mac Mini
- Macbook Air
- Macbook Pro
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.