MacSync Malware Uses iCloud Calendar Commands to Steal Data from Mac Users

· Original article ↗

Summary

Kaspersky details a MacSync campaign distributed through a fake crypto wallet app. The malware uses multi-stage loaders, steals credentials and other data, and installs a persistent backdoor disguised as Finder.

Key points

  • The campaign spread through the fake Toria crypto wallet app, promoted on X and Telegram.
  • One infection chain used commands hidden after the DESCRIPTION: line in a public iCloud calendar event.
  • The stealer targets browser data, passwords, Keychain contents, crypto wallets, Telegram data, developer configurations, and command history.
  • It uses a deceptive administrator-password prompt and the PAM API to verify passwords.
  • An Objective-C backdoor masquerades as Finder and persists through a LaunchAgent, shell configuration, and Git hooks.
  • Kaspersky says the backdoor can run attacker-supplied AppleScript commands; researchers could not determine what the downloaded sn_relay file does.

Article Details

Attack Vectors
  • The campaign distributed the fake crypto wallet app Toria through its own website and promotion on X and Telegram.
  • A DMG contained a compiled JXA script that decoded a shell script and passed it directly to the interpreter.
  • In another delivery chain, an app in the DMG removed its quarantine attribute, decrypted a link to a downloader script, and launched successive droppers and loaders.
  • At least one downloader obtained commands from a public iCloud calendar; the commands after the DESCRIPTION: line downloaded an archive containing another app.
  • The stealer displayed a fake administrator-password prompt and a false system notice that the app was damaged.
  • The backdoor persisted through a LaunchAgent, a command added to .zshrc, and commands added to global Git hooks.
  • The backdoor ran AppleScript commands supplied by the attackers’ server, including commands to deploy a browser extension, replace the installed Ledger wallet app, collect data, and download and run a file named sn_relay.
Defensive Notes
  • Treat unexpected administrator-password prompts from apps with caution; the reported stealer used a deceptive prompt to collect credentials.
  • Review unfamiliar LaunchAgents, changes to .zshrc and global Git hooks, and unexpected restoration scripts or processes that suppress macOS notifications.
  • Investigate suspicious DMG-delivered apps, droppers, loaders, and scripts that retrieve commands from calendar content or remote servers.
  • Assess potential exposure of browser data, Keychain data, crypto wallet files, Telegram data, developer configuration files, shell history, and device credentials.

MITRE ATT&CK

People

Malware

Products

Related Articles