Privilege Escalation · ATT&CK v20
T1548.003 Abuse Elevation Control Mechanism: Sudo and Sudo Caching
A Privilege Escalation technique. Getting higher permissions: administrator, SYSTEM, a privileged cloud role.
- T1548.003Technique ID
- Privilege EscalationTactic
- 2Places taught
What the attacker does
The attacker abuses sudo on Linux: a rule that lets a user run a command as root that can open a shell, or a cached sudo session that still works without a password.
How it shows up in the logs
- auth.log or the journal: sudo lines with COMMAND= for shells, editors, or tools that can spawn a shell.
- Changes to /etc/sudoers or /etc/sudoers.d/.
- sudo -l from an unexpected session: the attacker checking what is allowed.
Questions to ask in triage
- Which command ran as root, from which session?
- Is the sudo rule too wide (vim, find, python as root)?
- Was sudoers changed?
Read T1548.003 on attack.mitre.org
A sub-technique of T1548.
Where you meet it in CyberSim
Detection rules in the shift
Alerts tagged with this technique, the way Sentinel tags an analytics rule.
- Privilege escalation via sudo
In the theory
More Privilege Escalation techniques
- T1068 Exploitation for Privilege Escalation
- T1078.002 Valid Accounts: Domain Accounts
- T1484.001 Domain or Tenant Policy Modification: Group Policy Modification
Source: MITRE ATT&CK T1548.003, tactic TA0004.