Detectionhightest
Impacket PsExec Execution
Detects execution of Impacket's psexec.py.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
Windowssecurity
ProductWindows← raw: windows
Servicesecurity← raw: security
Definition
The advanced audit policy setting "Object Access > Audit Detailed File Share" must be configured for Success/Failure
Detection Logic
Detection Logic1 selector
detection:
selection1:
EventID: 5145
ShareName: '\\\\\*\\IPC$' # looking for the string \\*\IPC$
RelativeTargetName|contains:
- 'RemCom_stdin'
- 'RemCom_stdout'
- 'RemCom_stderr'
condition: selection1False Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
32d56ea1-417f-44ff-822b-882873f5f43b
Status
test
Level
high
Type
Detection
Created
Mon Dec 14
Modified
Thu Sep 22
Author
Path
rules/windows/builtin/security/win_security_impacket_psexec.yml
Raw Tags
attack.lateral-movementattack.t1021.002