Skip to content

clap-dev/Bluescreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Bluescreen of Death

This is a very basic implementation on how to replicate a BSOD (Bluescreen of Death), using Python and Ctypes.

screen-gif

Usage

python bluescreen.py

How does it work?

I won't go too far into detail as this is pretty basic. We are calling RtlAdjustPrivilege to give our process shutdown privileges. After that, we raise a STATUS_NOT_IMPLEMENTED error with NtRaiseHardError, essentially telling our computer that there was an issue and a status was not completed. This causes a BSOD as when we call NtRaiseHardError, it internally sends a HARDERROR_MSG to the Local Inter-Process Communication Server, resulting in a BSOD.

Sources

  1. RtlAdjustPrivilege

  2. NtRaiseHardError

  3. STATUS_NOT_IMPLEMENTED

  4. HARDERROR_MSG

  5. Local Inter-Process Communication Server

About

Replicate a BSOD using Python and Ctypes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages