Quantcast
Channel: BOT24
Viewing all articles
Browse latest Browse all 8064

DEPS – Precise Heap Spray on Firefox and IE10

$
0
0

Last week, while doing my bi-weekly courseware review and update, I discovered that my heap spray script for Firefox 9 no longer works on recent versions.  Looking back at the type of tricks I had to use to make a precise spray work under Firefox 9 and IE 9, and realizing that these changes don’t seem to have any useful effect on Firefox or IE 10, I think it’s fair to state that we can no longer rely on classic BSTR string allocations to perform a precise heap spray, or any heap spray for that matter.

On top of that, the Firefox 9 heap spray was not only ugly, it was also pretty slow, which might be a deal-breaker for reliable exploitation.  If the user gets the chance to kill the browser process before the spray has finished and the bug is triggered, you won’t be greeted with a  shell.

Of course, that doesn’t mean it is now impossible to perform a precise heap spray in modern browsers.   Federico Muttis and Anibal Sacco from Core security recently published the results of their research on HTML5 spraying, which offers a great way to take advantage of new technology to perform heap allocations in modern browsers.  The advantage of their technique is that HTML5 is not limited to just IE or Firefox, since it also works on Webkit based browsers such as Google Chrome and Safari.  Federico & Anibal were kind enough to provide me with the source of their script to create html5 based spray routines. You can download the script at http://redmine.corelan.be/projects/corelan-heapspray/files (HTML5Spray.zip).  Anyways, I decided not to use HTML5 and wanted to try something different.

read more.........https://www.corelan.be/index.php/2013/02/19/deps-precise-heap-spray-on-firefox-and-ie10/

Viewing all articles
Browse latest Browse all 8064

Trending Articles