Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: exiting a chroot environment

by Anarion (Hermit)
on Jul 08, 2003 at 08:48 UTC ( [id://272224]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://272224]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-25 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found