Skip to content

Generic WDM device driver and its application for Windows.

License

Notifications You must be signed in to change notification settings

GKO95/WDM.Device

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WDM.Device

Generic WDM driver designed to test Windows NT kernel-mode behavior.

Test Machine

Setup the configurations listed below to install, run, and debug the driver on a target machine.

BCDEdit

Open an elevated Command Prompt, then enter the following commands:

bcdedit /debug on
bcdedit /set testsigning on

For more information on why this is necessary, visit learn.microsoft.com and read about test signing.

DebugView

DebugView is a Sysinternal utility that monitors debug output. It is highly recommend to run the program with the following options:

  • Run as administrator
  • Disable Capture Win32 (shortcut: CTRL+W)
  • Enable Capture Kernel (shortcut: CTRL+K)

Computer Certificates

While Visual Studio can generate test certificate for signing the driver, this is not necessay and requires additional steps to import the key. However, if you would like to import the key:

  1. Open Run.exe (Win+R) and enter certlm.msc.
  2. Select Trusted Root Certification Authorities, then click Import... option from its context menu.
  3. Browse the WDMDriver.cer file located with the driver package under output directory.
  4. Select Trusted Publisher and repeat the same process.

Device Manager

Since there is no such hardware as "Generic WDM Driver Device," simply adding drivers should not work as the system cannot find appropriate device. Instead, select Add legacy hardware and browse an .inf file to add both the device and the driver.

About

Generic WDM device driver and its application for Windows.

Topics

Resources

License

Stars

Watchers

Forks

Languages