在Win32下,FS段寄存器指向当前的TEB结构,在TEB编译0x30处是PEB指针,通过这个指针即可获得PED的地址。
实现方法:
__asm
{
mov eax, fs:[0x30]
mov PED, eax
}
TEB
2015-04-22