Back to all lessons
Awareness Lessons
last week

Fake .NET Job Assessments Weaponize NuGet Packages for Malware Delivery

Written by AI from the linked story. Not reviewed by an editor. How this works

Attackers published 13 malicious NuGet packages disguised as legitimate .NET UI components, targeting developers who unknowingly installed them during fake job assessments. The packages abused trusted package registry infrastructure to download payloads from GitHub and execute DLL side-loading attacks via the Windows on-screen keyboard binary (osk.exe). This attack exploits the implicit trust developers place in public package repositories and the pressure of a hiring context, which reduces scrutiny. It matters because a compromised developer workstation can serve as an entry point into an entire organization's codebase, CI/CD pipeline, or production systems.

Tactical Insight

Immediate actions

  • Audit all recently installed NuGet packages against known-good checksums and publisher identities before running any code from an external assessment.
  • Block outbound connections from developer workstations to untrusted GitHub repositories or unknown external hosts at the network or endpoint level.

Long-term improvements

  • Establish an internal, vetted package mirror or allow-list of approved NuGet sources so developers cannot accidentally pull from untrusted publishers.
  • Mandate code review and sandboxed execution environments for any third-party code received during recruitment or vendor engagements.
  • Integrate software composition analysis (SCA) tooling into CI/CD pipelines to flag unrecognized or newly published packages before they reach build environments.

Detection measures

  • Monitor for unusual child processes spawned by package installation steps, particularly living-off-the-land binaries like osk.exe being launched from non-standard parent processes.
  • Alert on developer machines initiating unexpected outbound HTTP/S connections to raw GitHub content endpoints or newly registered domains.

Back this up with a control

All controls and vendors

Training helps people spot this. These controls make the attack fail even on the day someone does not.