heroui logo

Linux Auditd Change File Owner To Root

Splunk Security Content

View Source
Summary
The 'Linux Auditd Change File Owner To Root' detection rule identifies instances where the 'chown' command is utilized to change the ownership of a file to 'root' on Linux systems. It is rooted in the telemetry collected from the Linux Audit daemon (Auditd), which logs command executions, including the command-line parameters provided during the execution of processes. The detection methodology involves searching for 'chown' commands specifically targeting 'root' through normalized process titles within the audit logs. This activity is critical to monitor as it may signal attempts at privilege escalation, potentially leading to unauthorized root access by malicious actors. Effective implementation of this rule demands proper configuration of Auditd to ensure relevant logs are generated and subsequently ingested into a system like Splunk for analysis. Users are advised to be cautious of potential false positives that may arise from legitimate administrative activities. The rule includes detailed implementation instructions, known pitfalls, and references to assist in deployment and analysis.
Categories
  • Linux
  • Endpoint
Data Sources
  • Pod
  • Container
  • User Account
  • Process
ATT&CK Techniques
  • T1222.002
  • T1222
  • T1053.002
Created: 2025-01-20