01 / TRADECRAFT
1 examplesCommand reference
Execute1
EXAMPLE 01T1218
Once executed, `query.exe` will execute `quser.exe` in the same folder. Thus, if `query.exe` is copied to a folder and an arbitrary executable is renamed to `quser.exe`, `query.exe` will spawn it. Instead of `user`, it is also possible to use `session`, `termsession` or `process` as command-line option.
COMMAND
query.exe user02 / ON DISK
Known paths
c:\windows\system32\query.exec:\windows\syswow64\query.exe03 / DEFENSIVE INTELLIGENCE
0 resourcesDetection & indicators
Indicators & detection notes
- IOC
query.exe being executed and executes a child process outside of its normal path of c:\windows\system32\ or c:\windows\syswow64\
COMMUNITY RESEARCH
Acknowledgements
Idan Lerman@IdanLerman