VYPR

pypi · Malicious package advisory

Malware

dftester-pip

MAL-2024-11575

Malicious code in dftester-pip (PyPI)

Details


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

## Source: kam193 (2e23c327cc9243e5437e6b31224c6796b90399065b451269641911b1d1982483)
Example package with overwritten install command and the reverse shell


---

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-11-dftester-pip


Reasons (based on the campaign):


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


 - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

Compromised versions (1)

  • 0.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.