A crate for Windows Security Assement and Windows Security Checks

⚓ Rust    📅 2025-11-16    👤 surdeus    👁️ 7      

surdeus

Hello, Everyone

I published a new awesome crate named winaudit for Windows Security Assement and Windows Security Checks.

This crate can be used for building an tool to Audit Windows System using the crate or if you want security checks for Windows System that require unsafe block and checks that not exist in windows-rs and similar.

Links:

Usage Example for Check is BIOS UEFI:

add first winaudit as a dependency. to your project

PS> cargo add winaudit

and in main.rs

use winaudit::hardwarechecks::is_bios_uefi;

fn main() {
   let uefi = match is_bios_uefi() {
        Ok(b) => b,
        Err(e) => eprintln!("Failed to get BIOS is uefi: {:?}", e),
   };
   if uefi {
      println!("Bios is UEFI");
   }else {
      println!("Bios is Legacy");
   }
}

For get started, Visit the links above to my crate.

1 post - 1 participant

Read full topic

🏷️ Rust_feed