A blazingly fast, multi-threaded TUI malware analysis tool built in Rust. Features deep PE parsing, YARA scanning, and heuristic risk scoring.
A blazingly fast, multi-threaded TUI malware analysis tool built in Rust. Features deep PE parsing, YARA scanning, and heuristic risk scoring.
Hacksguard is a blazingly fast, multi-threaded Terminal UI (TUI) static analysis tool designed for SOC analysts, threat hunters, and reverse engineers. Built entirely in Rust, it provides an intuitive dashboard for quick triage and deep inspection of Windows (PE), Linux (ELF), and macOS (Mach-O & Universal Fat) binaries right from your terminal.
boreal crate, Hacksguard dynamically loads local YARA rules (e.g., Elastic protections-artifacts and Neo23x0 signature-base) to detect known threats, packers, and evasion techniques.MZ...PE), DOS stubs, and URLs hidden inside overlays or high-entropy sections.syscall, sysenter, int 0x80) and ARM64 supervisor calls (svc #0 on Linux AArch64, svc #0x80 on macOS ARM64)./) and category shortcuts (u/i/r/c/s/p/a).iced-x86, ARM64 instruction word formatting with syscall highlighting) or dive into raw bytes with the Hex Dump viewer.y): Instant zero-dependency copy of hashes and strings to system clipboard via ANSI OSC 52 sequences.hacksguard --json to bypass the terminal UI and export the full analysis report as a structured JSON object for SIEM/SOAR integrations.Make sure you have Rust and Cargo installed. Clone the repository with its submodules:
git clone --recursive https://github.com/Rhacknarok/hacksguard.git
cd hacksguard
cargo build --releaseIf already cloned without submodules:
git submodule update --init --recursive
cargo build --releaseThe compiled binary will be available at target/release/hacksguard.
For Nix or NixOS users is a package
available in Nixpkgs. Keep in mind that the lastest releases might only
be present in the unstable channel.
$ nix-env -iA nixos.hacksguardRun Hacksguard by providing the path to the executable you want to analyze:
cargo run --release -- Tab / Right Arrow: Next TabShift+Tab / Left Arrow: Previous TabUp / Down / k / j: ScrollPageUp / PageDown: Fast Scroll/: Interactive Search (live filter across Strings, Imports, Sections)y: Copy to Clipboard (OSC 52 - copies active hash or string)u / i / r / c / s / p / a: Quick category filter in Strings view (URLs, IPs, Reg, Cmd, Suspicious, Path, All)Esc: Clear search / category filter (or Quit if clean)q: Quitratatui & crossterm - TUI renderinggoblin - PE/ELF/Mach-O parsingboreal - Pure Rust YARA engineiced-x86 - DisassemblerNo open issues yet, or sync has not completed.