Catalog LOLBAS

LOL · Binary

setupugc.exe

2 techniques WindowsLOLBAS GPL-3.0

Execute

Execution Windows

By first setting a command to a specific registry under `Setup-Unattend-Settings`, e.g. via: `reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\UnattendSettings\Setup-Unattend-Settings\RunSynchronous\1" /v Path /d "{CMD}" /f`, executing the following will cause it to execute the command.

Use Execute binary through legitimate proxy

setupugc.exe specialize
Context
admin
Native
Execute
MITRE
T1218
Detection
IOC: `setupugc.exe` spawning child processes outside of Windows Setup context. Legitimate parents are `setuphost.exe` or `setup.exe`.
IOC: Registry writes to `HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\UnattendSettings\Setup-Unattend-Settings\RunSynchronous\` on a deployed system.

Execute

Execution Windows

Same technique as above, but using the `auditUser` command-line option.

Use Execute binary through legitimate proxy

setupugc.exe auditUser
Context
admin
Native
Execute
MITRE
T1218
Detection
IOC: `setupugc.exe` spawning child processes outside of Windows Setup context. Legitimate parents are `setuphost.exe` or `setup.exe`.
IOC: Registry writes to `HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\UnattendSettings\Setup-Unattend-Settings\RunSynchronous\` on a deployed system.