2026-11-26 · Threat actor / developer supply chain · The Hacker News
Fake .NET job assessments hide malware in NuGet packages
Socket researchers have disclosed 13 malicious NuGet packages that target Windows .NET developers through fake take-home job assessments. The packages pose as ordinary WinUI 3 and WPF button controls, but building or running a project that uses them fetches payloads from GitHub and side-loads a DLL beside a legitimate Windows binary. Every listed package has since been removed from the NuGet gallery.
What happened
The packages include names such as WinUI.Button, VS_Builder.WinUI3Controls, HappyOne.MSBuildAnalyzer and Web3TotalButton. Socket traced the first upload to 23 July 2026, and the last two appeared on 4 November after earlier versions were pulled by NuGet on 2 November — the campaign ran for months without attracting attention.
The lure is a GitHub repository created on 3 November 2026 offering a three-to-four-hour “Home Assessment” on a FileButton control and exception handling. Its README even permits GitHub Copilot, ChatGPT or Claude, while warning candidates not to paste the whole project and generate a solution without understanding it. Its Visual Studio project references the malicious packages. Socket could not determine how candidates reached the repository; no recruiter message or job advert was found.
Two packages work together. An MSBuild analyzer ships a targets file that runs a bundled DLL after every build; that DLL downloads a file from GitHub to %LOCALAPPDATA%\osk\OskSupport.dll and copies C:\Windows\System32\osk.exe beside it. The button control then launches the copied binary, using DLL side-loading to execute attacker code under a trusted Microsoft filename. Dark Reading reports the chain can steal browser credentials and establish remote access to developer machines.
Three practical actions
- Treat recruitment assessments as untrusted code: run them in an isolated, disposable VM with no corporate SSO sessions or production keys, never on a primary developer workstation.
- Pin and allowlist NuGet dependencies. Review any package that ships MSBuild .targets files or post-build hooks, and alert when a new version appears from an unknown publisher.
- Hunt developer endpoints for
osk.exeoutside System32, forOskSupport.dll, and for unusual outbound GitHub downloads or new remote-access tools. Keep EDR enabled on build machines and monitor for browser-credential theft.
Our SOC and cloud-security teams can harden developer endpoints, review CI/CD build hooks and build detections for this supply-chain technique. Talk to us.
Primary reporting: The Hacker News. Corroboration: Dark Reading.
Need help with this threat?
Our SOC and incident-response team can assess your exposure and build detections.
Talk to an expert