Re: Breaking out of chroot
From: Tim Haynes (usenet-20030825_at_stirfried.vegetable.org.uk)
Date: 08/25/03
- Next message: Barry Margolin: "Re: What protects Unices from Virus like attacks ??"
- Previous message: Måns Rullgård: "Re: Breaking out of chroot"
- In reply to: Måns Rullgård: "Re: Breaking out of chroot"
- Next in thread: Floyd Davidson: "Re: Breaking out of chroot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 25 Aug 2003 18:33:21 +0100
[Bad nettiquette of unannounced f-up ignored]
mru@users.sourceforge.net (Måns Rullgård) writes:
[snip]
>> It seems you've show that it is *useful* for that purpose.
>
> How is that? Any non-zero risk for breach of security should be
> considered as 100%.
Says, erm, you...
> If there's a way, someone will find it, if motivated. Putting things in a
> chroot environment for protection is only false security, which often is
> worse than no security at all.
To execute the posted code-snippet, you'd need to be able to get root in
the chroot jail and somehow to compile C. Normally, the point of a chroot
jail is that you *don't* have large amounts of extra crud lying around.
Nothing is ever 100% secure, so you have to take what measures you can to
raise the hurdle above your cracker's cost-effectiveness threshold - and
that includes chrooting things into separate little bubbles within the
universe wherever reasonable.
ObSomething-nix: the code-snippet also relied on being able to call
chroot() from within a chroot-jail. Folks over in the linux camp have the
GRSecurity patches at their disposal, which tightens against exactly this
kind of attempted attack.
~Tim
--
There can be only one! |piglet@stirfried.vegetable.org.uk
|http://spodzone.org.uk/
- Next message: Barry Margolin: "Re: What protects Unices from Virus like attacks ??"
- Previous message: Måns Rullgård: "Re: Breaking out of chroot"
- In reply to: Måns Rullgård: "Re: Breaking out of chroot"
- Next in thread: Floyd Davidson: "Re: Breaking out of chroot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|