Skip to content

0x7f9/blue-screen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

Windows BSOD

This project was inspired from a undocumented function in ntdll.dll. The function is based in C# but using ctypes python makes it possible

Link to undocumented function

C# Sample Code:
    Console.Write("Press any key to trigger a BSOD.");
    Console.ReadKey();
    RtlAdjustPrivilege(19, true, false, out bool previousValue);
    NtRaiseHardError(0xC0000420, 0, 0, IntPtr.Zero, 6, out uint Response);
  • Supports compiling using pyinstaller and Nuitka
  • Removes itself from execution directory automatically

Restart prestance

Modify Line 15:

executable = "BSOD.exe.malz" to "executable = "BSOD.exe"

note this will cause it to BSOD on start up there is a very small window for deleting it

Disclaimer

This tool is intended for educational purposes and has been developed for troubleshooting the identification of BSOD (Blue Screen of Death) causes. Its usage for any illegal activities is strictly prohibited, as it is meant exclusively for educational purposes.

About

Windows Blue Screen OF Death in python

Resources

Stars

Watchers

Forks

Languages