Mmc.exe
Load snap-ins to locally and remotely manage Windows systems
Full path
C:\Windows\System32\mmc.exe
C:\Windows\SysWOW64\mmc.exeCommands
Configure a snap-in to load a COM custom class (CLSID) that has been added to the registry
mmc.exe -Embedding {PATH_ABSOLUTE:.msc}Launch a ‘backgrounded’ MMC process and invoke a COM payload
os: Windows 10 (and possibly earlier versions), Windows 11
Modify HKCU\Environment key in Registry with COR profiler values then launch MMC to load the payload DLL.
mmc.exe gpedit.mscLoad an arbitrary payload DLL by configuring COR Profiler registry settings and launching MMC to bypass UAC.
os: Windows 10 (and possibly earlier versions), Windows 11
Download file from Internet
mmc.exe -Embedding {PATH_ABSOLUTE:.msc}Download and save an executable to disk
os: Windows 10 (and possibly earlier versions), Windows 11
Detection
- Sigma https://github.com/SigmaHQ/sigma/blob/c04bef2fbbe8beff6c7620d5d7ea6872dbe7acba/rules/windows/process_creation/proc_creation_win_mmc_susp_child_process.yml
- Sigma https://github.com/SigmaHQ/sigma/blob/c04bef2fbbe8beff6c7620d5d7ea6872dbe7acba/rules/windows/file/file_event/file_event_win_uac_bypass_dotnet_profiler.yml
Resources
acknowledgement: Jimmy @bohops, clem @clavoillotte, Fredrik H. Brathen