Fake Claude Code Install Guides Spread Amatera Infostealer in New “InstallFix” Malvertising Campaign
Cybersecurity researchers have uncovered a new malware distribution campaign in which attackers impersonate legitimate command-line installation guides for developer tools. The campaign uses a technique known as InstallFix, a variant of the ClickFix social engineering method, to trick users into executing malicious commands directly in their terminal.
The operation targets developers and technically inclined users by cloning legitimate command-line interface (CLI) installation pages and inserting malicious commands disguised as official setup instructions. Victims who follow the instructions unknowingly install the Amatera information stealer, a malware strain designed to harvest credentials and sensitive system data.
Cloned CLI Installation Pages
In the observed attacks, threat actors create convincing replicas of legitimate CLI installation guides, including pages that mimic official documentation for tools such as Claude Code. These fake pages closely resemble genuine developer documentation, including formatting, command examples, and installation instructions.
Instead of legitimate commands, however, the instructions contain malicious payloads designed to download and execute malware on the victim’s system.
Malvertising and Search Engine Manipulation
Attackers are distributing the fake installation pages through sponsored search advertisements and manipulated search results on major platforms such as Google and Bing. Users searching for installation instructions may encounter these malicious pages at the top of search results due to paid advertising placements.
Because developers often rely on quick copy-and-paste commands when installing tools, the attackers exploit the common “curl-to-bash” workflow habit where users execute installation scripts directly from the command line.
Different Payload Techniques for Windows and macOS
The attack chain varies depending on the victim’s operating system. On macOS systems, the malicious commands typically download base64-encoded payloads that are decoded and executed within the terminal environment.
For Windows users, the attackers employ a different approach. The malicious commands abuse native Windows utilities such as mshta.exe and conhost.exe to execute scripts that ultimately deploy the Amatera stealer onto the system.
By leveraging built-in system tools rather than custom binaries, the attackers attempt to bypass some security controls and reduce suspicion.
Amatera Stealer Harvests Credentials and Wallets
Once installed, the Amatera information stealer begins collecting a wide range of sensitive data from the infected machine. This includes stored browser credentials, cookies, authentication session tokens, cryptocurrency wallet data, and detailed system information.
Such data can be used to hijack online accounts, bypass multi-factor authentication sessions, or gain access to financial assets stored in cryptocurrency wallets.
Legitimate Hosting Platforms Used
One of the reasons the campaign has proven difficult to detect is the use of legitimate hosting platforms. Researchers observed malicious pages hosted on widely trusted services including Squarespace, Cloudflare Pages, GitHub, and Tencent EdgeOne.
By leveraging reputable infrastructure providers, the attackers increase the likelihood that the pages will evade automated security filters and appear legitimate to users.
Developers Urged to Avoid Sponsored Search Results
Security experts warn that developers and system administrators should avoid installing software from links found in sponsored search advertisements. Instead, users should rely on official project websites, trusted repositories, or bookmarked documentation pages when downloading development tools.
Organizations are also advised to monitor endpoint activity for unusual command execution patterns, especially those involving shell pipelines that download and execute scripts directly from remote sources.
As attackers increasingly target developers with tailored malware campaigns, the InstallFix technique highlights how small habits such as copying installation commands from search results can become powerful entry points for credential theft and system compromise.