30.07.2014 Views

Attacking the Vista Heap - 2008

Attacking the Vista Heap - 2008

Attacking the Vista Heap - 2008

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Arbitrary Free II - Generic<br />

1. Attacker sets X to point to chunk Y, where<br />

Y is an important chunk for <strong>the</strong> application<br />

2. Attacker triggers <strong>Heap</strong>Free on X<br />

3. Chunk Y is freed, application still using it<br />

4. Attacker triggers allocation of size(Y)<br />

5. Allocator returns Y (say into variable Z)<br />

6. Attacker makes application use Z to<br />

overwrite Y

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!