pypi · Malicious package advisory
Malwarebotnetv2
GHSA-9654-h9rc-6w5w
Malicious code in botnetv2 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1` ## Source: kam193 (c81380140d3b7a9d5dddf19a386bb1fc8b9b55044fefc32997fc3d2af9969fcb) When running the module, basic information about the user and its location are collected and sent to the author. This is hidden from the user as the package prints a message suggesting it's outdated. --- Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities. Campaign: 2024-09-botnetv2 Reasons (based on the campaign): - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. - A Telegram webhook is used to send collected data. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/botnetv2/MAL-2024-11539.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/botnetv2 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/botnetv2/MAL-2024-11539.json - https://github.com/advisories/GHSA-9654-h9rc-6w5w
Compromised versions (1)
- = 0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.