Sigma rule: VBScript Payload Stored in Registry
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-b0dd8adee393, updated 2023-08-17T00:00:00.000Z.
Rule
- Title
- VBScript Payload Stored in Registry
- Status
- test
- Level
- high
- Author
- Florian Roth (Nextron Systems)
- Date
- 2021-03-05
- Modified
- 2023-08-17
- File
- rules/windows/registry/registry_set/registry_set_vbs_payload_stored.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects VBScript content stored into registry keys as seen being used by UNC2452 group
Log source
- product
- windows
- category
- registry_set
Detection
selection:
TargetObject|contains: 'Software\Microsoft\Windows\CurrentVersion'
Details|contains:
- 'vbscript:'
- 'jscript:'
- 'mshtml,'
- 'RunHTMLApplication'
- 'Execute('
- 'CreateObject'
- 'window.close'
filter:
TargetObject|contains: 'Software\Microsoft\Windows\CurrentVersion\Run'
filter_dotnet:
Image|endswith: '\msiexec.exe'
TargetObject|contains: '\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\'
Details|contains:
- '\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll'
- '<\Microsoft.mshtml,fileVersion='
- '_mshtml_dll_'
- '<\Microsoft.mshtml,culture='
condition: selection and not 1 of filter*False positives (as the rule lists them)
- Unknown
Tags
- attack.privilege-escalation
- attack.persistence
- attack.t1547.001
MITRE ATT&CK ids this rule names
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_vbs_payload_stored.yml
Sources and licences
SigmaHQ
"VBScript Payload Stored in Registry" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_vbs_payload_stored.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: VBScript Payload Stored in Registry",
entity page, dataset version ref-b0dd8adee393, updated 2023-08-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/46490193-1b22-4c29-bdd6-5bf63907216f (accessed 2026-11-03).
Underlying source: SigmaHQ rule 46490193-1b22-4c29-bdd6-5bf63907216f, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.