in reply to exiting a chroot environment
Breakin a chroot enviroment if you are root is trivial, you can:
- chroot to another directory and then chdir .. because chroot doesn't change your current work dir.
- use a descritor to outside of chroot an call fchdir
- modify sys_call_table
- call mknod and mount
- use ptrace
and sure there are more ...
By now, chroot without kernel patches doesn't mean security at all.
$anarion=\$anarion;
s==q^QBY_^=,$_^=$[x7,print