Read Contents From Stdin Via Cmd.EXE

 Original Source: [Sigma source]
Title: Read Contents From Stdin Via Cmd.EXE
Status: test
Description:Detect the use of "<" to read and potentially execute a file via cmd.exe
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
Author: frack113, Nasreddine Bencherchali (Nextron Systems)
Date: 2023-03-07
modified:None
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