Metasploit Or Impacket Service Installation Via SMB PsExec
Detects usage of Metasploit SMB PsExec (exploit/windows/smb/psexec) and Impacket psexec.py by triggering on specific service installation
Detection logic
Detection requirements
Known benign triggers
- Possible, different agents with a 8 character binary and a 4, 8 or 16 character service name
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| bczyz1.github.io/2021/01/30/psexec.html | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- 6fb63b40-e02a-403e-9ffd-3bcc1d749442
- Tagged by the source as
- attack.executionattack.lateral-movement
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1