The Hidden Dangers of Sudo
summary
Misconfigured sudo entries let regular accounts become root through ordinary tools and a writable script: live demos show shell escapes from editor escapes (vim nano less), namespace root via ip netns escalation and leaking files with date and command substitution, plus a user-owned script that gets replaced to run arbitrary root actions. Protections are concrete: tighten sudo command and option lists, fix file ownership/permissions, prefer group access, and audit sudoers regularly.
AI-written summary · about
chapters (16)
- 0:00Sudo dangers introduction
- 1:11Sudo configuration importance
- 3:01What sudo is
- 7:02Sudo config files
- 8:34Configuring sudo commands
- 10:21What is privilege escalation
- 12:34Real privilege escalation
- 15:29Tools for privilege escalation
- 16:54Vim/nano editor risks
- 22:23Less command risks
- 26:29IP command misuse
- 29:47Date command tricks
- 32:19Custom scripts dangers
- 38:14Preventing sudo abuse
- 40:25Responsible sudo use
- 40:47Q&A on sudo
related talks
04mSudon’t or going rootless
39mSudo For Defense: How can new or lesser-known features help you?
01h 00mDemonstrating Binary Exploitation
58mDemonstrating binary exploitation
22mDemostrating Binary Exploitation
40mDevOoops (Increase awareness around DevOps infra security)
36mmacOS Vulnerabilities Hiding in Plain Sight
39mHow to think like a hacker
