LIVE · cybersecurity feed
Live wire
malware

Crooks push Mac malware through fake OpenAI Codex ads

Cybercriminals are leveraging sponsored search results to distribute macOS malware, impersonating legitimate AI coding assistants like OpenAI's Codex. The campaign, identified by researchers at Cato Networks, targets developers searching for these tools, directing them to deceptive download pages that prompt the execution of malicious commands.

ZeroDay News ·

Source: The Register — Security

Cybercriminals are leveraging sponsored search results to distribute macOS malware, impersonating legitimate AI coding assistants like OpenAI's Codex. The campaign, identified by researchers at Cato Networks, targets developers searching for these tools, directing them to deceptive download pages that prompt the execution of malicious commands.

The attack begins with sponsored Google search advertisements for "Codex for macOS." These ads lead users to a convincing-looking download page hosted on Google Sites, which features authentic OpenAI branding. However, instead of providing an installer, the site instructs users to open their Terminal application and paste a provided command, presenting it as part of the installation process.

This command initiates a multi-stage malware infection. It appears to start with a legitimate npm instruction for installing Codex, but it also includes code that decodes a Base64-encoded URL. This URL fetches an attacker-controlled shell script, which is then piped into zsh. The script proceeds to download a subsequent stage, contacting the attacker's server to register the infection. Finally, it downloads a Mach-O executable to the `/tmp/helper` directory. Before launching the executable, the malware removes macOS security attributes that flag suspicious downloads, aiming to bypass system warnings.

Cato Networks confirmed that the final binaries are universal Mach-O files, compatible with both Intel-based and Apple Silicon Macs. The researchers noted significant similarities between this campaign and the Atomic macOS Stealer (AMOS), an infostealer previously disseminated through fake software downloads and malicious advertising. While Cato Networks has not definitively labeled the malware as AMOS, they highlighted numerous commonalities in the attack staging and payload construction.

The attackers have implemented measures to hinder analysis. Although victims initially land on Google Sites, the malicious content itself is loaded via an iframe from attacker-controlled infrastructure. This infrastructure performs checks, including the visitor's operating system and the referral path, to ensure that only targeted profiles receive the malicious payload. Decoy content is displayed to visitors who do not meet the attacker's criteria. While the fake site offered download buttons for both macOS and Linux, the malware chain was only observed being delivered to Mac users.

Cato Networks also discovered a similar "ClickFix" page masquerading as Anthropic's Claude Code, sharing infrastructure with the OpenAI Codex campaign. The use of sponsored search results ensures that the malicious download pages appear prominently, often above legitimate results, increasing the likelihood of developers encountering them.

malwarepatchai
ShareXLinkedInWhatsAppFacebook

More News

view all →
security

Canadian cybersecurity executive arrested in federal extortion case

A Canadian cybersecurity executive was arrested in Pennsylvania on Thursday, facing federal charges of conspiracy to commit extortion. Edward Dubrovsky, 54, a co-founder and former Chief Operating Officer of CYPFER, a firm specializing in ransomware negotiation, is charged with conspiring to threaten the confidentiality of information for extortion and conspiring to commit Hobbs Act extortion,…

breach

Criminal IP Introduces AITEM as the Next Evolution of Attack Surface Management

AI SPERA, the company behind the cyber threat intelligence platform Criminal IP, has announced AITEM (AI-Powered Threat Exposure Management), an expansion of its Attack Surface Management (ASM) offerings. AITEM aims to move beyond traditional asset discovery to provide a more comprehensive approach to understanding, prioritizing, and responding to security exposures. The platform is scheduled…

ai

AI Is Getting Really Good at Messing With Cybercriminals

Anti-cybercrime initiatives are increasingly deploying artificial intelligence to disrupt scammers by engaging them with lifelike bots, which the criminals mistake for genuine victims. This strategy aims to waste scammers' time and resources while gathering intelligence on their operations.

ransomware

FBI Arrests Ransomware Negotiation Firm Co-Founder in ShinyHunters Probe

The Federal Bureau of Investigation (FBI) has reportedly arrested Edward Dubrovsky, a co-founder of the ransomware negotiation firm Cypfer and currently associated with CyberSteward. The arrest is said to be part of the ongoing ShinyHunters investigation, specifically in connection with an incident involving FBI job applicant data.

ai

The Third-Party Agent Problem: Why Security Built for AI You Chose Misses the Agents You Didn't

A new report highlights a significant blind spot in enterprise security architectures concerning the proliferation of third-party AI agents. The forthcoming 2026 State of Agent Security Report indicates that current security models, often designed to protect AI systems directly chosen and deployed by an organization, frequently fail to account for AI capabilities embedded within third-party…

security

Insider Cyber Extortion Plot Against Industrial Firm Lands Engineer in Prison

A former core infrastructure engineer has been sentenced to prison for an attempted cyber extortion plot against an industrial firm. The engineer reportedly deleted administrative accounts and reset hundreds of user passwords, subsequently demanding a ransom of 20 Bitcoin to prevent further disruption to the company's servers.