Detectionmediumtest
Potential Dropper Script Execution Via WScript/CScript
Detects wscript/cscript executions of scripts located in user directories
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Margaritis Dimitrios, Florian Roth (Nextron Systems), oscd.community, Nasreddine Bencherchali (Nextron Systems)Created Wed Jan 16Updated Tue Jan 30cea72823-df4d-4567-950c-0b579eaf0846windows
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 Logic3 selectors
detection:
selection_exec:
Image|endswith:
- '\wscript.exe'
- '\cscript.exe'
selection_paths:
CommandLine|contains:
- ':\Temp\'
- ':\Tmp\'
- ':\Users\Public\'
- ':\Windows\Temp\'
- '\AppData\Local\Temp\'
selection_ext:
CommandLine|contains:
- '.js'
- '.jse'
- '.vba'
- '.vbe'
- '.vbs'
- '.wsf'
condition: all of selection_*False Positives
Some installers might generate a similar behavior. An initial baseline is required
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
cea72823-df4d-4567-950c-0b579eaf0846
Status
test
Level
medium
Type
Detection
Created
Wed Jan 16
Modified
Tue Jan 30
Author
Path
rules/windows/process_creation/proc_creation_win_wscript_cscript_dropper.yml
Raw Tags
attack.executionattack.t1059.005attack.t1059.007