Threaticon
Toggle sidebar

You're viewing a limited, public preview. Log in for full access.

Log in User Guide
Log in Get started
Detection Strategies DET0361 — Detecting .NET COM Registration Abuse via Regsvcs/Regasm
DET0361

Detecting .NET COM Registration Abuse via Regsvcs/Regasm

1 analytic(s) · 1 technique(s) detected

Analytics

1
AN1028 Analytic 1028
Windows

Abuse of Regsvcs.exe or Regasm.exe to execute arbitrary code embedded in .NET assemblies via [ComRegisterFunction]/[ComUnregisterFunction]. Behavioral chain: (1) Process creation of regsvcs/regasm with suspicious assembly paths/flags → (2) Assembly/DLL load inside regsvcs/regasm → (3) Registry writes to HKCR\CLSID/ProgID during COM registration → (4) Optional child process or network activity spawned by installer/registration code.

WinEventLog:Security EventCode=4688 WinEventLog:Sysmon EventCode=7 WinEventLog:Sysmon EventCode=12 WinEventLog:Sysmon EventCode=13, 14 WinEventLog:Sysmon EventCode=11 WinEventLog:PowerShell EventCode=4103, 4104, 4105, 4106 WinEventLog:Sysmon EventCode=3, 22
[AssemblyPathRegex] Environment-specific paths to flag (e.g., %TEMP%, Downloads, OneDrive, SMB shares). Helps suppress known-good installers.
[SuspiciousFlags] Arguments like /unregister (/u), /codebase, /regfile which may indicate abuse. Tune per enterprise use of regasm/regsvcs.
[ParentProcessAllowList] Legitimate parents (e.g., setup.exe, msiexec.exe). Analyst can prune false positives from Office or script hosts.
[KnownGoodAssemblies] Hashes or publisher info for approved assemblies commonly registered in the environment.
[RegistryKeyAllowList] Approved CLSIDs/ProgIDs written during sanctioned software installs.
[TimeWindow] Correlation window (e.g., 5–10 min) between file drop → regasm/regsvcs exec → registry writes → child activity.
[SignedToUnsignedTransition] Alert if Microsoft-signed regasm/regsvcs loads or triggers unsigned assemblies/children.

Detected Techniques

1

Details

MITRE ID
DET0361
STIX ID
x-mitre-detection-strategy--9c03f003-b859-42c6-b16d-c0979dfc202b
Analytics
1
Techniques Detected
1
By Tactic
Stealth
1
Leaving Threaticon

This link opens an external site that isn't part of the platform.