Skip to content

MAL-2024-9264 Malicious code in crustyhttp (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description

Base64-encoded commands are executed from init.py, which exfiltrate Telegram session data.


-= Per source details. Do not edit below this line.=-

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

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi crustyhttp(PyPI) = 1.3.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi crustyhttp(PyPI) = 1.3.5 No fix listed

References