Unix Technical Forum

plt security patch

This is a discussion on plt security patch within the lucky.openbsd.tech forums, part of the OpenBSD category; --> Hey all, As part of a paper some people from my research group are working on, we have developed ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > lucky.openbsd.tech

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-22-2008, 11:46 AM
William Robertson
 
Posts: n/a
Default plt security patch

Hey all,

As part of a paper some people from my research group are working on,
we have developed a patch against OpenBSD that you might be
interested in. It is intended to prevent malicious writes to the PLT
and GOT (i.e., PLT hijacking) by verifying that the source of the
write is from the runtime loader, and otherwise terminates the
process. The basic idea is to mark the PLT and the runtime loader as
they are loaded into memory, and during execution to intercept writes
to the PLT in the page fault handler, since the PLT has been marked
read-only. Then, the instruction pointer is checked to have
originated from within the runtime loader.

It's a work in progress, because it only prevents basic PLT hijacks,
not more sophisticated attacks where the attacker would prepare the
environment and then jump into the code in the runtime loader that
would perform the overwrite on the attacker's behalf. The next
version of the patch will attempt to prevent this as well, and should
be done in the near future.

In any case, the current patch against OpenBSD 3.7-STABLE on i386 as
well as some more information on it is located at:

http://www.cs.ucsb.edu/~wkr/projects/pltsec/

I'd appreciate any feedback you guys might have.

--
William Robertson
Reliable Software Group, UC Santa Barbara
http://www.cs.ucsb.edu/~wkr/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:18 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com