Full SigmaHQ catalog

Author
Nasreddine Bencherchali (Nextron Systems), MahirAli Khan (in/mahiralikhan)
Rule ID
65e4c134-ee52-4099-9e35-5e17a4b45c62
Collection
Threat hunting
Log source
windows / process_creation
Severity
low
Maturity
test
First published
2024-08-22

Detection logic

Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.

Sigma YAML
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\cmd.exe'
        - OriginalFileName: 'Cmd.Exe'
    selection_cli:
        CommandLine|contains:
            - '/c set /p='
            - '"set /p='
            - '>>*set /p=' # To catch edge cases where the attacker passes it via a "cmd /c"
    condition: all of selection_*
falsepositives:
    - Legitimate use of the SET with the "/p" flag for user prompting. command in administrative scripts or user-generated scripts.