Malicious Keyhunter Worker Persistence via Systemd Service

PremiumReviewedSigma · High · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-10-29
Updated
2026-10-29

ATT&CK techniques

Persistence → C2
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Defense Evasion

  6. Discovery

  7. Lateral Movement

  8. Collection

  9. Exfiltration

  10. Impact

What it detects

This rule detects command lines referencing the keyhunter-worker component used by the NATS-as-C2 campaign to harvest cloud credentials and AI API keys. The actor installs a systemd unit under a keyhunter-worker path that beacons to a NATS broker for tasking. This named artifact indicates deployment of the credential-harvesting worker for persistence.

Related detections9 linkedT1552.001 — drag to rearrange
Malicious JADEPUFFER Python Beacon via Cron
Malicious Marimo Notebook Credential File Access via Shell (via process_creation)
Suspicious Python Process Establishing PostgreSQL Command and Control Channel
Suspicious TruffleHog Execution Spawned by Bun Runtime via Process Creation
Malicious AWS Credential Exfiltration via Curl or Wget in Process Creation
Suspicious sqlite3 Access to gcloud Cached Access Token Database (via process_creation)
Suspicious AWS GetCallerIdentity From TruffleHog User Agent via Cloudtrail
Suspicious GitHub CLI Auth Token Extraction via Command Line
Suspicious Access to macOS Login Keychain by Slow Pisces (via process_creation)
Malicious Keyhunter Worker Persistence via Systemd Service
Pivot detection · T1552.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.