Loading...
Loading...
Guide for Windows kernel security research including driver development, system callbacks, security features, and kernel exploitation. Use this skill when working with Windows drivers, PatchGuard, DSE, or kernel-level security mechanisms.
npx skill4agent add gmh5225/awesome-game-security windows-kernel-security- Protects critical kernel structures
- Periodic verification checks
- BSOD on tampering detection
- Multiple trigger mechanisms- Requires signed drivers
- CI.dll verification
- Test signing mode
- WHQL certification- VBS-based protection
- Kernel code integrity
- Driver compatibility requirements
- Memory restrictions- UEFI-based boot verification
- Boot loader chain validation
- Kernel signature checks
- DBX (forbidden signatures)PsSetCreateProcessNotifyRoutine
PsSetCreateProcessNotifyRoutineEx
PsSetCreateProcessNotifyRoutineEx2PsSetCreateThreadNotifyRoutine
PsSetCreateThreadNotifyRoutineExPsSetLoadImageNotifyRoutine
PsSetLoadImageNotifyRoutineExObRegisterCallbacks
// OB_OPERATION_HANDLE_CREATE
// OB_OPERATION_HANDLE_DUPLICATECmRegisterCallback
CmRegisterCallbackExFltRegisterFilter
// IRP_MJ_CREATE, IRP_MJ_READ, etc.NTSTATUS DriverEntry(
PDRIVER_OBJECT DriverObject,
PUNICODE_STRING RegistryPath
) {
DriverObject->DriverUnload = DriverUnload;
DriverObject->MajorFunction[IRP_MJ_CREATE] = DispatchCreate;
DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = DispatchIoctl;
// Create device, symbolic link...
return STATUS_SUCCESS;
}- gdrv.sys (Gigabyte)
- iqvw64e.sys (Intel)
- MsIo64.sys
- Mhyprot2.sys (Genshin Impact)
- dbutil_2_3.sys (Dell)
- RTCore64.sys (MSI)
- Capcom.sys- InfinityHook technique
- HalPrivateDispatchTable
- System call tracing- Modify service table entries
- Requires PG bypass
- High detection risk- Hook driver dispatch routines
- Less monitored than SSDT
- Per-driver targetingMmMapIoSpace
MmCopyMemory
\\Device\\PhysicalMemoryZwReadVirtualMemory
ZwWriteVirtualMemory
KeStackAttachProcess
MmCopyVirtualMemoryIoAllocateMdl
MmProbeAndLockPages
MmMapLockedPagesSpecifyCache- EFI runtime services
- Boot driver loading
- Pre-OS execution- GetVariable/SetVariable
- Runtime memory mapping
- Physical memory accesshttps://raw.githubusercontent.com/gmh5225/awesome-game-security/refs/heads/main/README.md