kevmap

TechniquesT1563 › AN0217

AN0217 Analytic 0217

Linux · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Detection of SSH/Telnet session hijacking via discrepancies between authentication logs and active session tables. Adversary behavior includes reusing or stealing active PTY sessions, attaching to screen/tmux, or issuing commands without corresponding login events.</p>
Detects
T1563 Remote Service Session Hijacking
Part of
DET0079 Detection of Remote Service 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 sourceChannelData component
auditd:SYSCALLexecve: Commands executed within an SSH session where no matching logon/authentication event existsDC0064 Command Execution
NSM:ConnectionsMismatch between recorded user logon and active sessions (e.g., wtmp/utmp entries without corresponding authentication in auth.log)DC0067 Logon Session Creation
NSM:FlowLong-lived or hijacked SSH sessions maintained with no active user activityDC0078 Network Traffic Flow

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.

FieldDescription
MonitoredServicePortsPorts for SSH/Telnet/RDP monitored for session hijacking; may vary by environment.