Sigma rule: Registry Modification Attempt Via VBScript
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-a9e0c1a38676, updated 2025-08-13T00:00:00.000Z.
Rule
- Title
- Registry Modification Attempt Via VBScript
- Status
- experimental
- Level
- medium
- Author
- Swachchhanda Shrawan Poudel (Nextron Systems)
- Date
- 2025-08-13
- File
- rules/windows/process_creation/proc_creation_win_vbscript_registry_modification.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects attempts to modify the registry using VBScript's CreateObject("Wscript.shell") and RegWrite methods via common LOLBINs.
It could be an attempt to modify the registry for persistence without using straightforward methods like regedit.exe, reg.exe, or PowerShell.
Threat Actors may use this technique to evade detection by security solutions that monitor for direct registry modifications through traditional tools.
Log source
- product
- windows
- category
- process_creation
Detection
selection:
CommandLine|contains|all:
- 'CreateObject'
- 'Wscript.shell'
- '.RegWrite'
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.persistence
- attack.execution
- attack.defense-impairment
- attack.t1112
- attack.t1059.005
MITRE ATT&CK ids this rule names
Related rules
References
- https://www.linkedin.com/posts/mauricefielenbach_livingofftheland-redteam-persistence-activity-7344801774182051843-TE00/
- https://www.nextron-systems.com/2025/07/29/detecting-the-most-popular-mitre-persistence-method-registry-run-keys-startup-folder/
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/process_creation/proc_creation_win_vbscript_registry_modification.yml
Sources and licences
SigmaHQ
"Registry Modification Attempt Via VBScript" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_vbscript_registry_modification.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: Registry Modification Attempt Via VBScript",
entity page, dataset version ref-a9e0c1a38676, updated 2025-08-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/921aa10f-2e74-4cca-9498-98f9ca4d6fdf (accessed 2026-11-03).
Underlying source: SigmaHQ rule 921aa10f-2e74-4cca-9498-98f9ca4d6fdf, 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.