Runexehelper.exe
Launcher process
Full path
c:\windows\system32\runexehelper.exeCommands
Executes arbitrary code
runexehelper.exe {PATH_ABSOLUTE:.exe}Launches the specified exe. Prerequisites: (1) diagtrack_action_output environment variable must be set to an existing, writable folder; (2) runexewithargs_output.txt file cannot exist in the folder indicated by the variable.
os: Windows 10, Windows 11, Windows Server 2012, Windows Server 2016, Windows Server 2019, Windows Server 2022
Detection
- Sigma https://github.com/SigmaHQ/sigma/blob/197615345b927682ab7ad7fa3c5f5bb2ed911eed/rules/windows/process_creation/proc_creation_win_lolbin_runexehelper.yml
- IOCc:\windows\system32\runexehelper.exe is run
- IOCExistence of runexewithargs_output.txt file
Resources
acknowledgement: Grzegorz Tworek @0gtweet