SecurityOnlineDo Son
Google Ads malware targets macOS developers with fake tools
On 19 November 2026, Cato Networks disclosed a Google Ads malware campaign aimed at macOS developers searching for Codex, Claude Code and Homebrew installers. The attack uses sponsored search ads operating under unrelated business identities to route users to fake installation pages and to ClickFix Terminal commands.
Researchers Dr Guy Waizel and Jakub Osmani showed the malicious ads appeared under verified advertiser profiles from real, unrelated businesses, with one case showing a Codex ad embedded in health-product text. The campaign reuses downstream infrastructure linked to the Atomic macOS Stealer (AMOS) delivery chain and includes separate JavaScript for Automation (JXA) and disk-image delivery paths.
Attribution remains uncertain: investigators link advertiser account hijacking and identity misuse to multiple chains rather than a single actor, though the AMOS-associated delivery system is corroborated by earlier SANS ISC work.
Infection unfolds via two main routes. The primary Claude and Codex lures present installation as a single copy-and-paste Terminal command that begins with a genuine Apple App Store URL, then decodes a hidden Base64 string to fetch and execute a remote shell script in zsh. This script derives an AES key, decrypts an AES-128-CTR container, decompresses it, and runs the loader, which downloads a native binary, strips macOS quarantine attributes, and executes it.
A separate path uses a JXA loader that profiles the host to derive a decryption key before delivering a native Mach-O payload and a counterfeit Finder app in Application Support. DayNote, from a malicious arm64 disk image, also appears, updating instructions from a GitHub repository via jsDelivr and decrypting another shell stage to fetch the final payload.
The loader then exfiltrates data and beacon telemetry to a shared endpoint, and subsequent AMOS payloads are known to harvest Keychain data, cookies, wallets and local developer files.