Techniques › T1049 › AN0905
AN0905 Analytic 0905
macOS · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Detects shell-based enumeration of active connections using
netstat, lsof -i, or AppleScript-based system discovery.</p>- Detects
- T1049 System Network Connections Discovery
- Part of
- DET0320 Detection of System Network Connections Discovery Across Platforms
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: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 |
|---|---|
ShellCommandWatchlist | Matches terminal commands like `lsof -i`, `netstat`, or scripts issued via Automator or AppleScript. |
TerminalBinaryDenylist | Tracks execution of networking discovery tools by apps outside Terminal.app or iTerm. |
KEV CVEs whose mapped technique this analytic detects
| CVE | Vendor / product | State |
|---|---|---|
| CVE-2022-41328 | Fortinet FortiOS | Mapped |