Forums: How To Find Out If I Am Chrooted ? - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Find Out If I Am Chrooted ?

#1 User is offline   [_-ViCiOuS-_] 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 54
  • Joined: 12-October 04

Posted 09 April 2005 - 02:19 PM

hi
how can i find out if i am in a chrooted environment or not ?
and how can i "break out" of a chrooted environment ?

i saw a server of a guy today which has 8 users, and each of them was chrooted in his own environment.
i logged in as one of them, but it looked like the "real root environment"..
the owner of the server allowed me to "play a little bit" with the box :)

thanx in forward!
.-:/]=-WiSHeS-=[\:-.
0

#2 User is offline   KuerbY 

  • Staff Sergeant
  • Icon
  • Group: Members
  • Posts: 254
  • Joined: 17-July 03

Posted 09 April 2005 - 04:34 PM

http://gentoo-wiki.c...TO_chroot_login

nice tutorial to setup chroot login and it works like a charm..

how to find out?
You can look in the /proc dir... in a chroot enviroment there are not all devices
how to break out?
hm if he tried to look it like a real enviroment then he simply copied the files and then its attackable
0

#3 User is offline   fulvioo 

  • Staff Sergeant
  • Icon
  • Group: Specialist
  • Posts: 251
  • Joined: 27-March 04

Posted 09 April 2005 - 04:44 PM

Quote

Detecting additional lines of defense: chroot and jails
chroot() was never designed for security, but it is considered to be a necessity when one wants to protect a sensitive server. Detecting that you are in a chroot environment , or even circumventing it, is not really that difficult.


http://www.securityfocus.com/infocus/1826


If you like the topic, check part 2 as well.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting