Hi
I've built a driver to get the address for the PEB for a specific process and i know (in XP) that the address should look something like 7ffdf000.
when i use inline assembly in user mode: mov eax,fs:[0x30] it works good but when i get it from kernel mode i get kernel space address (above 0x80000000)
so my question is, does the peb address pointed by the PEB field at EPROCESS Structure store the address (in user mode) for the current process? or it has a different value as i got it?
because i want to get the PEB from the EPROCESS but the address doesn't make any sense.
I've built a driver to get the address for the PEB for a specific process and i know (in XP) that the address should look something like 7ffdf000.
when i use inline assembly in user mode: mov eax,fs:[0x30] it works good but when i get it from kernel mode i get kernel space address (above 0x80000000)
so my question is, does the peb address pointed by the PEB field at EPROCESS Structure store the address (in user mode) for the current process? or it has a different value as i got it?
because i want to get the PEB from the EPROCESS but the address doesn't make any sense.