MAL-2024-8726 Malicious code in invokehttp (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
The init.py contains a call to execute a Base64-encoded script to download a second stage payload.
-= Per source details. Do not edit below this line.=-
Source: kam193 (e3374942a3d2de4ea1f9444223c351c0ef5356c571a08e8ddb62144f7564def0)
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
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi invokehttp(PyPI) | = 2.5.3; = 2.5.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi invokehttp(PyPI) | = 2.5.5 | No fix listed |
| pypi invokehttp(PyPI) | = 2.5.3 | No fix listed |
References
- www.virustotal.com exploit
- www.virustotal.com exploit
- bad-packages.kam193.eu