Detectionmediumtest

Read Contents From Stdin Via Cmd.EXE

Detect the use of "<" to read and potentially execute a file via cmd.exe

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
François Hubaut, Nasreddine Bencherchali (Nextron Systems)Created Tue Mar 07241e802a-b65e-484f-88cd-c2dc10f9206dwindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection_cmd:
        - OriginalFileName: 'Cmd.Exe'
        - Image|endswith: '\cmd.exe'
    selection_cli:
        CommandLine|contains: '<'
    condition: all of selection_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Related Rules
Similar

00a4bacd-6db4-46d5-9258-a7d5ebff4003

Rule not found
Rule Metadata
Rule ID
241e802a-b65e-484f-88cd-c2dc10f9206d
Status
test
Level
medium
Type
Detection
Created
Tue Mar 07
Path
rules/windows/process_creation/proc_creation_win_cmd_stdin_redirect.yml
Raw Tags
attack.executionattack.t1059.003
View on GitHub