Rust-for-Malware-Development

RtlAdjustPrivilege BSOD

A Rust program that demonstrates how to trigger a Blue Screen of Death (BSOD) using RtlAdjustPrivilege and NtRaiseHardError.

Download

Description

This program demonstrates a technique to trigger a BSOD by:

  1. Using RtlAdjustPrivilege to enable system privileges
  2. Raising a hard error using NtRaiseHardError
  3. Direct interaction with ntdll.dll functions

Features

Dependencies

Usage

  1. Compile the program using Cargo
  2. Run the executable
  3. BSOD will be triggered immediately

Technical Details

The program uses two main functions from ntdll.dll:

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