VYPR

pypi · Malicious package advisory

Malware

colorbytes

GHSA-68q9-3j26-g6fv

Malicious code in colorbytes (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: kam193 (aa4677648d784f5460e80091c656719fc082e6ed9028940b407c97b0e78ff008)
Extremely obfuscated code starts when importing the module, and then downloads the next stages and configuration from pastebin. They include a whole range of infostealer activity, from exfiltrating browser files up to a keylogger and registering mouse clicks.


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2024-08-old-colorbytes


Reasons (based on the campaign):


 - obfuscation


 - Downloads and executes a remote executable.


 - crypto-related


 - infostealer

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/colorbytes/MAL-2024-9962.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/colorbytes
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/colorbytes/MAL-2024-9962.json
- https://github.com/advisories/GHSA-68q9-3j26-g6fv

Compromised versions (1)

  • = 1.0.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.