pypi · Malicious package advisory
Malwareartifact-lab-3-package-4c04b1a2
MAL-2024-8914
Malicious code in artifact-lab-3-package-4c04b1a2 (PyPI)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (73c351156cf1e0c234b98d0e640c60c93c88c92d42109fe64cbb83dd68e82375) 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 (0d59708de6a93515ddf3dce03f6051e168f3b881c22274793c91c2d646617a51) The OpenSSF Package Analysis project identified 'artifact-lab-3-package-4c04b1a2' @ 1.0.3 (pypi) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity.
Compromised versions (13)
- 1.0.3
- 0.1.1
- 0.1
- 0.2
- 0.3
- 0.4
- 0.5
- 0.6
- 1.0.0
- 1.0.1
- 1.0.5
- 1.0.2
- 1.0.4
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.