Library / Sysinternals

psexec.exe

Execute processes remotely · Sysinternals - www.sysinternals.com

SysinternalsSysmon-confirmedSigma refs: 4

OriginalFilename

  • psexec.c

Differs from file nameShared with other binariesSigma rules use a value no build carries

Gotchas

psexec.c is the long-standing OriginalFilename for PsExec and PsExec64 (the source file name, not a binary name). The PSEXESVC service binary that PsExec drops on the target is a separate image with its own value.

  • OriginalFilename doesn't match the file name: a rule using OriginalFileName: psexec.exe never fires.
  • Same OriginalFilename as psexec64.exe, so OriginalFilename alone can't tell them apart.
  • 1 SigmaHQ rule matches OriginalFileName: psexec.exe, but parsed builds carry psexec.c: those rule arms never fire.

Query snippets

logsource:
  category: process_creation
  product: windows
detection:
  selection:
    - Image|endswith: '\psexec.exe'
    - OriginalFileName: 'psexec.c'
  condition: selection

process_creation logsource. Sigma string matching is case-insensitive.

Values across builds

OriginalFilenameBuildsArchFile versionWindows releasesSourceSysmon
psexec.c1x862.43.0.0Sysinternals✓ 1

InternalName: PsExec · Product: Sysinternals PsExec

All 1 parsed builds
SHA256VersionArchOriginalFilenameWindows releasesSignatureSourceSysmon
078163d5c16f…2.43.0.0x86psexec.cSysinternals PsExecSysinternals✓

Winbindex builds link to the Microsoft symbol server copy that was hashed and parsed.