
Cybersecurity experts are warning about a new iteration of the ongoing GlassWorm campaign. This version uses a novel Zig dropper to discreetly infect all integrated development environments (IDEs) on a developer’s computer.
This tactic was found in an Open VSX extension named “specstudio.code-wakatime-activity-tracker,” disguised as WakaTime, a well-known tool that tracks the time programmers spend in their IDE. This extension is no longer available for download.
“The extension […] includes a Zig-compiled binary alongside its JavaScript code,” Aikido Security researcher Ilyas Makari stated in a report published this week.
“This isn’t the first time GlassWorm has used natively compiled code in extensions. However, instead of using the binary as the direct payload, it’s now used as a sneaky way to deliver the GlassWorm dropper, which then secretly infects all other IDEs it can find on the system.”
The newly discovered Microsoft Visual Studio Code (VS Code) extension closely mimics WakaTime, except for a modification in a function called “activate().” The extension installs a binary named “win.node” on Windows systems and “mac.node,” a universal Mach-O binary for systems running Apple macOS.
These Node.js native addons are shared libraries compiled in Zig, which load directly into Node’s runtime and execute outside the JavaScript sandbox, granting full access to the operating system.
Once loaded, the binary’s main purpose is to locate every IDE on the system that supports VS Code extensions. This includes Microsoft VS Code and VS Code Insiders, as well as forks like VSCodium, Positron, and various artificial intelligence (AI)-powered coding tools such as Cursor and Windsurf.
The binary then downloads a malicious VS Code extension (.VSIX) from an attacker-controlled GitHub account. This extension, named “floktokbok.autoimport,” mimics “steoates.autoimport,” a legitimate extension with over 5 million installations on the official Visual Studio Marketplace.
Finally, the downloaded .VSIX file is saved to a temporary location and silently installed into every IDE using each editor’s CLI installer. The second-stage VS Code extension functions as a dropper that avoids execution on Russian systems, communicates with the Solana blockchain to retrieve the command-and-control (C2) server address, steals sensitive data, and installs a remote access trojan (RAT), which ultimately installs an information-stealing Google Chrome extension.
Users who have installed “specstudio.code-wakatime-activity-tracker” or “floktokbok.autoimport” should assume their systems are compromised and change all their passwords and secrets.
#campaign #developer #dropper #exploits #for #glassworm #ides #infection. #news #via #widespread #zig — News
© Bulletproof Servers. All rights reserved.