Poisoned Pipeline / Incidents / AS397
PyPI packages sideloaded malicious DLLs, part of a wider campaign
ReversingLabs found two malicious PyPI packages and then a larger
campaign of related packages using DLL sideloading. The packages shipped a
legitimate signed executable alongside a malicious DLL, so the payload ran under
a trusted binary's identity. Sideloading is common in Windows malware and rare
in registry packages, which is why it stood out.
Mapped techniques
supply-chain PyPI packages sideloaded malicious DLLs, part of a wider cam
Malicious packages published to PyPI.
Installs placed the sideload pair on disk.
The loader ran as a signed, trusted executable.