Live Active security incident? Get immediate response
MITRE ATT&CK® Technique

T1685.006: Clear Linux or Mac System Logs

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:[1]

* `/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

EnterpriseT1685.006Sub-techniqueObject v1.0 Modified
Glexia's Take

Analyst context for executives and security teams

Analyst confidence Medium

Clearing Linux or macOS system logs is a defense-impairment behavior that can remove the evidence needed to understand an intrusion, prove scope, and support recovery decisions. For business leaders, the material issue is not just that logs were deleted; it is that incident responders may lose the timeline for authentication, kernel, cron, web, mail, and general system activity unless logs are protected off-host and monitored for tampering.

Executive priority

Prioritize this as an operational resilience and audit-evidence risk for Linux and macOS estates. Executives should ask whether critical endpoint and server logs under /var/log/ are centrally forwarded, protected from local tampering, and retained long enough to support investigations. This matters for incident decision-making because missing authentication or system logs can slow containment, weaken root-cause analysis, and reduce confidence in compliance or forensic evidence.

Technical view

This ATT&CK sub-technique applies to Linux and macOS under the defense-impairment tactic and is a sub-technique of Disable or Modify Tools. SOC and IR teams should validate monitoring around clearing, truncation, deletion, or abnormal modification of native system logs, especially /var/log/messages, /var/log/secure, /var/log/auth.log, /var/log/utmp, /var/log/wtmp, /var/log/kern.log, /var/log/cron.log, /var/log/maillog, and /var/log/httpd/ access or error logs. Relationship context includes ATT&CK detection strategy DET0520, Behavioral Detection of Log File Clearing on Linux and macOS, and mitigations focused on restricting file and directory permissions, remote data storage, and encrypting sensitive information.

Likely telemetry

  • File creation, deletion, truncation, rename, and permission-change events for /var/log/ paths on Linux and macOS
  • Endpoint process and command execution telemetry associated with log file modification activity
  • Authentication and login record telemetry from /var/log/secure, /var/log/auth.log, /var/log/utmp, and /var/log/wtmp where available
  • System, kernel, cron, mail, and web server log streams from the listed /var/log/ locations
  • Centralized or remote log storage records that can show gaps, forwarding interruption, or mismatch with local logs

Detection direction

  • Validate whether DET0520-style behavioral detection is implemented for log clearing on Linux and macOS rather than relying only on the logs that may be deleted locally.
  • Tune alerts for suspicious deletion, truncation, or permission changes to sensitive log files and directories, while accounting for legitimate log rotation and administrative maintenance.
  • Compare local log state with centrally stored copies to identify gaps, missing sequences, or unexpected changes after privileged activity.
  • Pay special attention to authentication, login, kernel, cron, web, and mail logs because their removal can directly impair incident scoping.
  • Use relationship context conservatively: ATT&CK lists multiple groups and software as using this behavior, but local prioritization should be driven by the organization’s Linux/macOS exposure and monitored services.

Mitigation priorities

  • Restrict file and directory permissions so only required users, groups, or processes can write to sensitive system log locations.
  • Forward critical logs to remote or centralized storage so evidence survives local tampering or host compromise.
  • Protect sensitive log data at rest and in transit using appropriate encryption controls where supported by the environment.
  • Review administrative access paths to Linux and macOS systems because excessive local privilege increases the ability to modify or remove logs.
  • Test incident-response playbooks for scenarios where local logs are missing and responders must rely on remote log stores or other telemetry.
Analyst notes and limits

This object replaced the revoked T1070.002 entry for the same named behavior and is now modeled under defense impairment as T1685.006. The supplied relationships show use by several ATT&CK groups and software entries, including Rocke, TeamTNT, Sea Turtle, Salt Typhoon, Proton, MacMa, UPSTYLE, and JumbledPath, but those relationships should not be treated as evidence that any specific organization is targeted.

The official ATT&CK detection field for this object is not provided, so detection guidance is derived from the object description, listed log paths, tactic, platforms, and supplied relationships. Local validation is required to confirm which logs exist, which are collected, how log rotation behaves, and whether endpoint or centralized logging telemetry can observe tampering reliably.

Official MITRE ATT&CK definition

Clear Linux or Mac System Logs

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:[1]

* `/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

