Invoke Blue Screen of Death using Managed Code

后端 未结 11 2208
轮回少年
轮回少年 2020-12-30 01:25

Just curious here: is it possible to invoke a Windows Blue Screen of Death using .net managed code under Windows XP/Vista? And if it is possible, what could the example code

11条回答
  •  佛祖请我去吃肉
    2020-12-30 01:53

    This one doesn't need any kernel-mode drivers, just a SeDebugPrivilege. You can set your process critical by NtSetInformationProcess, or RtlSetProcessIsCritical and just kill your process. You will see same bugcheck code as you kill csrss.exe, because you set same "critical" flag on your process.

提交回复
热议问题