pypi · Malicious package advisory
Malwareassaulthimars
GHSA-9v8x-9jfw-26p6
Malicious code in assaulthimars (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.3.5` ## Source: kam193 (7c588101b33f530e5b4d8504f4a9cf1353eec7356231e9f4137ab1a187b780d5) 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/assaulthimars/MAL-2024-11531.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/assaulthimars - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/assaulthimars/MAL-2024-11531.json - https://www.virustotal.com/gui/file/6c2fb04f81fe0631d6765720af92aa9969f10766281fbc32b6f77889b50b87cd - https://www.virustotal.com/gui/file/84ccffd89ef262ce8475801bfc751fec381ee613f38f78b1c0974716ad32bab8 - https://github.com/advisories/GHSA-9v8x-9jfw-26p6
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.