pypi · Malicious package advisory
Malwarecrustyhttp
GHSA-97m2-5c7j-7xvr
Malicious code in crustyhttp (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.3.5` Base64-encoded commands are executed from __init__.py, which exfiltrate Telegram session data.## Source: kam193 (806b071147126057a7de9b570f85f694ad06923e4d580ddd5274731b5343f556) In the invokehttp, the __init__.py contains obfuscated code attempting to download and run one of two executables. They are identified as malicious by VT and the tracks of Telegram URLs suggests attempting data exfiltration. The package itself looks like a copy of requests. In flophttp, using exactly the same obfuscation method, the infostealer is directly embeded into package code and exfiltrates data to a telegram channel. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2024-08-invokehttp Reasons (based on the campaign): - infostealer - Downloads and executes a remote executable. - obfuscation - clones-real-package --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/crustyhttp/MAL-2024-9264.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/crustyhttp - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/crustyhttp/MAL-2024-9264.json - https://www.virustotal.com/gui/file/6c2fb04f81fe0631d6765720af92aa9969f10766281fbc32b6f77889b50b87cd - https://www.virustotal.com/gui/file/84ccffd89ef262ce8475801bfc751fec381ee613f38f78b1c0974716ad32bab8 - https://github.com/advisories/GHSA-97m2-5c7j-7xvr
Compromised versions (1)
- = 1.3.5
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.