This repo has my solutions for exercises specified inside the "Windows Kernel Development" book written by Pavel Yosifovich (which is more than recommended :)).
-
Install VS19
-
Install Windows SDK
-
Install Windows Driver Kit
-
Install WinDbg Preview
-
Download Sysinternals
-
Download Spectre Mitigation requirements
-
Download and create VM (I'm using Hyper-V)
- Run the following commands inside the VM:
bcdedit /debug on
bcdedit /dbgsettings serial debugport:1 baudrate:115200
- Restart
- Create a COM Port
- Check if COM Port created using:
Get-VMComPort <VM_NAME>
- Enable test signing (for loading unsigned drivers)
bcdedit /set testsigning on
- Restart the machine
- Enable kernel logging: 7.1. Open registry key HKLM\SYSTEM\CurrentControlSet\Control\Session Manager 7.2. Create new Key - Debug Print Filter 7.3. Create new DWORD value DEFAULT = 0x8
- Restart the machine
- Open DbgView.exe and set Capture Kernel using Ctrl+K.