Fake job coding tests hide malware aimed at .NET developers

Picture for this story, with the CyberUnscripted cat hidden in it
Staged picture. The blue one is ours.

Socket found 13 malicious packages across 28 versions and four publisher accounts in "Home Assessment" projects for Windows developers applying for jobs.

They sat on NuGet, .NET's package manager, mostly posing as button controls. One ran code after every build; another launched a staged program when the app created its button. The latest lure, a GitHub repository created on 4 November, set a three to four hour exercise. Building it ran the attacker's code. One payload copied Chrome's saved logins and cookies. For once, the take home test did the taking.

How candidates received the tests is unknown. Socket found no recruiter message, email or job post.

Socket calls it a very serious enterprise threat. A developer's machine holds source code, SSH keys, cloud tokens and browser sessions that have passed multifactor authentication. An attacker on that machine also has the expected IP address and location.

Discuss on TelegramAll stories

Based on reporting by Dark Reading.