![]() |
|
|
|
#1
|
|||
|
|||
|
PEB is present starting from NT+.
The exact implementation of the structure is different. You can extract it from PDB-files using pdb-dump by de Quency. |
|
#2
|
|||
|
|||
|
Here's a little searching project for you all. The de Quincy article is available on "Searchlore" and his utility is available on "Sourceforge."
Regards,
__________________
JMI |
|
#3
|
|||
|
|||
|
PEB detection
As opposed in a concurrent thread (initial register values), the PEB can easily be retrieved with the following (VC) C++ code:
void *PEB = NULL; __asm { mov eax,fs:[0x30] mov PEB,eax } On windows 2000 it is constantly 0x7ffdf000 regards, PHaX |
|
#4
|
|||
|
|||
|
My dear JMI, no need to go to Sourceforge
![]() http://wasm.ru/tools/21/pdbdump.zip + DIA SDK: http://wasm.ru/tools/4/dia.zip |
|
#5
|
|||
|
|||
|
volodya:
I already knew that these utilities were available in many places. I was merely intending to encourage people to learn better how to search. I also thought some might like to actually read de Quincy's article.Regards,
__________________
JMI Last edited by JMI; 05-15-2004 at 03:14. |
|
#6
|
|||
|
|||
|
Hi volodya !
I have try to use pdbdump with ntdll.dbg and ntdll.pdb, but the output is only the name of public, import, export symbols... We don't have the layout or struct define of PEB. Regards |
|
#7
|
|||
|
|||
|
Try ntoskrnl.pdb.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Patch (IL Edit) of Assembles loaded from Resource | cracki | General Discussion | 18 | 01-14-2024 00:26 |
| Olly Crash when this simple app loaded... | kunam | General Discussion | 6 | 10-10-2023 21:00 |
| Working with multiple modules when reversing | maktm | General Discussion | 2 | 04-19-2015 06:46 |
| Runtime Error R6002 - Floating point not loaded | MrGneissGuy's | General Discussion | 1 | 09-14-2009 03:08 |
| Detection/Signature for Corba/Com/Dcom/Activex Modules | nulli | General Discussion | 2 | 11-27-2005 18:41 |