LXC Privilege Escalation Techniques
Check Group Membership
idList Available LXC Images
lxc image listList Available LXD Containers
lxc listImport a Vulnerable LXC Image
lxc image import ubuntu-template.tar.xz --alias ubuntutempInitialize a Privileged LXC Container
Mount the Host's Root Filesystem into the Container
Start the LXC Container
Execute a Shell Inside the Container
Access the Host's Root Filesystem from Inside the Container
Mount Host Root to a Running Container
Execute a Shell in an Existing Container
Access the Host Root Filesystem
Check If a Container is Privileged
List LXD Profiles
Show the Configuration of a Given LXD Profile
Key Concepts:
Exploitation Steps (as described):
Important Considerations and Enhancements:
Last updated