SettingSyncHost.exe

Host Process for Setting Synchronization

Paths

  • C:\Windows\System32\SettingSyncHost.exe
  • C:\Windows\SysWOW64\SettingSyncHost.exe

Commands

Execute

Execute file specified in %COMSPEC%

Use case: Can be used to evade defensive countermeasures or to hide as a persistence mechanism

Privileges: User

SettingSyncHost -LoadAndRunDiagScript {PATH:.exe}

Execute

Execute a batch script in the background (no window ever pops up) which can be subverted to running arbitrary programs by setting the current working directory to %TMP% and creating files such as reg.bat/reg.exe in that directory thereby causing them to execute instead of the ones in C:\Windows\System32.

Use case: Can be used to evade defensive countermeasures or to hide as a persistence mechanism. Additionally, effectively act as a -WindowStyle Hidden option (as there is in PowerShell) for any arbitrary batch file.

Privileges: User

SettingSyncHost -LoadAndRunDiagScriptNoCab {PATH:.bat}

Detection

Resources