← All articles

NuGet malware targets .NET developers through fake jobs

NuGet malware targets .NET developers through fake jobs

NuGet malware is being used to target Windows .NET developers through a fake take-home job assessment, according to cybersecurity researchers at Socket. NuGet is the package gallery used to add reusable code to .NET projects. Socket identified 13 malicious packages that appear to provide WinUI 3 or Windows Presentation Foundation (WPF) button controls, but can download files, run programs or enable DLL sideloading, a technique that makes a malicious library load through a trusted Windows program.

The packages were WinUI.Button, VS_Builder.MSBuildAnalyzer, VS_Builder.WinUI3Controls, HappyOne.MSBuildAnalyzer, HappyOne.WinUI3Controls, Web3TotalButton, RevertButtonIcon, WinUI3IconButton, WindowsAccentColorName, SetButtonColor, InitializeCustomButton, StyledAppButton and StyledComponent. NuGet had removed all of them from its gallery when Socket reported the findings, but developers who already downloaded them may still have infected project files or payloads on their computers.

The campaign appears to have been active for months. WinUI3IconButton was first uploaded on July 23, 2026. VS_Builder.MSBuildAnalyzer and VS_Builder.WinUI3Controls were removed on November 2, 2026, and HappyOne.MSBuildAnalyzer and HappyOne.WinUI3Controls were uploaded two days later. The packages were connected to a GitHub repository called stevenleedig-ux/WinUI3_Home_Assessment, created on November 3, 2026. The repository presented three to four hours of work improving a FileButton control and exception handling. It also allowed candidates to use GitHub Copilot, ChatGPT or Claude, while warning them not to submit the whole project to an AI tool without understanding the result. Socket said it was unclear how victims were directed to the assessment.

The project file, WinUI3_Home_Assessment.csproj, referenced VS_Builder.MSBuildAnalyzer version 1.2.7 and VS_Builder.WinUI3Controls version 1.0.7. Socket said the first package, later republished as HappyOne.MSBuildAnalyzer, included an MSBuild targets file. MSBuild is the system that builds many .NET projects. The file ran a bundled DLL, or Windows library file, after every build. That DLL downloaded OskSupport.dll from GitHub into %LOCALAPPDATA%\\osk and copied the legitimate Windows On-Screen Keyboard program, osk.exe, from C:\\Windows\\System32 into the same folder. The second package then used its FileButton control to launch the copied program, causing Windows to load the malicious DLL beside it through DLL sideloading.

Other packages used different delivery paths. Creating a WUIButton control from WinUI.Button started a background routine inside WinUI.Button.dll. It used an embedded access token with the GitHub API to download avast.exe from the Carol-White-Super/cloud repository, save it as %TEMP%\\Launcher.exe and run it. RevertButtonIcon and SetButtonColor downloaded a Windows executable to the temporary folder and ran it, while InitializeCustomButton started the copy placed there by SetButtonColor. Socket linked five additional packages to the group through dependencies or the fake assessment: WinUI3IconButton from version 1.1.4, StyledAppButton, StyledComponent, WindowsAccentColorName and HappyOne.WinUI3Controls, the replacement FileButton package used by the lure.

Socket also found two fake repositories posing as the Axios JavaScript library, a commonly used component for making web requests. They were jason-code-super/axios and stevenleedig-ux/axios-http, the latter belonging to the same GitHub account as the assessment. Both were flagged as copies of a malicious Node.js package named axios-test-one. The package impersonated Axios while providing code execution and shell access, meaning it could run commands on a computer. The repositories served a Windows executable from lib/env/axios.csproj.

Their commit histories contained several other binaries. A loader named updater.exe and msedgewebview2.exe used James-White-Super/React_prj for two-way command and control, or C2, communication with an operator. A PyInstaller program, meaning a Python application packaged as a Windows executable, stole Google Chrome profile data and uploaded it to gabsantosbus-star/EngineeringRepository. A payload called WeapF sent the computer name, user name, time zone and CPU model to an attacker-controlled Telegram bot.

The gabsantosbus-star account, also called Gabriel, made the first commit in both fake Axios repositories and in a third repository, figma-share/axios-http. On November 13, 2026, it published a GitHub release called Crypto Wallet Analyzer, presented as a first-stage client deliverable that inventories eight crypto wallet extensions in Chrome profiles without making network requests. Socket found that the visible .NET application also loaded a native DLL. That DLL started a background thread, and closing the window only hid it, leaving the process running. The DLL was a new loader version using Best-Seller-Dev/dexTrader for C2. That GitHub account was no longer accessible when Socket investigated.

The same persona advertised the lure on the Web3 freelance marketplace LaborX on November 7, 2026. The listing offered $8,500 to $10,000 for a C# WPF developer to work on a lightweight Windows .NET desktop application that inventories browser wallet extensions and desktop wallet applications. The persona described itself on X as a blockchain and DeFi specialist and cryptocurrency expert based in Miami, Florida, although the account information showed Korea. The account was created in July 2026.

Socket connected axios-test-one to six npm packages published between July 14 and 23, 2026, by the accounts gsanbus, jasonsuperstar and jasonsayman: axios-test-one, telemetry-metrics, telemetry-axios, axios-native, fs-extra-core and vitest-axios. The name jasonsayman appeared designed to resemble jasonsaayman, the legitimate Axios maintainer account. Telemetry-metrics and telemetry-axios downloaded and ran a Windows executable from ThoSuperstarDev/axios-http. fs-extra-core downloaded one from jason-code-super/axios and saved it as msedgewebview2.exe, while the Axios clones pulled in those packages. ThoSuperstarDev was the former name of figma-share, which also hosted a ClickFix-style page. ClickFix is a social-engineering method that tricks people into copying commands into Windows Run. The page displayed a fake reCAPTCHA and instructed visitors to paste a supposed security token to fix a “Security Handshake Error.”

The campaign has not been attributed to a named threat actor or group. Socket said its methods resemble recruitment-themed campaigns associated with North Korea and Iran, but also reported no indicator or code shared with published Contagious Interview or other North Korean campaigns, none of BeaverTail, InvisibleFerret or OtterCookie in the recovered stages, and no publicly documented family matching the loader. Developers should therefore treat job tests as untrusted software projects, not merely documents.

Also available in: DeutschItalianoShqip