Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: how an hacker can bypass a chrooted environement ? |
|---|---|
| Date: | Fri, 12 May 2006 20:45:27 +0200 (CEST) |
Hello,
I was wondering how an attacker can bypass a chrooted environement. A (common) technique consist in finding a vulnerable program (in the chrooted environnement) and injecting it a shellcode (i.e ../../../../../../../bin/bash for ex.) by BoF. But normally, in the chrooted environement, you volontarily add only necessary tools (like ls, cat, less...), and vulnerable softwares are uncommon...
Consider the following sequence of steps achieves:
1) mkdir("goo")
2) chroot("goo")
3) chdir("../../../../../..")
4) chroot(".")Peter
-- [Name] Peter Kosinar [Quote] 2B | ~2B = exp(i*PI) [ICQ] 134813278
------------------------------------------------------------------------------ This List Sponsored by: Cenzic
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: CISSP-ISSMP, Bob Radvanovsky |
|---|---|
| Next by Date: | Re: how an hacker can bypass a chrooted environement ?, Rob |
| Previous by Thread: | Re: how an hacker can bypass a chrooted environement ?, Justin Ferguson |
| Next by Thread: | Re: how an hacker can bypass a chrooted environement ?, Rob |
| Indexes: | [Date] [Thread] [Top] [All Lists] |