Suspicious Read Contents From Stdin Through Cmd.EXE (via process_creation)
This rule detects the use of "<" to read and potentially execute a file via cmd.exe
SigmamediumWindowsv1
sigma
suspicious-read-contents-from-stdin-through-cmd-exe-via-process-creation
title: Suspicious Read Contents From Stdin Through Cmd.EXE (via process_creation)
id: 7d876695-961c-56fd-ad8b-033d816902a6
status: stable
description: This rule detects the use of "<" to read and potentially execute a file via cmd.exe
references:
- https://attack.mitre.org/techniques/T1059/003/
- https://github.com/redcanaryco/atomic-red-team/blob/40b77d63808dd4f4eafb83949805636735a1fd15/atomics/T1059.003/T1059.003.md
- https://web.archive.org/web/20220306121156/https://www.x86matthew.com/view_post?id=ntdll_pipe
author: Huntrule Team
date: 2026-06-01
tags:
- attack.execution
- attack.t1059.003
logsource:
category: process_creation
product: windows
detection:
selection_cmd:
- OriginalFileName: 'Cmd.Exe'
- Image|endswith: '\cmd.exe'
selection_cli:
CommandLine|contains: '<'
condition: all of selection_*
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.