Linux APT Privilege Escalation
The following analytic detects the use of the Advanced Package Tool (APT) or apt-get with elevated privileges via sudo on Linux systems. It leverages Endpoint Detection and Response (EDR) telemetry to identify…
Description
The following analytic detects the use of the Advanced Package Tool (APT) or apt-get with elevated privileges via sudo on Linux systems. It leverages Endpoint Detection and Response (EDR) telemetry to identify processes where APT commands are executed with sudo rights. This activity is significant because it indicates a user can run system commands as root, potentially leading to unauthorized root shell access. If confirmed malicious, this could allow an attacker to escalate privileges, execute arbitrary commands, and gain full control over the affected system, posing a severe security risk.
Detection logic
Detection requirements
- Platform
- LinuxmacOS
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- cisco_isovalent_process_execsysmon_for_linux_eventid_1
Known benign triggers
- False positives may be present, filter as needed.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| gtfobins.github.io/gtfobins/apt/ | 4from 3 sources |
| www.digitalocean.com/community/tutorials/what-is-apt | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- 4d5a05fa-77d9-4fd0-af9c-05704f9f9a88
- Tagged by the source as
- Linux Living Off The LandLinux Privilege EscalationEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1