Step 1: Initial Access: A local user logs into the vulnerable system.
Step 2: Environment Setup: The attacker creates a specially crafted environment within the chroot jail. This environment typically includes a modified init process, or other critical system binaries.
Step 3: Privilege Escalation: The attacker leverages the crafted environment to execute a process with root privileges. This could involve exploiting vulnerabilities in the modified binaries or manipulating the system's startup process.
Step 4: Root Access: The attacker gains root access, allowing them to control the entire system.