MITRE ATT&CKsub-technique
T1685.006 Clear Linux or Mac System Logs
- Domain
- enterprise
- Tactics
- Defense Impairment
- Platforms
- Linux, macOS
- Version
- 1.0
- Created
- 2026-04-14
Description
Adversaries may clear system logs to hide evidence of an intrusion. macOS and Linux both keep track of system or user-initiated actions via system logs. The majority of native system logging is stored under the `/var/log/` directory. Subfolders in this directory categorize logs by their related functions, such as:
• `/var/log/messages:`: General and system-related messages
• `/var/log/secure or /var/log/auth.log`: Authentication logs
• `/var/log/utmp or /var/log/wtmp`: Login records
• `/var/log/kern.log`: Kernel logs
• `/var/log/cron.log`: Crond logs
• `/var/log/maillog`: Mail server logs
• `/var/log/httpd/`: Web server access and error logs
Related
Subtechnique of · MITRE ATT&CK (1)
- T1685 Disable or Modify Tools technique
Tactic · MITRE ATT&CK (1)
- TA0112 Defense Impairment tactic
Referenced by MITRE ATT&CK · mitigates (3)
Referenced by MITRE ATT&CK · uses (8)
Referenced by Compliance · mitigates (1)
- CIS-3.4 Enforce Data Retention CIS Safeguard v8.1