Cross-source coverage

T1685.004 / ATT&CK

Disable or Modify Tools: Disable or Modify Linux Audit System Log

4 rules across 2 sources.

From MITRE ATT&CK 19.2

Adversaries may disable or modify the Linux Audit system to hide malicious activity and avoid detection. Linux admins use the Linux Audit system to track security-relevant information on a system. The Linux Audit system operates at the kernel-level and maintains event logs on application and system activity such as process, network, file, and login events based on pre-configured rules.

Often referred to as auditd, this is the name of the daemon used to write events to disk and is governed by the parameters set in the audit.conf configuration file. Two primary ways to configure the log generation rules are through the command line auditctl utility and the file /etc/audit/audit.rules, containing a sequence of auditctl commands loaded at boot time.

With root privileges, adversaries may be able to ensure their activity is not logged through disabling the Audit system service, editing the configuration/rule files, or by hooking the Audit system library functions. Using the command line, adversaries can disable the Audit system service through killing processes associated with auditd daemon or use systemctl to stop the Audit service. Adversaries can also hook Audit system functions to disable logging or modify the rules contained in the /etc/audit/audit.rules or audit.conf files to ignore malicious activity.

Platforms
Linux
Telemetry
auditd:EXECVEauditd:SYSCALLauditd:FILElinux:syslog

How MITRE says to detect it DET0062

Detection Strategy for Disable or Modify Linux Audit System Log

Linux Analytic 0171

Disabling or modifying the Linux Audit system through process termination (auditd killed), service management (systemctl stop auditd), or tampering with rule/configuration files (/etc/audit/audit.rules, audit.conf). Defender view: suspicious execution of auditctl/systemctl commands, file modifications to audit rules, or sudden absence of audit logs correlated with privileged execution.

  • auditd:EXECVE Execution of auditctl, systemctl stop auditd, or kill -9 auditd
  • auditd:SYSCALL kill syscalls targeting auditd process
  • auditd:FILE Modification or deletion of /etc/audit/audit.rules or /etc/audit/audit.conf
  • linux:syslog auditd service stopped or disabled

splunk/security_content

3 rules
Detection Severity Format
Linux Auditd Auditd Daemon Abort Undefined SPL
Linux Auditd Auditd Daemon Shutdown Undefined SPL
Linux Auditd Auditd Daemon Start Undefined SPL

SigmaHQ/sigma

1 rule
Detection Severity Format
Audit Rules Deleted Via Auditctl High Sigma

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.