kevmap

TechniquesT1070.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 sourceChannelData component
macos:unifiedloglog stream --predicate 'eventMessage contains "loginwindow" or "pfctl"'DC0064 Command Execution
macos:osqueryfile_eventsDC0061 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.

FieldDescription
FilenameMatche.g., *com.apple.UTun*, *RemoteManagement* log files
TimeDeltaFromLoginCorrelate deletion with recent SSH or GUI remote login session