Jump to content
Nytro

On the Effectiveness of AddressSpace Randomization

Recommended Posts

Posted

On the Effectiveness of AddressSpace Randomization

ABSTRACT

Address-space randomization is a technique used to fortify

systems against buer over

ow attacks. The idea is to in-

troduce articial diversity by randomizing the memory lo-

cation of certain system components. This mechanism is

available for both Linux (via PaX ASLR) and OpenBSD.

We study the eectiveness of address-space randomization

and nd that its utility on 32-bit architectures is limited by

the number of bits available for address randomization. In

particular, we demonstrate a derandomization attack that

will convert any standard buer-over

ow exploit into an ex-

ploit that works against systems protected by address-space

randomization. The resulting exploit is as eective as the

original exploit, although it takes a little longer to compro-

mise a target machine: on average 216 seconds to compro-

mise Apache running on a Linux PaX ASLR system. The

attack does not require running code on the stack.

We also explore various ways of strengthening address-

space randomization and point out weaknesses in each. Sur-

prisingly, increasing the frequency of re-randomizations adds

at most 1 bit of security. Furthermore, compile-time ran-

domization appears to be more eective than runtime ran-

domization. We conclude that, on 32-bit architectures, the

only benet of PaX-like address-space randomization is a

small slowdown in worm propagation speed. The cost of

randomization is extra complexity in system support.

Download:

http://benpfaff.org/papers/asrandom.pdf

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...