Windows regsvr32 Execution with DLL Path in Common Temporary/Public Directories

Alert on regsvr32.exe runs whose command line points to DLLs in Temp/Public-style directories.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-05-26
Updated
2026-07-30

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Exfiltration

  14. Impact

What it detects

This rule flags process executions of regsvr32.exe where the command line indicates the DLL is located in directories commonly used for temporary or public staging, such as ProgramData, Temp, Users\Public, Windows\Temp, and AppData\Local\Temp or AppData\Roaming. Attackers may use regsvr32 to proxy execution via a DLL placed in locations that are less strictly monitored than system directories. The detection relies on Windows process creation telemetry, matching the executed binary name and correlating it with suspicious path fragments in the process command line.

Related detections9 linkedT1218.010 — drag to rearrange
Suspicious Script Host Spawning Regsvr32 via Strela Stealer JScript Loader (via process_creation)
Malicious DLL Registration via regsvr32 Loading prnfldr (via process_creation)
Suspicious Regsvr32 Execution of SafePay Loader DLL
Suspicious Scheduled Task Running Regsvr32 with Extreme Duration by StaryDobry
Malicious DynamicWrapperX Registration via regsvr32 (via process_creation)
Suspicious Run Key Persistence Executing regsvr32
Suspicious regsvr32 Registering DLL from User AppData
Malicious Regsvr32 Loading Masqueraded VPN DLL via Process Creation
Malicious Regsvr32 ShellExec_RunDLL Proxy Execution (via process_creation)
Windows regsvr32 Execution with DLL Path in Common Temporary/Public Directories
Pivot detection · T1218.010 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.