Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

Socket's cover illustration for its report, a cluster of dark blue package cubes on a black background with several of the cubes glowing red.
Image: Socket Threat Research (fair use), the cover art for its report on 13 malicious NuGet packages tied to fake job assessments, Nov. 23, 2026.

Threat Intel

Socket Says Fake Take-Home Coding Tests Steered .NET Developers Into Building Projects Laced With 13 Malicious NuGet Packages That Run Code After Every Build and Take Orders From GitHub

The operation began on npm in July, moved to NuGet, hid a stager in an MSBuild targets file and a downloader inside a WinUI button, and ran nearly all of its staging, command and exfiltration through GitHub and Telegram. Socket's write-up doubles as a hunting list for security teams with developers on staff.

Priya Shah, Threat IntelSingapore7 min read

SINGAPORE - The assignment looked like any other take-home test: a three to four hour WinUI 3 exercise, a starter Visual Studio solution and an instruction that the work had to be built and tested on native Windows. According to new research from the software supply chain security company Socket, building and running that project was the attack.

In a report published on Monday, Socket's Threat Research Team said it had identified 13 malicious packages on NuGet, the package registry for Microsoft's .NET ecosystem, tied to an operation that uses fake job "Home Assessment" projects to target Windows .NET developers. Most of the packages pose as WinUI 3 and WPF button controls. Depending on the version, building or running a project that uses them downloads files from GitHub, stages a DLL side-loading pair around the Windows On-Screen Keyboard, osk.exe, or downloads and runs an executable.

NuGet has removed 12 of the packages. One, WinUI.Button 1.0.0, remained listed at the time Socket published, with about 160 downloads according to the NuGet search API, a figure Socket cautions includes mirrors and scanners and is not a count of victims.

Socket, whose report was written by researcher Kush Pandya, said the operation began on npm in July 2026 and hosts its payloads on GitHub. "We have not attributed this campaign to a named threat actor," the researchers wrote.

A test built around a control candidates are told not to touch

The most recent lure Socket found is a public GitHub repository, WinUI3_Home_Assessment, created on Nov. 4 under the account stevenleedig-ux. Its README asks candidates to build a "Mini File Vault & Tracker" and sets two tasks that both revolve around a button control supplied through NuGet, FileButton.

The README is explicit about that control. "Do not alter the inner workings or styles of the external FileButton itself," it says, limiting candidates to a handful of exposed properties. Socket notes that the rule steers candidates away from the control that carries the malicious runtime trigger. The starter window also pre-loads two sample entries rendered with that control, so simply opening the main window creates it.

A screenshot of the lure's README, section "4. Assessment Tasks," describing a WinUI 3 style-routing task and a path verification task, and instructing candidates not to alter the inner workings or styles of the external FileButton control.
Image: Socket Threat Research (fair use), the lure's task list, which tells candidates not to change the external FileButton control.

Socket said it could not determine how these lures reach candidates. "We could not determine how the Home Assessment lures reach candidates; we found no recruiter message, email or job post for them," the report says.

Two halves that only work together

The infection depends on two packages. The first lure commits added a Packages folder holding two bundled .nupkg files, VS_Builder.MSBuildAnalyzer 1.2.7 and VS_Builder.WinUI3Controls 1.0.7, and set RestoreAdditionalProjectSources so that NuGet restores from that folder inside the repository. Socket found that neither package has a NuGet catalog entry or the repository signature NuGet adds to every package it serves.

NuGet automatically imports a package's build/<package_id>.targets file into every project that references the package. The analyzer package's targets file defines a target that runs after every build and launches dotnet against a bundled MSBuildAnalyzer.dll. Its declared output is a file called ForceExecuteNonExistenFile.txt that nothing ever creates, so MSBuild never treats the step as up to date and runs it on every build. IgnoreExitCode and ContinueOnError keep any failure from breaking the build.

The DLL describes itself as an "MSBuild Compatibility Analyzer," lists Microsoft as its company and makes 17 decoy calls that parse a hard-coded build log and check toolset versions. Then it downloads a file from a raw.githubusercontent.com URL to %LOCALAPPDATA%\osk\OskSupport.dll and copies C:\Windows\System32\osk.exe into the same folder. The stager never runs what it writes.

That is the job of the second package. Its FileButton constructor decrypts a path, %LOCALAPPDATA%\osk\osk.exe, and starts it with a hidden window the first time the control is created. HijackLibs lists osk.exe as a Windows executable that, copied next to a malicious osksupport.dll in a user-writable folder, will run that DLL's code. Socket said it did not test the side-load and that whether a copied osk.exe starts from that folder on current Windows builds remains an open question.

"Neither package works alone," the report says. A candidate who builds the project and then runs it, as the README requires, triggers both halves.

The operators also worked around a takedown. NuGet unlisted and then deleted the VS_Builder account's packages on Nov. 2. About 39 hours later, an account called HappyOne republished the analyzer under a new name, and within about 40 minutes the lure repository had been switched to pull the HappyOne packages from NuGet. NuGet removed every HappyOne package on Nov. 6.

A button that downloads and runs an executable

