Great Circle Associates Firewalls
(July 1995)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: TW on a w-protected floppy (via libc attack)
From: Marcus J Ranum <mjr @ iwi . com>
Organization: Information Works! Inc, Baltimore, MD
Date: Tue, 11 Jul 1995 09:21:50 -0400 (EDT)
To: firewalls @ greatcircle . com
Coredump: Infocalypse Now!!!
In-reply-to: <9507110217 . AA27680 @ ig1 . att . att . com> from "mdr @ iwi . com" at Jul 10, 95 12:34:28 pm
Phone: 410-889-8569
Reply-to: mjr @ iwi . com
Url: <A HREF="http://iwi.com/mjr/mjr-top.htm">mjr's web page</A>

>The point be debated here is whether or not a hacker could cause bad
>things to happen by chaning lib C.

	I guess I wasn't clear in my earlier posting: that's not
open to debate. I know for a fact that this has been done in the
past, specifically to get around tripwire.

	However it's implemented, you need to be able to remap
accesses to the tripwire database so that they open different
files when they think they are opening the database and libc
for read. You also need to be able to make the backup copies
"invisible" to the tripwire process. The version I've been told
about is apparently implemented in a shared library for Suns.
Presumably it jiggers stat/lstat and open with hardcoded inode
numbers or something like that.

	My other observation was that it should be no more
difficult for a skilled programmer to paste it directly into
the kernel, by linking a kernel with a modified system call
jump table. Take a look at init_sysent.c and ask yourself
how hard it would be.

	There's a bunch of trivial implementation details that
I'm hand-waving over but if someone wants to do it, they can.

mjr.


Follow-Ups:
References:
Indexed By Date Previous: Re: Sending replies to blocked packets
From: chris @ dejong . com (Chris Tyler)
Next: Re: Quarantined Mail ???
From: Frank Wortner <frank @ prodigy . com>
Indexed By Thread Previous: Re: TW on a w-protected floppy (via libc attack)
From: mdr @ vodka . sse . att . com
Next: Re: TW on a w-protected floppy (via libc attack)
From: mdr @ vodka . sse . att . com

Google
 
Search Internet Search www.greatcircle.com