kevmap

TechniquesT1021.004 › AN1638

AN1638 Analytic 1638

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

<p>SSH login from a remote system (via sshd), followed by user context execution of suspicious binaries or privilege escalation behavior.</p>
Detects
T1021.004 SSH
Part of
DET0596 Behavioral Detection of Remote SSH Logins Followed by Post-Login Execution

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:EXECVEEXECVEDC0032 Process Creation
linux:syslogNoneDC0067 Logon Session Creation
NSM:FlowTCP port 22 trafficDC0078 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
TimeWindowDefines correlation window from login to first post-SSH process (e.g., 60s)
SuspiciousProcessListList of binaries considered unusual in SSH context (e.g., nc, base64, bash -i)
UsernameFilterAccounts of interest for SSH logins (e.g., root, admin)

KEV CVEs whose mapped technique this analytic detects

CVEVendor / productState
CVE-2023-39780ASUS RT-AX55 RoutersMapped
CVE-2025-32433Erlang Erlang/OTPMapped