๐ฉโ๐ป Malicious VSCode extensions infected users with miners.
โข Extension Total researcher Yuval Ronen discovered nine VSCode extensions on Microsoft's Visual Studio Code Marketplace that pose as legitimate development tools but infect users with a Monero mining cryptominer.
https://blog.extensiontotal.com/mining-in-plain-sight-the-vs-code-extension-cryptojacking-campaign-19ca12904b59?gi=8b7e3082401f
โข Names of packages with built-in miner:
โก Discord Rich Presence for VS Code (by Mark H) - 189K installs;
โก Rojo โ Roblox Studio Sync (by evaera) โ 117 thousand installations;
โก Solidity Compiler (by VSCode Developer) - 1.3 thousand installations;
โก Claude AI (by Mark H);
โก Golang Compiler (by Mark H);
โก ChatGPT Agent for VSCode (by Mark H);
โก HTML Obfuscator (by Mark H);
โก Python Obfuscator for VSCode (by Mark H);
โก Rust Compiler for VSCode (by Mark H).
โข Thus, the extensions have been installed more than 300 thousand times since April 4.
โข If the user installed the malicious extension, a PowerShell script was downloaded to the victim's PC that performed multiple functions: disabling protection, persisting in the system, escalating privileges, and ultimately downloading a miner to the PC. The script thus created a scheduled task disguised as OnedriveStartup and added the malware to the Windows registry to ensure it would run at system startup. It then disabled services such as Windows Update and Update Medic and added its working directory to the Windows Defender exclusion list to avoid detection.
โข All necessary information was passed on to Microsoft, and the company stated that they had already removed them and the publisher had been blocked from the VS Marketplace.