PowerShell Launch With --headless From Conhost.exe on Windows

Flags headless ConHost launching PowerShell on Windows based on process name and command-line arguments.

FreeReviewedSigma · Medium · v2
Product
windows
Category
process_creation
Author
Matt Anderson (Huntress) (SigmaHQ), DRL 1.1
Published
2024-07-23
Updated
2026-07-31

ATT&CK techniques

Execution → Defense Evasion
  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. Exfiltration

  13. Impact

What it detects

This rule identifies Windows process creations where PowerShell is launched with the --headless flag from a headless ConHost (conhost.exe) process. Attackers may use headless console hosting to reduce user visibility and facilitate stealthy command execution. The detection relies on Windows process creation telemetry, matching conhost.exe execution context and CommandLine content containing both --headless and powershell.

Related detections9 linkedT1059.001 — drag to rearrange
Suspicious ClickFix Command Execution via RunMRU Registry Key
Malicious WSUS Service Spawning Command Shell via CVE-2025-59287 (via process_creation)
Malicious SharePoint w3wp Spawning Command Shell and PowerShell
Malicious IIS w3wp Worker Spawning Command Interpreter via SharePoint Web Shell
Malicious ClickFix Execution via Headless Conhost
Exchange Worker Process Spawning Command Shell via OWASSRF
Suspicious Hidden PowerShell Launched by Batch Script
Suspicious Script Host Spawning Hidden PowerShell (via process_creation)
MSSQL Server Process Spawning Command Shell via xp_cmdshell
PowerShell Launch With --headless From Conhost.exe on Windows
Pivot detection · T1059.001 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. 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.