Windows conhost.exe Path Traversal in Process Command Line
Detects Windows conhost.exe command lines containing '/../../' path traversal indicators.
- Product
- windows
- Category
- process_creation
- Author
- Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2022-06-14
- Updated
- 2026-07-31
ATT&CK techniques
ExecutionRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule flags process creation events where conhost.exe appears in the parent command line and the child command line contains a path traversal sequence ('/../../'). Path traversal can indicate command/argument confusion that attackers may leverage to redirect execution or hijack arguments. Detection relies on process creation telemetry with parent and child command line fields.
Reporting behind it
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No 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.
title: Windows conhost.exe Path Traversal in Process Command Line
id: 1ae3890e-3182-4bec-a0f4-53a6d17e43c3
status: test
description: This rule flags process creation events where conhost.exe appears in the parent command line and the child command line contains a path traversal sequence ('/../../'). Path traversal can indicate command/argument confusion that attackers may leverage to redirect execution or hijack arguments. Detection relies on process creation telemetry with parent and child command line fields.
references:
- https://pentestlab.blog/2020/07/06/indirect-command-execution/
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_conhost_path_traversal.yml
author: Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2022-06-14
tags:
- attack.execution
- attack.t1059.003
logsource:
category: process_creation
product: windows
detection:
selection:
ParentCommandLine|contains: conhost
CommandLine|contains: /../../
condition: selection
falsepositives:
- Unlikely
level: high
license: DRL-1.1
related:
- id: ee5e119b-1f75-4b34-add8-3be976961e39
type: derived