T1563.001 SSH Hijacking
Lateral Movementon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0256 Detection Strategy for SSH Session Hijacking
AN0710 Linux
Suspicious reuse of SSH agent sockets across multiple users or processes, anomalous access to ~/.ssh/ or /tmp/ssh-* sockets, and abnormal patterns of lateral movement via SSH without new authentication events. Defender view: detect when one process accesses another user's SSH agent or when an existing SSH connection is used to pivot unexpectedly.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLopen or connect syscalls on /tmp/ssh-* or $SSH_AUTH_SOCK | Not mapped to Sentinel yet. |
auditd:EXECVEExecution of ssh/scp/sftp without corresponding authentication log | Not mapped to Sentinel yet. |
NSM:ConnectionsMissing new login event but session activity continues | Not mapped to Sentinel yet. |
AN0711 macOS
Unusual access to SSH agent sockets in /tmp/ or /private/tmp, process access to another user’s $SSH_AUTH_SOCK, and lateral SSH activity without corresponding login events. Defender view: correlation of socket access with anomalous network flows to internal systems.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogProcess opening SSH_AUTH_SOCK or /tmp/ssh-* socket not owned by same UID | Not mapped to Sentinel yet. |
macos:unifiedlogExecution of ssh or sftp without corresponding login event | Not mapped to Sentinel yet. |
macos:unifiedlogSession reuse without new auth event | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
Mitigations
M1022Restrict File and Directory PermissionsM1026Privileged Account ManagementM1027Password PoliciesM1042Disable or Remove Feature or Program
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.