.. /setupugc.exe
Star

Execute (CMD, Registry Change)

Setup Unattend Generic Command Processor used during Windows deployment.

Paths:

Resources:

Acknowledgements:

Detections:

Execute

  1. 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.

    setupugc.exe specialize
    Use case

    Execute binary through legitimate proxy

    Privileges required
    Administrator
    Operating systems
    Windows 10, Windows 11, Windows Server 2025
    ATT&CK® technique
    T1218
    Tags
    Execute: CMD
    Requires: Registry Change
  2. Same technique as above, but using the auditUser command-line option.

    setupugc.exe auditUser
    Use case

    Execute binary through legitimate proxy

    Privileges required
    Administrator
    Operating systems
    Windows 10, Windows 11, Windows Server 2025
    ATT&CK® technique
    T1218
    Tags
    Execute: CMD
    Requires: Registry Change