SettingSyncHost.exe
Host Process for Setting Synchronization
Paths
C:\Windows\System32\SettingSyncHost.exeC:\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
- Sigma: https://github.com/SigmaHQ/sigma/blob/c04bef2fbbe8beff6c7620d5d7ea6872dbe7acba/rules/windows/process_creation/proc_creation_win_lolbin_settingsynchost.yml
- IOC: SettingSyncHost.exe should not be run on a normal workstation