Techniques
Sample rules
PsExec Network Connection
- source: elastic
- technicques:
- T1021
- T1569
- T1570
Description
Identifies use of the SysInternals tool PsExec.exe making a network connection. This could be an indication of lateral movement.
Detection logic
sequence by process.entity_id
[process where host.os.type == "windows" and process.name : "PsExec.exe" and event.type == "start" and
/* This flag suppresses the display of the license dialog and may
indicate that psexec executed for the first time in the machine */
process.args : "-accepteula" and
not process.executable : ("?:\\ProgramData\\Docusnap\\Discovery\\discovery\\plugins\\17\\Bin\\psexec.exe",
"?:\\Docusnap 11\\Bin\\psexec.exe",
"?:\\Program Files\\Docusnap X\\Bin\\psexec.exe",
"?:\\Program Files\\Docusnap X\\Tools\\dsDNS.exe") and
not process.parent.executable : "?:\\Program Files (x86)\\Cynet\\Cynet Scanner\\CynetScanner.exe"]
[network where host.os.type == "windows" and process.name : "PsExec.exe"]