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
Malicious Regsvr32 ShellExec_RunDLL Proxy Execution (via process_creation)
Suspicious DLL Execution via Regsvr32 DllInstall of dat File
Malicious Xctdoor XcLoader Execution via Regsvr32 AppX Path Abuse (via process_creation)
Malicious Office Application Loading a User-Path DLL via Regsvr32 or Rundll32 (via process_creation)
Masquerading SSLoad PhantomLoader DLL Execution via Regsvr32 Silent Load from AppData (via process_creation)
Malicious Kimsuky AlphaSeed Payload Execution via Regsvr32 Loading edge dat (via process_creation)
Malicious Regsvr32 Executing DLL From Windows Temp
HttpSpy Payload Registration via Regsvr32 of Non-DLL File (via process_creation)
Malicious regsvr32 Scriptlet Execution via scrobj.dll
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.