VYPR

pypi · Malicious package advisory

Malware

cobo-python

MAL-2024-12239

Malicious code in cobo-python (PyPI)

Details


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

## Source: kam193 (2f1c1c4efd134e130c04178382ff3ea318301fb18b5eb6eed696c49cf64e9ad6)
It appears to be a forgotten pentest checking typosquatting against cobo-custody package, but may also have malicious purposes. During installation, if a machine is Mac, an obfuscated code attempts to download and execute a shell script. Currently, the server does not respond.


---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.


Campaign: 2024-08-old-cobo-sectest


Reasons (based on the campaign):


 - Downloads and executes a remote executable.


 - clones-real-package


 - crypto-related


 - The package overrides the install command in setup.py to execute malicious code during installation.


 - obfuscation


 - typosquatting

Compromised versions (1)

  • 0.1

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