Windows: Detect Renamed ps.exe Executing netstat via cmd /c

Alerts on Windows executions of renamed PsTool-like ps.exe that include accept-eula and netstat via cmd.exe.

FreeReviewedSigma · High · v5
Product
windows
Category
process_creation
Author
Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2017-10-22
Updated
2026-07-31

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule identifies process creation where the command line contains 'ps.exe -accepteula' and also includes '-s cmd /c netstat'. Attackers may rename Sysinternals utilities to evade simplistic allowlists and then run system reconnaissance commands through cmd. Telemetry relies on Windows process creation events including the full command line.

Related detections9 linkedT1036.003 — drag to rearrange
Suspicious Renamed Tunneling Tool Executing from Windows Tasks Directory
Suspicious Renamed PowerShell Binary Execution (via process_creation)
Possible DarkGate Process Injection via iTunesHelper Spawning vbc.exe
Suspicious Renamed PowerShell Copied from System32 via Batch Loader
Suspicious Renamed PowerShell Binary Execution (via process_creation)
Renamed Autohotkey Binary
Suspicious Masqueraded Rundll32 with Mismatched Original Filename (via process_creation)
Suspicious Renamed git Binary gcmd.exe Execution (via process_creation)
Renamed Execution of a Renamed Windows System Utility (via process_creation)
Windows: Detect Renamed ps.exe Executing netstat via cmd /c
Pivot detection · T1036.003 · 9 related

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

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