Sub-technique of T1218 System Binary Proxy Execution.View on attack.mitre.org
Adversaries may abuse Regsvr32.exe to proxy execution of malicious code. Regsvr32.exe is a command-line program used to register and unregister object linking and embedding controls, including dynamic link libraries (DLLs), on Windows systems. The Regsvr32.exe binary may also be signed by Microsoft.
Malicious usage of Regsvr32.exe may avoid triggering security tools that may not monitor execution of, and modules loaded by, the regsvr32.exe process because of allowlists or false positives from Windows using regsvr32.exe for normal operations. Regsvr32.exe can also be used to specifically bypass application control using functionality to load COM scriptlets to execute DLLs under user permissions. Since Regsvr32.exe is network and proxy aware, the scripts can be loaded by passing a uniform resource locator (URL) to file on an external Web server as an argument during invocation. This method makes no changes to the Registry as the COM object is not actually registered, only executed. This variation of the technique is often referred to as a "Squiblydoo" and has been used in campaigns targeting governments.
Regsvr32.exe can also be leveraged to register a COM Object used to establish persistence via Component Object Model Hijacking.
Rules on DetectionCode tagged with T1218.010.
| Rule | Type | Risk | Data source |
|---|---|---|---|
| Detect Regsvr32 Application Control Bypass | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Malicious InProcServer32 Modification | TTP | NULL | Sysmon EventID 12, Sysmon EventID 13 |
| Regsvr32 Silent and Install Param Dll Loading | Anomaly | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Regsvr32 with Known Silent Switch Cmdline | Anomaly | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Suspicious Regsvr32 Register Suspicious Path | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Windows IOBit Unlocker Extension DLL Registration via Regsvr32 | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Windows Regsvr32 Renamed Binary | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Used by | Procedure example |
|---|---|
| GroupAPT19 | APT19 used Regsvr32 to bypass application control techniques. |
| GroupAPT32 | APT32 created a Scheduled Task/Job that used regsvr32.exe to execute a COM scriptlet that dynamically downloaded a backdoor and injected it into memory. The group has also used regsvr32 to run their backdoor. |
| GroupBlue Mockingbird | Blue Mockingbird has executed custom-compiled XMRIG miner DLLs using regsvr32.exe. |
| GroupCobalt Group | Cobalt Group has used regsvr32.exe to execute scripts. |
| GroupDeep Panda | Deep Panda has used regsvr32.exe to execute a server variant of Derusbi in victim networks. |
| GroupInception | Inception has ensured persistence at system boot by setting the value |
| GroupKimsuky | Kimsuky has executed malware with |
| GroupLeviathan | Leviathan has used regsvr32 for execution. |
| Used by | Procedure example |
|---|---|
| MalwareAppleSeed | AppleSeed can call regsvr32.exe for execution. |
| MalwareAstaroth | Astaroth can be loaded through regsvr32.exe. |
| ToolCovenant | Covenant can create SCT files for installation via `Regsvr32` to deploy new Grunt listeners. |
| MalwareDerusbi | Derusbi variants have been seen that use Registry persistence to proxy execution through regsvr32.exe. |
| MalwareDridex | Dridex can use `regsvr32.exe` to initiate malicious code. |
| MalwareEgregor | Egregor has used regsvr32.exe to execute malicious DLLs. |
| MalwareEmotet | Emotet uses RegSvr32 to execute the DLL payload. |
| MalwareEVILNUM | EVILNUM can run a remote scriptlet that drops a file and executes it via regsvr32.exe. |
| Used by | Procedure example |
|---|---|
| CampaignC0015 | During C0015, the threat actors employed code that used `regsvr32` for execution. |
| CampaignOperation Dream Job | During Operation Dream Job, Lazarus Group used `regsvr32` to execute malware. |
Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.