Malicious NuGet packages with millions of downloads are targeting users everywhere

This sneaky new malware is targeting macOS devices without them

Cybersecurity researchers at Phylum recently discovered a malware campaign on the NuGet package manager for the .NET Framework, attempting to trick people into infecting their endpoints with a remote access trojan (RAT) called SeroXen.

The unnamed threat actors updated a malicious package called Pathoschild.Stardew.Mod.Build.Config, a typosquat of a legitimate package with a similar name: Pathoschild.Stardew.ModBuildConfig. When the package runs, it triggers a PowerShell script, which downloads a file called x.bin (which is actually a Windows Batch script). This file builds and runs another PowerShell script that ultimately provides the SeroXen RAT.