Techniques › T1070.007 › AN0135
AN0135 Analytic 0135
macOS · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Detects removal of Remote Login or Screen Sharing logs in Unified Logging, deletion of
com.apple.UTun, or suspicious Terminal use of rm, sudo pfctl -F all to clear network state/config history.</p>- Detects
- T1070.007 Clear Network Connection History and Configurations
- Part of
- DET0049 Behavioral Detection of Network History and Configuration Tampering
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 | log stream --predicate 'eventMessage contains "loginwindow" or "pfctl"' | DC0064 Command Execution |
| macos:osquery | file_events | DC0061 File Modification |
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 |
|---|---|
FilenameMatch | e.g., *com.apple.UTun*, *RemoteManagement* log files |
TimeDeltaFromLogin | Correlate deletion with recent SSH or GUI remote login session |