NEW350+ rooms now have a live terminal, so you can learn by typing the commands, right in your browser.Learn in a live terminal. 350+ rooms.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
[>_] ROOM · Cybersecurity
Identity, Permissions, and Privilege Escalation
Master Linux Discretionary Access Control (DAC). Decode file permissions, understand special bits like SUID, and learn how attackers exploit misconfigurations and sudo rules to escalate privileges to root.
Room tasks
1Users, Groups, and Standard Permissions
2Special Permissions: SUID, SGID, and the Stic
3The sudoers File & MAC Frameworks
Frequently Asked Questions
How do Linux file permissions work?
Each file has read, write, and execute permissions for the owner, group, and others. You can view them with ls -l and change them with chmod.
What is the SUID bit?
SUID makes an executable run with its owner's privileges instead of the caller's. If a SUID root program is exploitable, attackers can gain root.
How do permission mistakes lead to privilege escalation?
Writable scripts, loose sudo rules, and world-writable files let low-privileged users run code as others. This free Codelivly room shows how to spot them.