Rust-for-Malware-Development

NtSetInformationProcess BSOD

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:

  1. Obtaining process token with necessary privileges
  2. Enabling debug privileges
  3. Setting the current process as critical using NtSetInformationProcess
  4. Closing the program triggers the BSOD

Features

Dependencies

Usage

  1. Compile the program using Cargo
  2. Run the executable
  3. The program will set itself as critical
  4. Closing the program will trigger a BSOD

Technical Details

The program uses several Windows API functions:

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