Linux Sqlite3 Privilege Escalation
The following analytic detects the execution of the sqlite3 command with elevated privileges, which can be exploited for privilege escalation. It leverages Endpoint Detection and Response (EDR) telemetry to identify…
Description
The following analytic detects the execution of the sqlite3 command with elevated privileges, which can be exploited for privilege escalation. It leverages Endpoint Detection and Response (EDR) telemetry to identify instances where sqlite3 is used in conjunction with shell commands and sudo. This activity is significant because it indicates a potential attempt to gain root access, which could lead to full system compromise. If confirmed malicious, an attacker could execute arbitrary commands as root, leading to unauthorized access, data exfiltration, or further lateral movement within the network.
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
- sysmon_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/sqlite3/ | Only this detection cites it |
| manpages.ubuntu.com/manpages/trusty/en/man1/sqlite3.1.html | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- ab75dbb7-c3ba-4689-9c1b-8d2717bdcba1
- 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