Umbra Wiki technique technique/T1218.009
Back to wiki

T1218.009 — Regsvcs/Regasm

provenance: imported · ATT&CK: T1218.009

T1218.009: Regsvcs/Regasm

MITRE ATT&CK® Enterprise technique

Tactics Stealth
Platforms Windows
Permissions required
Version 3.0
Parent technique T1218

Description

Adversaries may abuse Regsvcs and Regasm to proxy execution of code through a trusted Windows utility. Regsvcs and Regasm are Windows command-line utilities that are used to register .NET Component Object Model (COM) assemblies. Both are binaries that may be digitally signed by Microsoft. (Citation: MSDN Regsvcs) (Citation: MSDN Regasm)

Both utilities may be used to bypass application control through use of attributes within the binary to specify code that should be run before registration or unregistration: <code>[ComRegisterFunction]</code> or <code>[ComUnregisterFunction]</code> respectively. The code with the registration and unregistration attributes will be executed even if the process is run under insufficient privileges and fails to execute. (Citation: LOLBAS Regsvcs)(Citation: LOLBAS Regasm)

Detection

(no detection guidance published)

Data sources

  • (none listed)

References

  • ATT&CK page: https://attack.mitre.org/techniques/T1218/009
  • ATT&CK Enterprise matrix: https://attack.mitre.org/matrices/enterprise/