Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

just wondering if I can get base address via driver also.. the default one works on stuff that doesn't have kernel anti cheats. #1

Open
gurachan opened this issue Aug 29, 2021 · 1 comment

Comments

@gurachan
Copy link

No description provided.

@kkent030315
Copy link
Owner

SystemHandleInformation HandleTableEntry->Object contains process PEPROCESS pointer of its process handle

void* buffer;
libmhyprot::read_kernel_memory<void*>(
    HandleTableEntry->Object + OffsetSectionBaseAddressDependsNtosVer,
    &buffer,
    sizeof(void*));
; ntoskrnl.exe 10.0.19041.928
PsGetProcessSectionBaseAddress proc near
mov rax, [rcx+520h] ; PEPROCESS->SectionBaseAddress
ret
PsGetProcessSectionBaseAddress endp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants