Suspicious Environment Variable Dump Piped to Base64 for CI Credential Exfil

PremiumReviewedSigma · Medium · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-09-19
Updated
2026-09-19

ATT&CK techniques

Cred Access → Exfiltration
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Impact

What it detects

This rule detects a process reading the full environment and piping it through base64 encoding to stage secrets for exfiltration as seen in CI CD pipeline abuse research by Elastic. Dumping env with null separators and double base64 encoding is a hallmark of automated credential harvesting inside build runners.

Related detections9 linkedT1552.001 — drag to rearrange
Suspicious Credential Exfiltration to webhook.site (via dns_query)
Suspicious Azure CLI Service Principal Login with Inline Secret
Suspicious Modification of Ivanti lastauthserverused.js for Credential Harvesting
Malicious MOVEit Transfer Web Shell X-siLock-Comment Header (via webserver)
Suspicious Discord Webhook Exfiltration via HTTP (via proxy)
Malicious TCC Privacy Database Access via sqlite3
Malicious Veeam Backup Credential Theft via psql Query of Credentials Table (via process_creation)
Malicious EtherRAT C2 Exfiltration Endpoints via HTTP (via proxy)
Malicious Marimo Notebook Credential File Access via Shell (via process_creation)
Suspicious Environment Variable Dump Piped to Base64 for CI Credential Exfil
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.