Sigma rule: Scripting/CommandLine Process Spawned Regsvr32
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-19577d2a1d70, updated 2023-05-26T00:00:00.000Z.
Rule
- Title
- Scripting/CommandLine Process Spawned Regsvr32
- Status
- test
- Level
- medium
- Author
- Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-05-26
- File
- rules/windows/process_creation/proc_creation_win_regsvr32_susp_parent.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects various command line and scripting engines/processes such as "PowerShell", "Wscript", "Cmd", etc. spawning a "regsvr32" instance.
Log source
- product
- windows
- category
- process_creation
Detection
selection:
ParentImage|endswith:
- '\cmd.exe'
- '\cscript.exe'
- '\mshta.exe'
- '\powershell_ise.exe'
- '\powershell.exe'
- '\pwsh.exe'
- '\wscript.exe'
Image|endswith: '\regsvr32.exe'
filter_main_rpcproxy:
ParentImage: C:\Windows\System32\cmd.exe
CommandLine|endswith: ' /s C:\Windows\System32\RpcProxy\RpcProxy.dll'
condition: selection and not 1 of filter_main_*False positives (as the rule lists them)
- Legitimate ".bat", ".hta", ".ps1" or ".vbs" scripts leverage legitimately often. Apply additional filter and exclusions as necessary
- Some legitimate Windows services
Tags
- attack.stealth
- attack.t1218.010
MITRE ATT&CK ids this rule names
Related rules
References
- https://web.archive.org/web/20171001085340/https://subt0x10.blogspot.com/2017/04/bypass-application-whitelisting-script.html
- https://app.any.run/tasks/34221348-072d-4b70-93f3-aa71f6ebecad/
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_regsvr32_susp_parent.yml
Sources and licences
SigmaHQ
"Scripting/CommandLine Process Spawned Regsvr32" by Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_regsvr32_susp_parent.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: Scripting/CommandLine Process Spawned Regsvr32",
entity page, dataset version ref-19577d2a1d70, updated 2023-05-26T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/ab37a6ec-6068-432b-a64e-2c7bf95b1d22 (accessed 2026-11-03).
Underlying source: SigmaHQ rule ab37a6ec-6068-432b-a64e-2c7bf95b1d22, 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.