Full SigmaHQ catalog

Author
Aaron Herman
Rule ID
5b80cf53-3a46-4adc-960b-05ec19348d74
Collection
Deprecated
Log source
windows / process_creation
Severity
medium
Maturity
deprecated
First published
2022-10-01
Updated
2023-08-29
MITRE ATT&CK
T1059

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_lolbin:
        Image|endswith:
            - '\wscript.exe'
            - '\cscript.exe'
    selection_exetensions:
        CommandLine|contains:
            - '.js'
            - '.vbs'
            - '.vbe'
    selection_drive_path:
        CommandLine|contains: ':\'
    filter_drive_path:
        CommandLine|contains:
            - ' C:\\'
            - " 'C:\\"
            - ' "C:\\'
    filter_env_vars:
        CommandLine|contains: '%'
    filter_unc_paths:
        CommandLine|contains: ' \\\\'
    condition: all of selection_* and not 1 of filter_*
falsepositives:
    - Legitimate scripts located on other partitions such as "D:"