01 / TRADECRAFT
2 examplesCommand reference
Execute2
EXAMPLE 01T1218
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.
COMMAND
setupugc.exe specializeEXAMPLE 02T1218
Same technique as above, but using the `auditUser` command-line option.
COMMAND
setupugc.exe auditUser02 / ON DISK
Known paths
C:\Windows\System32\setupugc.exeC:\Windows\SysWOW64\setupugc.exe03 / DEFENSIVE INTELLIGENCE
0 resourcesDetection & indicators
Indicators & detection notes
- 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.
FURTHER READING
Research & resources
COMMUNITY RESEARCH
Acknowledgements
Ang Kar Min@karminang