Techniques › T1021.004 › AN1639
AN1639 Analytic 1639
macOS · attack.mitre.org · ATT&CK Enterprise v19.2
<p>SSH login detected via Unified Logs, followed by unusual process execution, especially outside normal user behavior patterns.</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 source | Channel | Data component |
|---|---|---|
| macos:unifiedlog | process = 'sshd' | DC0088 Logon Session Metadata |
| macos:unifiedlog | process = 'ssh' OR eventMessage CONTAINS 'ssh' | DC0085 Network Traffic Content |
| macos:osquery | process_events | DC0032 Process 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 |
|---|---|
TimeWindow | Time range to correlate post-SSH activities (e.g., 45s) |
UserContext | Define authorized users to reduce false positives |
CommandLineKeywords | Suspicious terms like reverse shells, base64, curl |
KEV CVEs whose mapped technique this analytic detects
| CVE | Vendor / product | State |
|---|---|---|
| CVE-2023-39780 | ASUS RT-AX55 Routers | Mapped |
| CVE-2025-32433 | Erlang Erlang/OTP | Mapped |