The package still listed when Socket published works differently. WinUI.Button 1.0.0, published on Sept. 2 by an account named Carol-White-Super, is mostly a working calculator key. Its constructor adds one thing: a background task that requests avast.exe from a GitHub repository through the GitHub contents API, using a fine-grained access token stored in plain text in the DLL, saves it as %TEMP%\Launcher.exe and runs it. Nothing happens at install or build time; the code fires when an application opens a window containing the control.

Socket said the GitHub account behind that download returned 404 during its analysis, so the second stage could not be recovered. Because exceptions are swallowed and retries have no limit, an app built with the control keeps sending authenticated requests to the GitHub API every few seconds while it runs.

Socket's diagram titled "How the Pieces Connect," mapping five infection paths, a fake job assessment, fake axios repositories, trojanized NuGet controls, a trojanized wallet app and a ClickFix page, plus six npm packages, linked by shared owners, a git identity, email addresses, a publisher and a naming pattern.
Image: Socket Threat Research (fair use), the five infection paths and the links Socket used to tie them to one operation.

GitHub as the command server

Beyond NuGet, Socket traced the operation to two fake copies of the axios JavaScript library on GitHub that serve Windows executables at lib/env/axios.csproj, a file name that looks like part of a .NET project but begins with the MZ header of a Windows program. Their commit histories hold nine binaries, among them a PyInstaller stealer that creates a Volume Shadow Copy, zips Chrome profile folders and uploads the archives to a GitHub repository with the commit message "Backup," and a payload that reports to Telegram behind a self-signed certificate whose subject and issuer both read "Microsoft Windows Publisher."

The most developed piece is a native loader that uses a GitHub repository as two-way command and control. It refuses to run on machines with less than 4 GiB of RAM or 60 GiB of disk, on common hypervisors or alongside analysis tools such as Wireshark, x64dbg or Ghidra. On a host that passes, it writes a Base64-encoded host profile to a per-victim log1.dat file in the repository with the commit message "downloading new version," then polls for a log2.dat file, which it decrypts with AES-256-CBC, maps in memory and runs. Each new victim appears as a folder in the repository, so the operator can stage a different payload for each one.

Two hex dumps of files named lib/env/axios.csproj from the jason-code-super/axios and stevenleedig-ux/axios-http repositories, both beginning with the MZ header and the DOS stub text "This program cannot be run in DOS mode," identified as PE32+ executables for Windows.
Image: Socket Threat Research (fair use), the two "axios.csproj" files, which are Windows executables rather than MSBuild XML.

A new build of that loader turned up on Nov. 13 inside a "Crypto Wallet Analyzer" app released on GitHub by the account behind the operation's shared git identity. Socket found one place the lure was advertised: on Nov. 7, a two-day-old client account on LaborX, a freelance marketplace that pays in cryptocurrency, posted an $8,500 to $10,000 job for a C# WPF app of that name and asked for complete source code to be delivered through GitHub at each stage.

Apart from one dynamic DNS hostname on a virtual private server, which a ClickFix page hosted on GitHub Pages tells visitors to fetch through a hidden PowerShell command, Socket said it found no threat actor domain or IP address in the artifacts it analyzed. Staging, command and exfiltration ran over GitHub repositories, the GitHub contents API, GitHub Pages and the Telegram Bot API.

On attribution, Socket noted that the take-home tests resemble fake job interview operations that public reporting links to North Korea, including Contagious Interview, but said it found no indicator or code shared with any published North Korean campaign. It also pointed to a Unit 42 report on an Iranian-nexus cluster that sent a Visual Studio project disguised as a coding assessment and used GitHub command and control with an embedded token.

What security teams can hunt for

Because the infrastructure is almost entirely GitHub and Telegram, blocklists will do little. Socket's guidance leans on host and build behavior instead:

  • Alert on osk.exe running, or OskSupport.dll written, outside %WINDIR%\System32, and on osk.exe started with a hidden window by a .NET or WinUI application.
  • Alert on dotnet.exe started by MSBuild with a DLL argument inside a NuGet package lib folder, and review third-party packages that ship build or buildTransitive targets files containing Exec, especially ones that declare an output file that is never produced or set ContinueOnError.
  • Hunt for .NET apps that write executables to %TEMP%, for %TEMP%\Launcher.exe, for self-deleting batch files and for PowerShell creating Win32_ShadowCopy objects in a user session.
  • On the network, look for authenticated GitHub API requests with the User-Agent MyUpdater or from a WinHTTP client named CppHttp/1.0, GitHub contents PUT requests with the commit messages "downloading new version" or "Backup," and Telegram Bot API traffic from developer workstations and build hosts.
  • Use NuGet package source mapping to restrict which feeds projects may restore from, including folders inside a repository.

For anyone who built or ran WinUI3_Home_Assessment, a project referencing the listed packages, or CryptoWalletAnalyzer.exe, Socket's advice is to isolate the machine, check for %LOCALAPPDATA%\osk\ and %TEMP%\Launcher.exe, reimage it and then, from a clean device, rotate browser-saved passwords, session cookies and developer tokens for GitHub, package registries and cloud providers.

The broader lesson is one Socket puts in a single line for developers: "Treat a take-home project as untrusted code."

About the Author

Priya Shah

Priya Shah covers threat intelligence, intrusion analysis, and adversary tradecraft for SOCtember from Singapore.

Related stories

Threat Intel desk