CmdID

CmdID / Rules / Windows

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

its detection, as SigmaHQ writes it
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

everyday examples from tldr-pages, CC BY 4.0, each read by CmdID

Execute a command using cmd in a remote shell on the page for psexec

psexec \\remote_host cmdIdentify

Execute a command on a remote host (pre-authenticated) on the page for psexec

psexec \\remote_host -u user_name -p passwordIdentify

Execute 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

Execute a program to interact with users on the page for psexec

psexec \\remote_host -d -i program_nameIdentify

Display the IP configuration of the remote host on the page for psexec

psexec \\remote_host ipconfig /allIdentify

Programs and files it names

their pages here

ATT&CK

the techniques it is tagged with
T1021Remote Services
T1569System Services