Scripting/CommandLine Process Spawned Regsvr32

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects various command line and scripting engines/processes such as "PowerShell", "Wscript", "Cmd", etc. spawning a "regsvr32" instance.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PARENTPROCESSNAME endswith "\cmd.exe,\cscript.exe,\mshta.exe,\powershell_ise.exe,\powershell.exe,\pwsh.exe,\wscript.exe" AND PROCESSNAME endswith "\regsvr32.exe") AND (PARENTPROCESSNAME != "C:\Windows\System32\cmd.exe" OR COMMANDLINE notendswith " /s C:\Windows\System32\RpcProxy\RpcProxy.dll") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)