Command Line
SettingSyncHost -LoadAndRunDiagScript anything
Description
Executes the binary file specified in environment variable %COMSPEC%. This could execute a .bat script with no visible window, see the LOLBAS reference for more information.
Risk
High
Risk Reason
This binary is not typically launched by normal users.
Fidelity
High
Fidelity Reason
This is typically a rarely used binary, if at all.
Operating Systems
Killchain Phases
References
MITRE ATT&CK TECHNIQUES
URL: https://attack.mitre.org/techniques/T1218
Description: Adversaries may bypass process and/or signature-based defenses by proxying execution of malicious content with signed, or otherwise trusted, binaries. Binaries used in this technique are often Microsoft-signed files, indicating that they have been either downloaded from Microsoft or are already native in the operating system.(Citation: LOLBAS Project) Binaries signed with trusted digital certificates can typically execute on Windows systems protected by digital signature validation. Several Microsoft signed binaries that are default on Windows installations can be used to proxy execution of other files or commands.
Similarly, on Linux systems adversaries may abuse trusted binaries such as split to proxy execution of malicious commands.(Citation: split man page)(Citation: GTFO split)
Tactics: