Debugging with File Operations
Objectives
- Once our application is free from
NtWaitForSingleObject
initialized by Session Manager, the Windows boot sequence continues, making screen printing impossible. We need an alternative method to debug data after the Windows boot. - Significant events occur after the Windows boot sequence continues; for instance, the registry hives become accessible almost immediately.
- We aim to debug data from the third user-mode process until the Windows logon screen appears.
Native File I/O APIs
The file debugging functions I created use the following Native File APIs:
These methods are part of my Native Template, which you can find here: Native Application Template
I mention this because our initial execution halts the Windows boot sequence. To continue and persist, we need a method to bypass the halt caused by Windows.