BoletimSecJuly 29, 2026🇵🇹Translated from Portuguese

Cybercriminals Hide Malware in Fake Claude Code Installation Command Targeting macOS Developers

Cybercriminals are hiding malware inside a fake installation command for Claude Code, targeting developers on macOS. The campaign uses sponsored advertisements and counterfeit web pages to reach users searching for legitimate setup instructions.

The attack begins when a victim searches for installation guidance and clicks a sponsored result that mimics official documentation. The fraudulent page displays a step-by-step tutorial and directs the user to copy and paste a command directly into the macOS Terminal.

The command employs obfuscation techniques, including Base64 encoding, to conceal the address of the attacker-controlled server. It also disables digital certificate validation during the connection, allowing the download to proceed without security checks.

After execution, the command retrieves MacSync, an infostealer designed to harvest sensitive data stored on macOS systems. The malware specifically targets passwords, session cookies, SSH keys, cloud service credentials, and configuration files commonly used by developers.

Stolen authentication tokens can enable attackers to access user accounts and code repositories without triggering multi-factor authentication prompts.

Users are strongly advised to install Claude Code only through official documentation and to avoid any commands that hide URLs or disable security validations. Anyone who has already run the malicious instruction should isolate the affected Mac, revoke active sessions, and change all passwords, tokens, and SSH keys from a trusted device.

Related articles

BoletimSecMalware & Botnets

Octagon Android RAT Poses as Bahrain Emergency Alert App to Steal Credentials and Establish Persistent Surveillance

A remote access trojan named Octagon targets Android devices by masquerading as the official emergency alerts application from Bahrain. The infection begins when victims download the BH-Alert.apk file from phishing websites. The malware guides users through seven steps to grant dangerous permissions while using encrypted code hidden inside a font file extension to evade static analysis. It installs a secondary component called OctagonPanel and deploys mutual-monitoring surveillance services that restart each other if terminated. Additional persistence is achieved through boot receivers, a fake Android account, and scheduled synchronization tasks every 30 minutes. The trojan abuses the Accessibility Service to record unlock patterns, PINs, and passwords while also harvesting SMS messages, contacts, call logs, and screenshots. A criminal-controlled VPN allows interception and redirection of victim traffic.

HabrMalware & Botnets

Distributed Crawler Poses as Human Visitor to Evade Analytics and Ad Filters

A detailed investigation revealed a sophisticated distributed crawler that successfully mimicked legitimate human browsing behavior across multiple unrelated websites. The crawler generated realistic events in Google Analytics while avoiding ad script loading and resource chains that would confirm genuine user sessions. Server logs showed consistent patterns of fake search engine referrers, internal navigation with fabricated Referer headers, and selective requests limited mostly to images returning 404 errors. Analysts built a graph-based detection system that correlated events across sites to expose the coordinated activity despite individual requests appearing benign. The campaign rotated browser signatures and IP addresses frequently, making single-site rate limiting ineffective. The case demonstrates how modern crawlers can exploit Measurement Protocol and incomplete bot detection to consume server resources without contributing to revenue.

HabrMalware & Botnets

Comprehensive Collection of Malware Analysis and Development Books Released for Security Researchers

A detailed roundup of professional literature covering malware development, reverse engineering, and defensive analysis has been published. The selection includes resources focused on Windows, macOS, and Android platforms. Key titles address practical techniques for building and dissecting malicious software, evasion methods, and forensic investigation. Books such as MalDev Academy and Practical Malware Analysis provide hands-on training with real-world samples and laboratory exercises. Additional volumes explore macOS-specific threats and Android malware detection using machine learning. The compilation aims to support both red team practitioners and malware analysts in deepening their technical expertise.

HabrMalware & Botnets

Bots Now Form Over Half of Global Internet Traffic in 2025, Driving API Attacks and Business Metric Distortion

Automated clients generated more than 50% of analyzed internet traffic in 2025, with malicious bots responsible for 40% of the total volume. AI-enabled automation attacks increased 12.5 times year-over-year, while daily API attacks rose 113% according to Akamai data. Simple scripts still dominate volume at 59% of bot traffic, yet sophisticated botnets exceeding 4.5 million devices now distribute activity across residential proxies and compromised endpoints. Credential stuffing, scraping, and transaction abuse continue to target business logic rather than software vulnerabilities, distorting analytics, inflating infrastructure costs, and degrading user experience. Cloudflare reports that 20% of verified bot traffic now comes from AI crawlers, blurring lines between beneficial and harmful automation. Organizations must classify bots by intent, delegation, and business impact instead of relying on IP reputation or single signals such as User-Agent strings.