mirror of
https://codeberg.org/smukx/Rust-for-Malware-Development
synced 2026-06-06 20:22:59 +00:00
Rust-for-Malware-Development is an collection of proof of concepts with techniques and advanced evasion methods
NTSD Winlogon BSOD
A Rust program that demonstrates how to trigger a Blue Screen of Death (BSOD) by attaching NTSD debugger to the winlogon.exe process.
Description
This program demonstrates a technique to trigger a BSOD by:
- Finding the process ID of winlogon.exe
- Attaching NTSD debugger to the process
- Using command-line manipulation to trigger the crash
- Hiding the console window during execution
Features
- Process enumeration and identification
- Debugger attachment technique
- Silent execution with hidden console
- Process manipulation through NTSD
Dependencies
- winapi
Usage
- Compile the program using Cargo
- Run the executable
- The program will automatically find winlogon.exe and attach NTSD
- BSOD will be triggered through debugger manipulation
Technical Details
The program uses several Windows API functions:
- CreateToolhelp32Snapshot
- Process32First/Process32Next
- GetConsoleWindow
- ShowWindow
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