A Rust program that demonstrates how to trigger a Blue Screen of Death (BSOD) by setting the current process as critical using NtSetInformationProcess.
Download
Description
This program demonstrates a technique to trigger a BSOD by:
- Obtaining process token with necessary privileges
- Enabling debug privileges
- Setting the current process as critical using NtSetInformationProcess
- Closing the program triggers the BSOD
Features
- Uses Windows API functions for process manipulation
- Demonstrates proper error handling
- Sets process as critical for system stability
Dependencies
Usage
- Compile the program using Cargo
- Run the executable
- The program will set itself as critical
- Closing the program will trigger a BSOD
Technical Details
The program uses several Windows API functions:
- OpenProcessToken
- LookupPrivilegeValueA
- AdjustTokenPrivileges
- NtSetInformationProcess
Warning
This program is for educational purposes only. Running it will cause a system crash and data loss. Use with caution and only in controlled environments.
Author
@5mukx