Detection rules › Sigma
Potential Dropper Script Execution Via WScript/CScript
Detects wscript/cscript executions of scripts located in user directories
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution | T1059.005 Command and Scripting Interpreter: Visual Basic, T1059.007 Command and Scripting Interpreter: JavaScript |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
| Security-Auditing | 4688 | A new process has been created. |
Stages and Predicates
Stage 1: all of selection_exec
or:
Image|endswith: '\cscript.exe'
Image|endswith: '\wscript.exe'
Stage 2: all of selection_paths
or:
CommandLine|contains: ':\Temp\'
CommandLine|contains: ':\Tmp\'
CommandLine|contains: ':\Users\Public\'
CommandLine|contains: ':\Windows\Temp\'
CommandLine|contains: '\AppData\Local\Temp\'
Stage 3: all of selection_ext
or:
CommandLine|contains: .js
CommandLine|contains: .jse
CommandLine|contains: .vba
CommandLine|contains: .vbe
CommandLine|contains: .vbs
CommandLine|contains: .wsf
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|