Enable non-signed drivers to be loaded and ran under Windows
“Recents” Windows (from XP up to 10) force by default drivers to be signed (i.e. by Verisign) in order to be launched. This behavior, which has greatly reduced the attack surface for malware creators, can be a hindrance when you want to develop custom drivers. Here’s how to disable it.
open an admin prompt and type :
shutdown.exe /r /f /o /t 00
in order to restart under advanced startup. After rebooting, click on “Troubleshooting”, then “Advanced options”; “Startup Options” and finally click on “Restart”.
After the second reboot, you have access to startup settings where you can disable driver signature enforcement by pressing F7.
The method under Win7 is a little hairier. Like before, open an admin prompt and type :
bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING ON
If it does not work, find the registry key
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Driver Signing] and set
Easy : type
make menuconfig and look for the
Enable loadable kernel module option to disable it.
Then you just have to recompile your kernel. Yep.
You can also generate a key and sign every kernel modules using your key.