lkml.org 
[lkml]   [1999]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: caps in elf, next itteration (the hack get's bigger)
On Fri, 9 Apr 1999, Albert D. Cahalan wrote:

> Ulrich Drepper writes:
> > What should be done instead is registering an OS ABI and an ABI
> > version. The draft for the ELF standard revision defines bytes 7 and
> > 8 of the ELF header for this purpose. This information is as easy to
> > read the the signature in the first four bytes.
>
> Great, but only if existing kernels check the version.
> If not, there would be a huge security hole.
>
> I expect that the header must be mangled, unless you have some other
> way to stop old (unpatched) kernels from running the executable.

Hrm, why prevent execution by older kernels, if it would just fall-back on
older setuid root behavior?

> As you may have guessed (by the tack-it-on-the-end hack), ELF format
> knowledge is surprisingly hard to find. Help is welcome. I and several
> other people will be abusing the format this weekend.

Cool. I can't wait to start patching. ;-)

- --
David L. Parsley
Network Specialist
City of Salem Schools


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.045 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site