setupugc.exe
Setup Unattend Generic Command Processor used during Windows deployment.
Full path
C:\Windows\System32\setupugc.exe
C:\Windows\SysWOW64\setupugc.exeCommands
Execute binary through legitimate proxy
setupugc.exe specializeBy 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.os: Windows 10, Windows 11, Windows Server 2025
Execute binary through legitimate proxy
setupugc.exe auditUserSame technique as above, but using the
auditUsercommand-line option.os: Windows 10, Windows 11, Windows Server 2025
Detection
- IOC`setupugc.exe` spawning child processes outside of Windows Setup context. Legitimate parents are `setuphost.exe` or `setup.exe`.
- IOCRegistry writes to `HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\UnattendSettings\Setup-Unattend-Settings\RunSynchronous\` on a deployed system.
Resources
acknowledgement: Ang Kar Min @karminang