heroui logo

Linux Capabilities Discovery

Sigma Rules

View Source
Summary
The 'Linux Capabilities Discovery' rule aims to detect and alert on attempts to discover files that possess setuid and setgid capabilities on a Linux system. This capability is crucial for privilege escalation attacks because it allows malicious actors to execute binaries with elevated privileges, bypassing the regular user permissions. The detection is primarily focused on monitoring the execution of the 'getcap' command with specific arguments indicating a recursive search across the filesystem. The rule is applied within the context of Linux systems utilizing the audit daemon ('auditd') for log collection. It is set to a low alert level, indicating a lesser threat but still important to monitor due to the potential for privilege escalation. The references provided give additional context on Linux capabilities, their implications for security, and practical examples of exploitation scenarios, making this rule relevant for maintaining system integrity and security monitoring.
Categories
  • Linux
  • Endpoint
Data Sources
  • Process
  • Logon Session
Created: 2021-11-28