Skip to content
CSO Online·Indexed by this site · Originally published· Event →· Its place in the scan record →SelectedAttention79

Attackers hijack Microsoft's agent-framework package to steal Azure and CI credentials

Attackers hijack Microsoft’s agent-framework package to steal Azure and CI credentials

AI summary

Attackers briefly hijacked the distribution of Microsoft's official Agent Framework package on PyPI to deliver credential-stealing malware; the malicious versions 1.26.1 and 1.26.2 went live on November 17 and were available for less than an hour. According to OX Security's analysis, the payload runs automatically on every Python startup, collects environment variables containing keywords such as TOKEN, SECRET, AZURE and OPENAI, reads up to 60 credential files, extracts secrets from up to 300 processes, and requests identity tokens in Azure DevOps pipelines, sending data to an attacker-controlled webhook.site address. Endor Labs believes the attack mainly targeted automated build systems, and that the two malicious versions were uploaded only as wheel files; OX said the attackers appear to have hijacked the wheel file build process. According to OX's count, the package has 192,534 monthly downloads, and Endor Labs said that during that period any installation without a pinned version would pull the malicious version.

Why it was selected

The article provides the dropped files, timeline and list of rotated keys for the data-stealing payload, which teams maintaining CI and Azure pipelines can use to check their systems.

Read originalcsoonline.com