Skip to content
securitytabs

Updated

13 malicious NuGet packages target .NET developers via fake job tests

Attackers published 13 booby-trapped code packages aimed at Windows software developers, disguised as a take-home job assessment. Developers who installed them may have given attackers access to their machines.

Malicious NuGet packages target developers through a fake job test
Malicious NuGet packages target developers through a fake job test

What's new

TimelineWhat should my organization do?

What happened

Socket's Threat Research Team says it identified 13 malicious packages on NuGet, the package repository for .NET software, from an operation that uses fake job "Home Assessment" projects to target Windows .NET developers. [1]

Socket says most of the packages pose as WinUI 3 and WPF button controls, which are user-interface components for Windows applications. Socket researcher Kush Pandya says that in the versions analyzed, building or running a project triggers the malicious behavior. [1][2]

Impact

Researchers describe a fake recruitment campaign that spreads malware and gives attackers access to developers' machines. The coverage reviewed does not say how many developers downloaded the packages or who is behind the operation. [3][2]

Timeline

  1. Socket's technical write-up said building or running an assessment project triggers the malicious behavior. [2]

  2. Researchers described the campaign as a fake recruitment scheme that gives attackers access to developers' machines. [3]

  3. Socket published research identifying 13 malicious NuGet packages tied to fake job assessments. [1]

Business ActionWhat this means inside your organization, and what to do about it, by company size.

Small business

No dedicated security staff; relies on providers

What to know

Small firms that hire or contract .NET developers could be exposed if a developer runs a project from an unknown recruiter. Socket describes the lure as a take-home job assessment. [1]

What to do

  1. Ask any developers or contractors whether they have run take-home assessment projects from recruiters. [1][2]
  2. Ask them whether those projects used unfamiliar WinUI 3 or WPF button-control packages. [1]

Mid-size company

A small IT or security team

What to know

Socket says building or running an assessment project can trigger the malicious behavior, so a developer workstation can be compromised without any obvious sign. [2]

What to do

  1. Check developer projects and dependency lists for the packages named in Socket's research. [1]
  2. Treat a machine that built or ran such a project as potentially compromised and investigate it. [3]

Large enterprise

A security operations team

What to know

The campaign reportedly gives attackers access to developers' machines, which can sit close to source code and credentials. [3]

What to do

  1. Search package manifests and build logs for the 13 packages listed in Socket's write-up. [1]
  2. Review whether developers run outside recruitment assessments on corporate machines and investigate any that did. [1][3]

Sources

  1. [1]Socket Blog · Nov 23, 21:55 UTC
    13 Malicious NuGet Packages Target .NET Developers With Fake Job Assessmentscontext
  2. [2]The Hacker News · Nov 26, 03:48 UTC
    13 Malicious NuGet Packages Turn Fake .NET Job Assessments Into Malware Delivery Trapscontext
  3. [3]Dark Reading · Nov 25, 15:48 UTC
    Attackers Target .NET Developers With Poisoned Job Assessmentscontext