Sigma rule: Read Contents From Stdin Via Cmd.EXE
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-10910695b9e3, updated 2023-03-07T00:00:00.000Z.
Rule
- Title
- Read Contents From Stdin Via Cmd.EXE
- Status
- test
- Level
- medium
- Author
- frack113, Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-03-07
- File
- rules/windows/process_creation/proc_creation_win_cmd_stdin_redirect.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detect the use of "<" to read and potentially execute a file via cmd.exe
Log source
- product
- windows
- category
- process_creation
Detection
selection_cmd:
- OriginalFileName: 'Cmd.Exe'
- Image|endswith: '\cmd.exe'
selection_cli:
CommandLine|contains: '<'
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.execution
- attack.t1059.003
MITRE ATT&CK ids this rule names
Related rules
References
- 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
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_cmd_stdin_redirect.yml
Sources and licences
SigmaHQ
"Read Contents From Stdin Via Cmd.EXE" by frack113, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_cmd_stdin_redirect.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Read Contents From Stdin Via Cmd.EXE",
entity page, dataset version ref-10910695b9e3, updated 2023-03-07T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/241e802a-b65e-484f-88cd-c2dc10f9206d (accessed 2026-11-03).
Underlying source: SigmaHQ rule 241e802a-b65e-484f-88cd-c2dc10f9206d, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.