Catalog LOLBAS

LOL · Binary

SettingSyncHost.exe

2 techniques WindowsLOLBAS GPL-3.0

Execute

Execution Windows

Execute file specified in %COMSPEC%

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

SettingSyncHost -LoadAndRunDiagScript {PATH:.exe}
Context
user
Native
Execute
MITRE
T1218

Execute

Execution Windows

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

SettingSyncHost -LoadAndRunDiagScriptNoCab {PATH:.bat}
Context
user
Native
Execute
MITRE
T1218