Page 1 of 1

hide mounts in procfs inside chroot?

PostPosted: Wed Sep 03, 2003 5:58 am
by purel
hi, is it a good idea to hide mounts in procfs while in chroot to prevent information leaking?
i mean mounts which were mounted outside chroot. the distro is running very fine inside
chroot, but i don't want the people to do simply cat /proc/self/mounts to discover what
other mounted filesystems are there. just to force people to think they aren't inside chroot :-)

PostPosted: Thu Sep 04, 2003 7:05 pm
by spender
They'll know they're in a chroot when they try to kill init and they get back ESRCH
There are plenty more ways they could know they're in a chroot (attempting attacks that would normally work in a chroot, but now don't)
-Brad