View the same entry on attack.mitre.org (MITRE-hosted reference; in-page links above use the Glexia ATT&CK library.)

Glexia analysis

How security teams should use this page

Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.

ATT&CK relationship table

Related techniques

This mirrors the MITRE pattern of making group, software, campaign, and technique relationships scannable. Relationship notes come from mirrored ATT&CK relationship text when available.

2 rows
Domain ID Name Relationship / procedure
Enterprise T1070.002 Clear Linux or Mac System Logs Sub-technique Clear Linux or Mac System Logs revoked by this object.
Enterprise T1685 Disable or Modify Tools This object subtechnique of Disable or Modify Tools.
Associated objects

Groups, software, and campaigns

Group Enterprise

G1045: Salt Typhoon

Salt Typhoon is a People's Republic of China (PRC) state-backed actor that has been active since at least 2019 and responsible for numerous compromises of network infrastructure at major U.S. telecommunication and internet service providers (ISP).[1][2]

Group Enterprise

G0106: Rocke

Rocke is an alleged Chinese-speaking adversary whose primary objective appeared to be cryptojacking, or stealing victim system resources for the purposes of mining cryptocurrency. The name Rocke comes from the email address "rocke@live.cn" used to create the wallet which held collected cryptocurrency. Researchers have detected overlaps between Rocke and the Iron Cybercrime Group, though this attribution has not been confirmed.[1]

Group Enterprise

G1041: Sea Turtle

Sea Turtle is a Türkiye-linked threat actor active since at least 2017 performing espionage and service provider compromise operations against victims in Asia, Europe, and North America. Sea Turtle is notable for targeting registrars managing ccTLDs and complex DNS-based intrusions where the threat actor compromised DNS providers to hijack DNS resolution for ultimate victims, enabling Sea Turtle to spoof log in portals and other applications for credential collection.[1][2][3][4]

Group Enterprise

G0139: TeamTNT

TeamTNT is a threat group that has primarily targeted cloud and containerized environments. The group as been active since at least October 2019 and has mainly focused its efforts on leveraging cloud and container resources to deploy cryptocurrency miners in victim environments.[1][2][3][4][5][6][7][8][9]

Malware Enterprise

S1164: UPSTYLE

UPSTYLE is a Python-based backdoor associated with exploitation of Palo Alto firewalls using CVE-2024-3400 in early 2024. UPSTYLE has only been observed in relation to this exploitation activity, which involved attempted install on compromised devices by the threat actor UTA0218.[1][2]

Network DevicesLinux
Malware Enterprise

S1016: MacMa

MacMa is a macOS-based backdoor with a large set of functionalities to control and exfiltrate files from a compromised computer. MacMa has been observed in the wild since November 2021.[1] MacMa shares command and control and unique libraries with MgBot and Nightdoor, indicating a relationship with the Daggerfly threat actor.[2]

macOS
Malware Enterprise

S1206: JumbledPath

JumbledPath is a custom-built utility written in GO that has been used by Salt Typhoon since at least 2024 for packet capture on remote Cisco devices. JumbledPath is compiled as an ELF binary using x86-64 architecture which makes it potentially useable across Linux operating systems and network devices from multiple vendors.[1]

Network Devices
Relationship explorer

All related ATT&CK context

Mitigations

Mitigation direction

Change history

Object version and sync metadata

The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates .

ATT&CK release
19.1
Object version
1.0
Created
Modified
Raw hash
090e53cc2dafcd26...
Imported snapshots across ATT&CK releases (1)
Release Bundle imported Object version Modified Status Raw hash
19.1 1.0 Current bundle 090e53cc2daf…
Raw source

Mirrored ATT&CK source object

The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.

Source references

External references and citations

MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.

  1. [1]
    Linux Logs

    Marcel. (2018, April 19). 12 Critical Linux Log Files You Must be Monitoring. Retrieved March 29, 2020.

    Open source URL
  2. [2]
    mitre-attack T1685.006
    Open source URL
Source and licensing

Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.