FirstDriver
August 1, 2025 ยท View on GitHub
Simple driver projects, posted to GitHub to share pieces of code within my CheatSheet.
Examples
- SendDriver - Receives data from sendclient
- IoCreateDevice - Create device object
- IoCreateSymbolicLink - Create symbolic link for the client to communicate with
- IoGetCurrentIrpStackLocation - Get a pointer to I/O stack location
- Read the message from
Irp->AssociatedIrp.SystemBuffer - IofCompleteRequest - Complete I/O operations
- SendClient - Sends data to driver
- CreateFileW - Open a handle to the driver using symbolic link
- DeviceIoControl - Send control code to the driver
- GetDriver - Send data to getclient
- IoCreateDevice - Create device object
- IoCreateSymbolicLink - Create symbolic link for the client to communicate with
- IoGetCurrentIrpStackLocation - Get a pointer to I/O stack location
- RtlCopyMemory - Copy the message into Systembuffer to be send to user-mode
- IofCompleteRequest - Complete I/O operations
- GetClient - Receives data from driver
- CreateFileW - Open a handle to the driver using symbolic link
- ReadFile - Read data from the driver