October 5, 2020 By David Bisson 2 min read

Malicious actors launched the first publicly observed attack campaign where they successfully flew under the radar of Apple’s notarization mechanism to target macOS users with Apple malware — in this case, OSX.Shlayer.

Inside the Attack Campaign

The attack campaign attracted the attention of the security community on Aug. 28, 2020, according to Objective-See.

College student and security researcher Peter Dantini noticed that when a user visited homebrew[dot]sh, a fake domain impersonating the Homebrew missing package manager for macOS and Linux, the campaign displayed a prompt for the user to install an Adobe Flash Player update after carrying them through several redirects.

In the event the user clicked the update, the campaign implemented various commands via bash to install an OSX.Shlayer payload on the victim’s computer. This threat then proceeded to install various adware payloads onto the infected machine.

Where Apple Notarization Mechanism Came In

The campaign described above wasn’t unusual at face value. It’s not the first time malicious actors used a fake Adobe Flash Player update to prey upon macOS users. It also wasn’t the first time OSX.Shlayer showed up in a digital attack.

On the contrary, OSX.Shlayer is a regular player in the Apple malware threat landscape. It’s been masquerading as an Adobe Flash Player update since Intego first spotted it in February 2018. A year later, Carbon Black’s Threat Analysis Unit (TAU) came across some new samples of the malware disguised as Adobe Flash update software. Many of those samples’ Apple Disk Images (DMGs) contained the signature of a real Apple developer and used legitimate system applications to target users of macOS versions 10.10.5 to 10.14.3.

OSX.Shlayer kept going into 2020. After being named by Kaspersky as the “most common threat on the macOS platform” in 2019, OSX.Shlayer attracted the attention of Intego in June 2020 by spreading through malicious Google search results. Some months later, SentinelOne uncovered ZShlayer, a new variant of the well-known macOS threat.

What set this threat apart was that its adware payloads were notarized by Apple. As explained on Apple’s website, the tech giant uses notarization as a means to automatically scan software for malicious content. This process helps to protect users against Apple malware and assuage their fears when running software they’ve downloaded from the Internet.

In this campaign, the malicious actors managed to get their payloads notarized via the spctl command. This enabled the payloads to run on a macOS computer without raising users’ fears.

Objective-See reported the issue to Apple on Aug. 28, 2020, and revoked the developer code-signing certificates used to sign the payloads. However, the campaign was still live, serving up new notarized payloads, on Aug. 30, 2020.

How to Defend Against Apple Malware Like OSX.Shlayer

Organizations can protect themselves against crafty malware, such as OSX.Shlayer, by largely following best practices that can help keep them safe from ransomware. They should begin by building a security-aware culture that uses ongoing awareness training to educate their employees about social engineering techniques, including the use of Adobe Flash Player malware, to target them. They also should use technical controls as part of an endpoint detection and response (EDR) strategy. These security measures will help them to monitor for suspicious activity on their endpoints and lead to Apple malware removal.

Finally, organizations need to make sure they have insight into some of the latest attack campaigns. The only way they can do that is by maintaining streams of threat intelligence on which their security teams can draw.

More from

How a new wave of deepfake-driven cybercrime targets businesses

5 min read - As deepfake attacks on businesses dominate news headlines, detection experts are gathering valuable insights into how these attacks came into being and the vulnerabilities they exploit.Between 2023 and 2024, frequent phishing and social engineering campaigns led to account hijacking and theft of assets and data, identity theft, and reputational damage to businesses across industries.Call centers of major banks and financial institutions are now overwhelmed by an onslaught of deepfake calls using voice cloning technology in efforts to break into customer…

Grandoreiro banking trojan unleashed: X-Force observing emerging global campaigns

16 min read - Since March 2024, IBM X-Force has been tracking several large-scale phishing campaigns distributing the Grandoreiro banking trojan, which is likely operated as a Malware-as-a-Service (MaaS). Analysis of the malware revealed major updates within the string decryption and domain generating algorithm (DGA), as well as the ability to use Microsoft Outlook clients on infected hosts to spread further phishing emails. The latest malware variant also specifically targets over 1500 global banks, enabling attackers to perform banking fraud in over 60 countries…

New cybersecurity sheets from CISA and NSA: An overview

4 min read - The Cybersecurity and Infrastructure Security Agency (CISA) and National Security Agency (NSA) have recently released new CSI (Cybersecurity Information) sheets aimed at providing information and guidelines to organizations on how to effectively secure their cloud environments.This new release includes a total of five CSI sheets, covering various aspects of cloud security such as threat mitigation, identity and access management, network security and more. Here's our overview of the new CSI sheets, what they address and the key takeaways from each.Implementing…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today