Search code examples
c++driverwindows-7-x64wdk

Whether my own driver needs digital signing in Windows 7 x64


I have created driver to hook ssdt on windows 7 x64. I have one doubt whether I need to digitally sign my driver to install in kernel mode on x64 or else I need just windows drive kit to install it.

Is there any other code or commmands to install a driver in kernel mode other than the Windows Driver Kit(WDK) ?


Solution

  • To install a driver you can use the built-in command-line tool sc.exe. For example:

    sc create MyDriver type= kernel binPath= c:\mydriver.sys
    

    ATTENTION: You shouldn't hook SSDT on x64 because of The Patch Guard.