Sigma rule: Suspicious PsExec Execution
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-d1107a743eaf, updated 2022-08-11T00:00:00.000Z.
Rule
- Title
- Suspicious PsExec Execution
- Status
- test
- Level
- high
- Author
- Samir Bousseaden
- Date
- 2019-04-03
- Modified
- 2022-08-11
- File
- rules/windows/builtin/security/win_security_susp_psexec.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
detects execution of psexec or paexec with renamed service name, this rule helps to filter out the noise if psexec is used for legit purposes or if attacker uses a different psexec client other than sysinternal one
Log source
- product
- windows
- service
- security
- definition
- The advanced audit policy setting "Object Access > Audit Detailed File Share" must be configured for Success/Failure
Detection
selection1:
EventID: 5145
ShareName: '\\\\\*\\IPC$' # looking for the string \\*\IPC$
RelativeTargetName|endswith:
- '-stdin'
- '-stdout'
- '-stderr'
filter:
RelativeTargetName|startswith: 'PSEXESVC'
condition: selection1 and not filterFalse positives (as the rule lists them)
- Unknown
Tags
- attack.lateral-movement
- attack.t1021.002
MITRE ATT&CK ids this rule names
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_susp_psexec.yml
Sources and licences
SigmaHQ
"Suspicious PsExec Execution" by Samir Bousseaden (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_susp_psexec.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious PsExec Execution",
entity page, dataset version ref-d1107a743eaf, updated 2022-08-11T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c462f537-a1e3-41a6-b5fc-b2c2cef9bf82 (accessed 2026-11-03).
Underlying source: SigmaHQ rule c462f537-a1e3-41a6-b5fc-b2c2cef9bf82, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.