VSCode Marketplace Removes Two Extensions Deploying Early-Stage Ransomware
研究人员发现两个恶意VSCode扩展"ahban.shiba"和"ahban.cychelloworld",用于部署早期开发阶段的勒索软件。这些扩展通过PowerShell从C2服务器获取脚本并执行加密操作。攻击者通过伪装合法包和拼写欺骗增加恶意程序的可信度。 2025-3-24 11:10:0 Author: thehackernews.com(查看原文) 阅读量:3 收藏

VSCode Marketplace

Cybersecurity researchers have uncovered two malicious extensions in the Visual Studio Code (VSCode) Marketplace that are designed to deploy ransomware that's under development to its users.

The extensions, named "ahban.shiba" and "ahban.cychelloworld," have since been taken down by the marketplace maintainers.

Both the extensions, per ReversingLabs, incorporate code that's designed to invoke a PowerShell command, which then grabs a PowerShell-script payload from a command-and-control (C2) server and executes it.

Cybersecurity

The payload is suspected to be ransomware in early-stage development, only encrypting files in a folder called "testShiba" on the victim's Windows desktop.

Once the files are encrypted, the PowerShell payload displays a message, stating "Your files have been encrypted. Pay 1 ShibaCoin to ShibaWallet to recover them."

However, no other instructions or cryptocurrency wallet addresses are provided to the victims, another indication that the malware is likely under development by the threat actors.

The development comes a couple of months after the software supply chain security firm flagged several malicious extensions, some of which masqueraded as Zoom, but harbored functionality to download an unknown second-stage payload from a remote server.

VSCode Marketplace

Last week, Socket detailed a malicious Maven package impersonating the scribejava-core OAuth library that secretly harvests and exfiltrates OAuth credentials on the fifteenth day of each month, highlighting a time-based trigger mechanism that's designed to evade detection.

The library was uploaded to Maven Central on January 25, 2024. It continues to be available for download from the repository.

Cybersecurity

"Attackers used typosquatting — creating a nearly identical name to trick developers into adding the malicious package," security researcher Kush Pandya said. "Interestingly, this malicious package has six dependent packages."

"All of them are typosquatting legitimate packages but share the same groupId (io.github.leetcrunch) instead of the real namespace (com.github.scribejava)."

In adopting this approach, the idea is to boost the malicious library's perceived legitimacy, thereby increasing the chances that a developer would download and use it in their projects.

Found this article interesting? Follow us on Twitter and LinkedIn to read more exclusive content we post.


文章来源: https://thehackernews.com/2025/03/vscode-marketplace-removes-two.html
如有侵权请联系:admin#unsafe.sh