Malicious NuGet packages abuse MSBuild to install malware
![](https://172705.wcapt.asia/wp-content/uploads/2023/11/nuget-malware.jpg)
A new typosquatting campaign using the open-source package manager, NuGet, has been identified as potentially infecting Windows systems with malware. Packages employed in the campaign use MSBuild integration to run codes in a stealthy manner. Though this feature enhances the building and packaging process for software projects, it opens up a new vulnerability for script execution during a package’s installation. This is the first documented instance of threat actors exploiting this feature in NuGet packages.