Psexec Execution
A Sigma rule for process creation on Windows, by omkar72.
medium 2 ATT&CK techniques 2 programs it names 5 everyday examples trip it
What it looks for
detection:
selection:
- Image|endswith: '\psexec.exe'
- OriginalFileName: 'psexec.c'
condition: selection
The rule’s detection, its selections and fields in order of name. The whole rule, with its references and false positives, is on SigmaHQ, by omkar72, under the Detection Rule License 1.1. CmdID evaluates it on a command line alone: a test on what a command line cannot show, such as the parent process or the user, is not met.
Command lines that trip it
Execute a command using cmd in a remote shell on the page for psexec
psexec \\remote_host cmdIdentifyExecute a command on a remote host (pre-authenticated) on the page for psexec
psexec \\remote_host -u user_name -p passwordIdentifyExecute a command remotely and output the result to a file on the page for psexec
psexec \\remote_host cmd /c command -an ^>path\to\file.txtIdentify