In association with heise online

25 January 2013, 08:54

Worth Reading: Bypassing Windows' Address Space Layout Randomisation

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

Worth Reading Modern operating systems randomise all memory addresses (Address Space Layout Randomisation). Libraries loaded into memory, for example, are loaded into memory with random offsets. The result is that simply discovering a buffer overflow in a browser and so gaining control over the instruction pointer is not sufficient to allow attackers to execute their own code. Exploit writers are faced with the problem of where to jump to.

Kingcope has demonstrated an astonishingly simple trick for ensuring that a DLL is loaded to a specific, known memory address. Using a little JavaScript, he first fills almost all of the system's memory. He then frees it up bit by bit until the DLL required to run an ActiveX control just fits. The DLL is then loaded to a predictable memory address and the exploit writer can jump to specific code fragments.

(djwm)

Print Version | Send by email | Permalink: http://h-online.com/-1791201
 


  • July's Community Calendar





The H Open

The H Security

The H Developer

The H Internet Toolkit