What defense strategy does the article recommend to prevent BSODs caused by terminating a critical process?
Before terminating any process, the defender should check whether it is a critical process by calling `NtQueryInformationProcess` with `ProcessBreakOnTermination`. If the process is critical (value `1`), it must first be set back to a normal process using `NtSetInformationProcess` with `FALSE` before termination. This approach can be automated to query all running processes and mark critical ones, as described in the article’s closing sections.
NtQueryInformationProcessProcessBreakOnTerminationdefensecritical process detection