Speaker
Description
In modern DevOps and systems engineering, securing workloads often stops at setting file modes (chmod 755, chown www-data). However, Discretionary Access Control (DAC) carries fundamental architectural flaws: it is coarse-grained, struggles with delegation, and collapses entirely once a process gains UID 0.
Ubuntu has championed a defense-in-depth approach by shipping AppArmor enabled by default. Yet, many engineers find Mandatory Access Control (MAC) intimidating, often disabling profiles when permission errors arise rather than tuning them.
This session demystifies the path from traditional Unix DAC to native Ubuntu application confinement:
1. Briefly trace standard permissions, exploring the subtle dangers of SUID/SGID binaries, misconfigured umasks, and race conditions.
2. How Ubuntu allows decomposing monolithic superuser permissions into fine-grained capabilities (CAP_NET_BIND_SERVICE, CAP_DAC_OVERRIDE), mitigating the all-or-nothing root trap.
3. How AppArmor operates at the kernel VFS layer using intuitive path-based profiles. We will walk through real-world profile creation using aa-genprof, transitioning services between complain and enforce modes, and auditing violation logs.
4. Patterns for integrating AppArmor profile verification into CI/CD pipelines, containerized workloads, and systemd service units.
Takeaway:
Attendees will learn how traditional Unix DAC permissions, SUID/SGID and Linux capabilities fit together; why filesystem permissions alone are often insufficient for application least privilege; how AppArmor complements DAC with application-specific mandatory access control; how to inspect AppArmor state and diagnose denials; and how to move from observation to enforcement while testing a least-privilege policy.
Speaker Bio
- 23+ years of experience primarily in security, networking and cloud computing
- Organizer of GDG Cloud, Bangalore (https://gdg.community.dev/gdg-cloud-bengaluru/)
- Former Co-organizer of AWS UserGroup Bangalore
- Multiple hackathon wins in cloud/security topics
- Speaker at domestic and international conferences
Prerequisites
No prior AppArmor experience is required. Attendees should be comfortable with basic Linux command-line usage, users/groups, filesystem permissions and running services on Ubuntu.
Summary
Traditional Unix permissions are only the first layer of Ubuntu's security model. This session starts with familiar chmod, SUID, SGID and ownership concepts, then moves into capabilities and AppArmor to demonstrate how modern Ubuntu confines applications and limits privilege escalation. Attendees will see where traditional permissions fall short, how to diagnose access failures and how to build a more defensible Ubuntu workload.
| Speaker LinkedIn / Socials | https://www.linkedin.com/in/runcyoommen/ |
|---|---|
| Difficulty | Intermediate |