Windows conhost.exe Path Traversal in Process Command Line

Detects Windows conhost.exe command lines containing '/../../' path traversal indicators.

FreeReviewedSigma · High · v2
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-06-14
Updated
2026-07-31
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