HyperDbg Debugger
|
Access and parse user-mode components of binaries. More...
#include "pch.h"
Functions | |
BOOLEAN | UserAccessAllocateAndGetImagePathFromProcessId (HANDLE ProcessId, PUNICODE_STRING ProcessImageName, UINT32 SizeOfImageNameToBeAllocated) |
Get the image path from process Id. | |
BOOLEAN | UserAccessGetPebFromProcessId (HANDLE ProcessId, PUINT64 Peb) |
Get the process's PEB from process Id. | |
BOOLEAN | UserAccessGetBaseAndEntrypointOfMainModuleIfLoadedInVmxRoot (PPEB PebAddress, BOOLEAN Is32Bit, PUINT64 BaseAddress, PUINT64 Entrypoint) |
If the target process's main module is loaded, it fills the Entrypoint and the BaseAddress. | |
BOOLEAN | UserAccessPrintLoadedModulesX64 (PEPROCESS Proc, BOOLEAN OnlyCountModules, PUINT32 ModulesCount, PUSERMODE_LOADED_MODULE_SYMBOLS ModulesList, UINT32 SizeOfBufferForModulesList) |
Gets the loaded modules details from PEB. | |
BOOLEAN | UserAccessPrintLoadedModulesX86 (PEPROCESS Proc, BOOLEAN OnlyCountModules, PUINT32 ModulesCount, PUSERMODE_LOADED_MODULE_SYMBOLS ModulesList, UINT32 SizeOfBufferForModulesList) |
Gets the loaded modules details from PEB (x86) | |
BOOLEAN | UserAccessPrintLoadedModulesX86_2 (PEPROCESS Proc) |
Print loaded modules details from PEB. | |
BOOLEAN | UserAccessIsWow64ProcessByEprocess (PEPROCESS SourceProcess, PBOOLEAN Is32Bit) |
Detects whether process is 32-bit or 64-bit by using EPROCESS pointer. | |
BOOLEAN | UserAccessIsWow64Process (HANDLE ProcessId, PBOOLEAN Is32Bit) |
Detects whether process is 32-bit or 64-bit. | |
BOOLEAN | UserAccessGetLoadedModules (PUSERMODE_LOADED_MODULE_DETAILS ProcessLoadedModuleRequest, UINT32 BufferSize) |
Get details about loaded modules. | |
BOOLEAN | UserAccessCheckForLoadedModuleDetails (UINT32 CoreId) |
Checks whether the loaded module is available or not. | |
Access and parse user-mode components of binaries.
Access to Portable Executables
BOOLEAN UserAccessAllocateAndGetImagePathFromProcessId | ( | HANDLE | ProcessId, |
PUNICODE_STRING | ProcessImageName, | ||
UINT32 | SizeOfImageNameToBeAllocated ) |
Get the image path from process Id.
This function should be called in vmx non-root for size 512 is enough, if the size is not enough it returns FALSE it's up to the user to deallocate ProcessImageName.Buffer
ProcessId | |
ProcessImageName | |
SizeOfImageNameToBeAllocated |
Checks whether the loaded module is available or not.
CoreId |
BOOLEAN UserAccessGetBaseAndEntrypointOfMainModuleIfLoadedInVmxRoot | ( | PPEB | PebAddress, |
BOOLEAN | Is32Bit, | ||
PUINT64 | BaseAddress, | ||
PUINT64 | Entrypoint ) |
If the target process's main module is loaded, it fills the Entrypoint and the BaseAddress.
This function is safe to be called in vmx non-root
PebAddress | |
Is32Bit | |
BaseAddress | |
Entrypoint |
BOOLEAN UserAccessGetLoadedModules | ( | PUSERMODE_LOADED_MODULE_DETAILS | ProcessLoadedModuleRequest, |
UINT32 | BufferSize ) |
Get details about loaded modules.
This function should be called in vmx non-root
ProcessLoadedModuleRequest | |
BufferSize |
Get the process's PEB from process Id.
This function should be called in vmx non-root
ProcessId | |
Peb |
Detects whether process is 32-bit or 64-bit.
This function should be called in vmx non-root
ProcessId | |
Is32Bit |
Detects whether process is 32-bit or 64-bit by using EPROCESS pointer.
This function should be called in vmx non-root
SourceProcess | |
Is32Bit |
BOOLEAN UserAccessPrintLoadedModulesX64 | ( | PEPROCESS | Proc, |
BOOLEAN | OnlyCountModules, | ||
PUINT32 | ModulesCount, | ||
PUSERMODE_LOADED_MODULE_SYMBOLS | ModulesList, | ||
UINT32 | SizeOfBufferForModulesList ) |
Gets the loaded modules details from PEB.
This function should be called in vmx non-root
Proc | |
OnlyCountModules | |
ModulesCount | |
ModulesList | |
SizeOfBufferForModulesList |
BOOLEAN UserAccessPrintLoadedModulesX86 | ( | PEPROCESS | Proc, |
BOOLEAN | OnlyCountModules, | ||
PUINT32 | ModulesCount, | ||
PUSERMODE_LOADED_MODULE_SYMBOLS | ModulesList, | ||
UINT32 | SizeOfBufferForModulesList ) |
Gets the loaded modules details from PEB (x86)
This function should be called in vmx non-root
Proc | |
OnlyCountModules | |
ModulesCount | |
ModulesList | |
SizeOfBufferForModulesList |
BOOLEAN UserAccessPrintLoadedModulesX86_2 | ( | PEPROCESS | Proc | ) |
Print loaded modules details from PEB.
This function should be called in vmx non-root
Proc |