githubEdit

LXC-LXD Group

Source: https://book.hacktricks.xyz/linux-unix/privilege-escalation/interesting-groups-linux-pe/lxd-privilege-escalation

Steps:

1) Attacker: Download Alpine Image

git clone https://github.com/alpinelinux/docker-alpine

2) Attacker: Build Image

sudo ./build-alpine -a i686

Transfer to machine for the rest of the privesc

1)

lxc init

2)

lxc image list

3) Upload image to target

4)

5)

6)

6)

7)

8)

8) GGWP!

Last updated