Skip to content

{ Category Archives } debugging

Access the kernel space with PyDbgEng

One year ago, I wrote a Chinese article , now I port the implementation to the PyDbgExt project, so we can directly access the kernel space in python. >>> from PyDbgEng import *>>> c = DebugClient()>>> c.AttachKernel()>>> c.Control.WaitForEvent()True>>> c.Symbols.LoadedModules{‘nt’: (Module nt @ ffffffff80800000)}>>> c.Symbols.GetSymbols(“nt!KiServiceTable”){‘KiServiceTable’: ((Symbol nt!KiServiceTable), 0)}>>> offset = c.Symbols.GetSymbols(“nt!KiServiceTable”).popitem()[1][0].Offset>>> c.Symbols.GetSymbols(c.DataSpaces.Virtual.ReadPointers(offset)[0]){‘NtAcceptConnectPort’: ((Symbol nt!NtAcceptConnectPort), 18446744071571636794L)} To [...]

Dump Windows Service Table in WinDbg

buri write a great article show how to use the built-in script language in WinDbg to do a real job: dump the windows service table. But this script is short of readability, because the build-in script in WinDbg is very strange like its command design. So, why we can’t implement it more easy and readable, [...]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes