Researchers at cybersecurity company ESET have analyzed a previously undocumented macOS malware that appears to have been used in targeted attacks to steal valuable information from compromised systems.
The new malware, named CloudMensis, has been described by ESET as both a piece of spyware and a backdoor. Developed in Objective-C, the malware has been designed to target devices with Intel or Apple chips.
It’s unclear how the spyware is distributed, but it seems to have been involved in a relatively small number of attacks since February, which suggests that the malware has been used as part of a targeted operation, with threat actors deploying it only on the systems of certain victims.
On the other hand, CloudMensis leverages some Safari vulnerabilities discovered and patched in 2017, which suggests that the threat may have been around for several years. It’s worth noting that the malware does not appear to exploit any zero-day flaws.
The malware is deployed in a two-stage process after the attacker gains code execution and admin privileges on the system. The first-stage component is responsible for downloading and executing the main payload as a system-wide daemon.
Once deployed on a Mac, CloudMensis can collect a wide range of information, including documents, screenshots, and email attachments. The malware accepts 39 commands, including for listing running processes, running shell commands, and downloading and executing arbitrary files.
Its operators control the malware and exfiltrate data using cloud services such as pCloud, Yandex Disk and Dropbox.
In order to be able to capture the victim’s screen, log keyboard events and scan storage for interesting documents, the spyware attempts to bypass a system named TCC (Transparency, Consent and Control), which prompts the user when an application tries to access certain functions.
According to ESET, CloudMensis uses two techniques to bypass TCC, including through the exploitation of a vulnerability discovered in 2020 (CVE-2020–9934).
“The general quality of the code and lack of obfuscation shows the authors may not be very familiar with Mac development and are not so advanced. Nonetheless a lot of resources were put into making CloudMensis a powerful spying tool and a menace to potential targets,” ESET researchers said.
Apple is working on making it more difficult to attack its products. The tech giant recently announced an operating system Lockdown Mode that should provide extra protection to iOS, iPadOS and macOS users against state-sponsored mercenary spyware.
New macOS malware continues to emerge. Eight new malware families emerged in 2021, including ElectroRAT, SilverSparrow, XcodeSpy, ElectrumStealer, WildPressure, XLoader, ZuRu, and CDDS (aka MacMa).
Related: Repurposing Mac Malware Not Difficult, Researcher Shows
Related: Several New Mac Malware Families Attributed to North Korean Hackers
Related: New XcodeSpy Mac Malware Targets Software Developers

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.
More from Eduard Kovacs
- OpenSSL 1.1.1 Nears End of Life: Security Updates Only Until September 2023
- Google Links More iOS, Android Zero-Day Exploits to Spyware Vendors
- ChatGPT Data Breach Confirmed as Security Firm Warns of Vulnerable Component Exploitation
- Thousands Access Fake DDoS-for-Hire Websites Set Up by UK Police
- Intel Boasts Attack Surface Reduction With New 13th Gen Core vPro Platform
- Dole Says Employee Information Compromised in Ransomware Attack
- High-Severity Vulnerabilities Found in WellinTech Industrial Data Historian
- CISA Expands Cybersecurity Committee, Updates Baseline Security Goals
Latest News
- Musk, Scientists Call for Halt to AI Race Sparked by ChatGPT
- Malware Hunters Spot Supply Chain Attack Hitting 3CX Desktop App
- LeapXpert Banks $22M Funding to Secure Corporate Messaging With Consumer Apps
- Blockchain Security Firm True I/O Raises $9 Million
- Spera Banks $10 Million to Tackle Identity and Access Sprawl
- OpenAI Patches Account Takeover Vulnerabilities in ChatGPT
- OpenSSL 1.1.1 Nears End of Life: Security Updates Only Until September 2023
- New Wi-Fi Attack Allows Traffic Interception, Security Bypass
