Suspicious Exfiltration of Environment File via wget POST

PremiumReviewedSigma · High · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-09-15
Updated
2026-09-15

ATT&CK techniques

Execution → Exfiltration
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Impact

What it detects

This rule detects reading a dotenv secrets file and posting its contents to a remote host using wget post-data, an exfiltration pattern observed after React2Shell RCE. Attackers grab application secrets from the .env file to pivot into connected cloud and database services. The combination of the .env path and an outbound HTTP post argument reflects deliberate credential theft rather than routine tooling.

Related detections9 linkedT1059.004 — drag to rearrange
Possible Remote Payload Download And Execution via Shell (via process_creation)
Suspicious EtherRAT Node.js Implant Background Execution via Shell (via process_creation)
Malicious EtherRAT Base64 Decoded Payload Piped To Bash via Shell (via process_creation)
Suspicious Bash Decode Chain Using curl xxd and base64 Piped to eval via Linux Shell
Malicious Download Piped to Shell via curl or wget (via process_creation)
Suspicious GobRAT Bulbature Infection Shell Scripts Execution
Malicious AWS Credential Exfiltration via Curl or Wget in Process Creation
Suspicious Base64 Decoded Payload Piped to Shell on Linux
Suspicious Netcat Reverse Shell via Named Pipe on Linux via Process Creation (via process_creation)
Suspicious Exfiltration of Environment File via wget POST
Pivot detection · T1059.004 · 9 related

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