Detection rules › Sigma

Potential Register_App.Vbs LOLScript Abuse

Severity
medium
Author
Austin Songer @austinsonger
Source
upstream

Detects potential abuse of the "register_app.vbs" script that is part of the Windows SDK. The script offers the capability to register new VSS/VDS Provider as a COM+ application. Attackers can use this to install malicious DLLs for persistence and execution.

MITRE ATT&CK coverage

TacticTechniques
Defense EvasionT1218 System Binary Proxy Execution

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: all of selection_img

or:
Image|endswith: '\cscript.exe'
Image|endswith: '\wscript.exe'
OriginalFileName: cscript.exe
OriginalFileName: wscript.exe

Stage 2: all of selection_cli

CommandLine|contains: '.vbs -register '

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.

FieldKindValues
CommandLinematch
  • .vbs -register
Imageends_with
  • \cscript.exe corpus 64 (sigma 64)
  • \wscript.exe corpus 64 (sigma 64)
OriginalFileNameeq
  • cscript.exe corpus 15 (sigma 15)
  • wscript.exe corpus 15 (sigma 15)