Find Kernel Module Address
Method 1: Query system information
NTSYSAPI
NTSTATUS
NTAPI
ZwQuerySystemInformation(
IN SYSTEM_INFORMATION_CLASS SystemInformationClass,
OUT PVOID SystemInformation,
IN ULONG SystemInformationLength,
OUT PULONG ReturnLength OPTIONAL
);status = ZwQuerySystemInformation( SystemModuleInformation, 0, bytes, &bytes );
pMods = (PSYSTEM_MODULE_INFORMATION)ExAllocatePoolWithTag( NonPagedPool, bytes, 'tag');
RtlZeroMemory( pMods, bytes );
status = ZwQuerySystemInformation( SystemModuleInformation, pMods, bytes, &bytes );Method 1.5: Query system information(Aux_Klib)
Method 2: Traverse system module list
Find PsLoadedModuleList
Find specified module
Method 3: Through Driver Name
Last updated