05.11.2016 Views

ATTACKING WINDOWS BY WINDOWS

eu-16-Liang-Attacking-Windows-By-Windows

eu-16-Liang-Attacking-Windows-By-Windows

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Window Extra Data<br />

• Two APIs:<br />

LONG WINAPI SetWindowLongW( HWND hWnd, int nIndex, LONG dwNewLong);<br />

LONG WINAPI GetWindowLongW( HWND hWnd, int nIndex);<br />

tagWND<br />

+0x000 head<br />

+0x058 spwndParent<br />

sizeof(tagWND)<br />

+0x090 lpfnWndProc<br />

+0x0d8 strName<br />

cbwndExtra<br />

+0x0e8 cbwndExtra<br />

……………………………………<br />

Window Extra Data<br />

nIndex

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

Saved successfully!

Ooh no, something went wrong!