i used Windbg to see KeAddSystemServiceTable.
i canot find KeServiceDescriptorTableShadow. So i can find KeServiceDescriptorTableShadow some where? i grateful for an answer :|
On WIndows 10 another Version( build 10240 ), I have found as below:
i canot find KeServiceDescriptorTableShadow. So i can find KeServiceDescriptorTableShadow some where? i grateful for an answer :|
Code: Select all
u KeAddSystemServiceTable
nt!KeAddSystemServiceTable:
81ff1f10 8bff mov edi,edi
81ff1f12 55 push ebp
81ff1f13 8bec mov ebp,esp
81ff1f15 837d1801 cmp dword ptr [ebp+18h],1
81ff1f19 7533 jne nt!KeAddSystemServiceTable+0x3e (81ff1f4e)
81ff1f1b 833d1053e98100 cmp dword ptr [nt!KeServiceDescriptorTable+0x10 (81e95310)],0
81ff1f22 752a jne nt!KeAddSystemServiceTable+0x3e (81ff1f4e)
81ff1f24 833dd052e98100 cmp dword ptr [nt!KeNumberProcessors+0x36 (81e952d0)],0
kd> u
nt!KeAddSystemServiceTable+0x1b:
81ff1f2b 7521 jne nt!KeAddSystemServiceTable+0x3e (81ff1f4e)
81ff1f2d 8b4d08 mov ecx,dword ptr [ebp+8]
81ff1f30 b001 mov al,1
81ff1f32 890dd052e981 mov dword ptr [nt!KeNumberProcessors+0x36 (81e952d0)],ecx
81ff1f38 8b4d10 mov ecx,dword ptr [ebp+10h]
81ff1f3b 890dd852e981 mov dword ptr [nt!KeNumberProcessors+0x3e (81e952d8)],ecx
81ff1f41 8b4d14 mov ecx,dword ptr [ebp+14h]
81ff1f44 890ddc52e981 mov dword ptr [nt!KeNumberProcessors+0x42 (81e952dc)],ecx
kd> u
nt!KeAddSystemServiceTable+0x3a:
81ff1f4a 5d pop ebp
81ff1f4b c21400 ret 14h
81ff1f4e 32c0 xor al,al
81ff1f50 ebf8 jmp nt!KeAddSystemServiceTable+0x3a (81ff1f4a)
On WIndows 10 another Version( build 10240 ), I have found as below:
Code: Select all
kd> u KeAddSystemServiceTable
nt!KeAddSystemServiceTable:
81deb1e6 8bff mov edi,edi
81deb1e8 55 push ebp
81deb1e9 8bec mov ebp,esp
81deb1eb 837d1801 cmp dword ptr [ebp+18h],1
81deb1ef 7533 jne nt!KeAddSystemServiceTable+0x3e (81deb224)
81deb1f1 833dd0e2c78100 cmp dword ptr [nt!KeServiceDescriptorTable+0x10 (81c7e2d0)],0
81deb1f8 752a jne nt!KeAddSystemServiceTable+0x3e (81deb224)
81deb1fa 833d90e2c78100 cmp dword ptr [nt!KeServiceDescriptorTableShadow+0x10 (81c7e290)],0
kd> u
nt!KeAddSystemServiceTable+0x1b:
81deb201 7521 jne nt!KeAddSystemServiceTable+0x3e (81deb224)
81deb203 8b4d08 mov ecx,dword ptr [ebp+8]
81deb206 b001 mov al,1
81deb208 890d90e2c781 mov dword ptr [nt!KeServiceDescriptorTableShadow+0x10 (81c7e290)],ecx
81deb20e 8b4d10 mov ecx,dword ptr [ebp+10h]
81deb211 890d98e2c781 mov dword ptr [nt!KeServiceDescriptorTableShadow+0x18 (81c7e298)],ecx
81deb217 8b4d14 mov ecx,dword ptr [ebp+14h]
81deb21a 890d9ce2c781 mov dword ptr [nt!KeServiceDescriptorTableShadow+0x1c (81c7e29c)],ecx
kd> u
nt!KeAddSystemServiceTable+0x3a:
81deb220 5d pop ebp
81deb221 c21400 ret 14h
81deb224 32c0 xor al,al
81deb226 ebf8 jmp nt!KeAddSystemServiceTable+0x3a (81deb220)
Last edited by EP_X0FF on Wed Nov 25, 2015 4:27 pm, edited 1 time in total.
Reason: Do not use red color, it is reserved for use by mods/admins