Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
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:"