Are there any other techniques than NtLoadDriver / NtSetSystemInformation(SYSTEM_LOAD_AND_CALL_IMAGE) to load a kernel driver?
Hello,
well, there are also AddPrinterDriver and FilterLoad functions but they AFAIK lead to a call to the ZwLoadDriver (from kernelmode but I know of no security hole there). The same situation is with the StartService API (NtLoadDriver by services.exe).
THe NtSetSystemInformation method IMHO does not work since Windows Server 2003 (WXP x64). It is used to load win32k.sys only and there are specific checks to ensure that you no other driver gets loaded.
EDIT: BBCodes