Malicious TeamPCP systemd User Unit Dropper via sysmon.py Persistence (via file_event)

PremiumReviewedSigma · High · v1
Product
linux
Category
file_event
Author
HuntRule
Published
2026-08-28
Updated
2026-08-28

ATT&CK techniques

Initial Access → Priv Esc
  1. Recon

  2. Resource Dev

  3. Defense Evasion

  4. Cred Access

  5. Discovery

  6. Lateral Movement

  7. Collection

  8. C2

  9. Exfiltration

  10. Impact

What it detects

This rule detects creation of a Python dropper named sysmon.py inside the per-user systemd unit directory which the TeamPCP compromise of Trivy writes on developer machines to gain persistent execution. The dropper polls an attacker C2 and downloads a follow-on payload so its presence indicates an active supply-chain implant that harvests cloud and SSH credentials.

Related detections9 linkedT1195.001 — drag to rearrange
Suspicious Python Startup .pth File Creation for Interpreter Persistence
Malicious Backdoored liblzma XZ Utils Library File via file_event
Suspicious SSH Daemon Spawning Shell via xz Backdoor (via process_creation)
Suspicious XZ Utils Backdoor Kill-Switch Environment String via process_creation
Malicious PyPI Package Installation from Gleaming Pisces Supply Chain (via process_creation)
Malicious TeamPCP LiteLLM .pth Startup Hook and Payload Dropper (via file_event)
Malicious Backdoored liblzma Loaded by sshd (CVE-2024-3094)
GitHub Audit: Dependabot Alerts and Security Updates Disabled
Windows file indicators for Octopus Scanner malware artifacts
Malicious TeamPCP systemd User Unit Dropper via sysmon.py Persistence (via file_event)
Pivot detection · T1195.001 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.