Regsvr32 Execution From Possible Suspicious Location (via process_creation)
This rule detects execution of regsvr32 where the DLL is located in a potentially anomalous location.
SigmamediumWindowsv1
sigma
regsvr32-execution-from-possible-suspicious-location-via-process-creation
title: Regsvr32 Execution From Possible Suspicious Location (via process_creation)
id: 971c7e7d-14fa-53fd-af7e-423d3a997e54
status: stable
description: This rule detects execution of regsvr32 where the DLL is located in a potentially anomalous location.
references:
- https://attack.mitre.org/techniques/T1218/010/
- 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/
author: Huntrule Team
date: 2026-07-13
tags:
- attack.stealth
- attack.t1218.010
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: '\regsvr32.exe'
- OriginalFileName: 'REGSVR32.EXE'
selection_cli:
CommandLine|contains:
- ':\ProgramData\'
- ':\Temp\'
- ':\Users\Public\'
- ':\Windows\Temp\'
- '\AppData\Local\Temp\'
- '\AppData\Roaming\'
condition: all of selection_*
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.