Techniques › T1563.001 › AN0711
AN0711 Analytic 0711
macOS · attack.mitre.org · ATT&CK Enterprise v19.2
<p>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.</p>
- Detects
- T1563.001 SSH Hijacking
- Part of
- DET0256 Detection Strategy for SSH Session Hijacking
Log sources and channels
Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.
| Log source | Channel | Data component |
|---|---|---|
| macos:unifiedlog | Process opening SSH_AUTH_SOCK or /tmp/ssh-* socket not owned by same UID | DC0034 Process Metadata |
| macos:unifiedlog | Execution of ssh or sftp without corresponding login event | DC0032 Process Creation |
| macos:unifiedlog | Session reuse without new auth event | DC0067 Logon Session Creation |
Mutable elements
Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.
| Field | Description |
|---|---|
SocketPathScope | Limit detection to monitored SSH agent socket directories. |
BaselineUsers | Establish normal SSH agent ownership and expected usage for tuning. |