滴水逆向联盟

标题: To kernel driver monitoring process developed in Windows8 create using Visual... [打印本页]

作者: 大灰狼    时间: 2014-9-26 08:44
标题: To kernel driver monitoring process developed in Windows8 create using Visual...
In Windows NT, the 80386 protected mode "protection" is more robust than Windows 95, the "gilded cage" more solid, more difficult to break. In Windows 95, at least the application I / O operation is unrestricted, Windows NT application even this permission are deprived. Less likely to enter in the NT almost real ring0 layer.
In Windows NT, there are three Device Driver:
  1. "Virtual device Driver" (VDD). VDD, 16-bit applications, such as DOS and Win16 applications can access specific I / O ports (Note, not direct access, but to VDD to access).
  2. "GDI Driver", display and print the necessary GDI functions.
  3. "Kernel Mode Driver", the operation of specific hardware, for example, CreateFile, CloseHandle (file object), ReadFile, WriteFile, the DeviceIoControl other operations. "Kernel Mode Driver" Windows NT hardware interrupt and DMA operation Driver. SCSI port driver and NIC NDIS driver Kernel Mode Driver is a special form.


Visual studio2012 Windows8 bring new experience exceptionally different

1.Start Vs2012


2. Seen everywhere driven development template


3.Select a drive mode, there are two types of kernel mode and user mode driver



4 Create a driver, KMDF DriverMVP



We choose a kernel mode driver Below is created after the success of the interface are the driver, and the driver installation package


Press F5, select the drive compile





Insert the following code to the kernel process creation


[cpp] view plaincopy





ring3 application layer calls to get the monitoring process creation


[cpp] view plaincopy









欢迎光临 滴水逆向联盟 (http://www.dtdebug.com/) Powered by Discuz! X3.2