2018-12-05 01:35:26 +01:00
|
|
|
---
|
|
|
|
Name: Mmc.exe
|
2018-12-05 01:38:17 +01:00
|
|
|
Description: Load snap-ins to locally and remotely manage Windows systems
|
2018-12-05 01:35:26 +01:00
|
|
|
Author: '@bohops'
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2018-12-04
|
2018-12-05 01:35:26 +01:00
|
|
|
Commands:
|
|
|
|
- Command: mmc.exe -Embedding c:\path\to\test.msc
|
2018-12-05 01:38:17 +01:00
|
|
|
Description: Launch a 'backgrounded' MMC process and invoke a COM payload
|
|
|
|
Usecase: Configure a snap-in to load a COM custom class (CLSID) that has been added to the registry
|
2018-12-05 01:35:26 +01:00
|
|
|
Category: Execute
|
|
|
|
Privileges: User
|
2021-11-05 19:58:26 +01:00
|
|
|
MitreID: T1218.014
|
2022-05-05 12:12:22 +02:00
|
|
|
OperatingSystem: Windows 10 (and possibly earlier versions), Windows 11
|
2021-11-15 14:19:03 +01:00
|
|
|
- Command: mmc.exe gpedit.msc
|
|
|
|
Description: Load an arbitrary payload DLL by configuring COR Profiler registry settings and launching MMC to bypass UAC.
|
|
|
|
Usecase: Modify HKCU\Environment key in Registry with COR profiler values then launch MMC to load the payload DLL.
|
|
|
|
Category: UAC Bypass
|
|
|
|
Privileges: Administrator
|
|
|
|
MitreID: T1218.014
|
2021-12-15 12:46:04 +01:00
|
|
|
OperatingSystem: Windows 10 (and possibly earlier versions), Windows 11
|
2018-12-10 14:28:12 +01:00
|
|
|
Full_Path:
|
2018-12-05 01:35:26 +01:00
|
|
|
- Path: C:\Windows\System32\mmc.exe
|
|
|
|
- Path: C:\Windows\SysWOW64\mmc.exe
|
2021-01-10 16:04:52 +01:00
|
|
|
Code_Sample:
|
2022-09-11 07:07:18 +02:00
|
|
|
- Code:
|
2018-12-05 01:35:26 +01:00
|
|
|
Detection:
|
2022-09-11 07:07:18 +02:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/08ca62cc8860f4660e945805d0dd615ce75258c1/rules/windows/process_creation/win_mmc_spawn_shell.yml
|
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/b731c2059445eef53e37232a5f3634c3473aae0c/rules/windows/file_event/sysmon_uac_bypass_dotnet_profiler.yml
|
2018-12-05 01:35:26 +01:00
|
|
|
Resources:
|
|
|
|
- Link: https://bohops.com/2018/08/18/abusing-the-com-registry-structure-part-2-loading-techniques-for-evasion-and-persistence/
|
2021-11-15 14:19:03 +01:00
|
|
|
- Link: https://offsec.almond.consulting/UAC-bypass-dotnet.html
|
2018-12-05 01:35:26 +01:00
|
|
|
Acknowledgement:
|
|
|
|
- Person: Jimmy
|
|
|
|
Handle: '@bohops'
|
2021-11-15 14:19:03 +01:00
|
|
|
- Person: clem
|
|
|
|
Handle: '@clavoillotte'
|