pypi · Malicious package advisory
Malwareartifact-lab-3-package-392c6acd
MAL-2024-8017
Malicious code in artifact-lab-3-package-392c6acd (PyPI)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (ada0f9ebcf3f190d513b34099887d36ad38579e9c5b5d2004a8f0bff5565e100) Packages showing simple variants of revshell with targets to ngrok. Most probably experiments. Later versions moved to use Burp Collaborator to exfiltrate simple data. Pentest? An artifact from some red team curse? --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2024-08-lab-artifacts-revshell Reasons (based on the campaign): - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine. - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. - The package overrides the install command in setup.py to execute malicious code during installation. ## Source: ossf-package-analysis (d4c793b07be2dd53e55879f61090ae0244bd092188ca1a1ba18a58c0de388536) The OpenSSF Package Analysis project identified 'artifact-lab-3-package-392c6acd' @ 0.1.25 (pypi) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity. - The package executes one or more commands associated with malicious behavior.
Compromised versions (24)
- 0.1.0
- 0.1.1
- 0.1.3
- 0.1.2
- 0.1.4
- 0.1.5
- 0.1.6
- 0.1.12
- 0.1.7
- 0.1.14
- 0.1.19
- 0.1.20
- 0.1.23
- 0.1.22
- 0.1.24
- 0.1.25
- 0.1.8
- 0.1.9
- 0.1.10
- 0.1.13
- 0.1.15
- 0.1.16
- 0.1.17
- 0.1.18
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.