OSX.ZuRu is a macOS malware family distributed through trojanized versions of legitimate applications, notably terminal, remote access, and database client software. It was observed in campaigns that abused sponsored search results to lure users to counterfeit download sites serving altered application bundles. The malware modifies otherwise legitimate macOS apps to load a malicious dynamic library at startup, allowing code execution as soon as the trojanized application launches.
The implanted library acts as a first-stage loader and backdoor component. It gathers a host identifier, communicates with command-and-control infrastructure, and executes server-supplied shell commands to retrieve and run additional payloads. Reported second-stage components included a Python-based reconnaissance and theft module that surveyed the infected host and collected sensitive data such as SSH keys, keychain material, shell history, and other system information, as well as an additional payload associated with Cobalt Strike activity. This establishes OSX.ZuRu as both a delivery mechanism for follow-on tooling and a direct data-theft threat.
OSX.ZuRu has been linked to campaigns targeting macOS users in China, including Baidu users searching for popular software. Known lures included trojanized builds of iTerm2, SecureCRT, Microsoft Remote Desktop for Mac, and Navicat. Its observed behavior combines dylib-based execution hijacking, host reconnaissance, payload retrieval, command execution, and exfiltration of stolen data. The malware is notable for illustrating how macOS users can be compromised through poisoned software distribution channels rather than exploits alone.
4 distinct techniques documented for this family, organized by ATT&CK tactic.
The script copied and exfiltrated a number of items, among which were any SSH keys located on the victims’ device.
The malware came to be known as OSX.Zuru and included among its components a Python script that it dropped at /tmp/g.py .
The script copied and exfiltrated a number of items, among which were any SSH keys located on the victims’ device.
On macOS, threat actors will quietly exfiltrate session cookies, keychains, SSH keys and more as malicious processes from adware to spyware look to harvest data
16 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.