Sigma rule: Impacket PsExec Execution
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-41ef1baaca0c, updated 2022-09-22T00:00:00.000Z.
Rule
- Title
- Impacket PsExec Execution
- Status
- test
- Level
- high
- Author
- Bhabesh Raj
- Date
- 2020-12-14
- Modified
- 2022-09-22
- File
- rules/windows/builtin/security/win_security_impacket_psexec.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects execution of Impacket's psexec.py.
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|contains:
- 'RemCom_stdin'
- 'RemCom_stdout'
- 'RemCom_stderr'
condition: selection1False 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_impacket_psexec.yml
Sources and licences
SigmaHQ
"Impacket PsExec Execution" by Bhabesh Raj (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_impacket_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: Impacket PsExec Execution",
entity page, dataset version ref-41ef1baaca0c, updated 2022-09-22T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/32d56ea1-417f-44ff-822b-882873f5f43b (accessed 2026-11-03).
Underlying source: SigmaHQ rule 32d56ea1-417f-44ff-822b-882873f5f43b, 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.