Poisoned Pipeline / Incidents / AS389

AS389 · 2024-07

PyPI packages exfiltrated developer files to an Iraqi cybercrime Telegram bot

PyPI

Checkmarx found a series of PyPI packages uploaded by the account
'dsfsdfds' whose __init__.py scanned the filesystem — the root folder and DCIM —
for .py, .php, .zip, .png, .jpg and .jpeg files, then sent paths and contents to
a Telegram bot. The bot's history ran back to 2022 with over 90,000 mostly
Arabic messages, and also operated as an underground marketplace for social
media manipulation. TeleTracker linked the operator to multiple bots and
placed them in Iraq. What looked like an isolated package was part of a
long-running criminal operation.

Mapped techniques

supply-chain PyPI packages exfiltrated developer files to an Iraqi cyberc

T0109 · Resource Development · Publish malicious artifact

Malicious packages published to PyPI.

T0156 · Exfiltration · Exfiltration over webhooks

Files and paths were posted to a Telegram bot.

T0186 · Impact · Source code leak

Developer source and photos left the machine.

Sources