Open Source · Dependency-Free · Red Team Ready

HydraSoft
Advanced DLL Hijack Scanner

Streamlined vulnerability discovery for Windows privilege escalation — statically analyze PE import tables and pinpoint hijackable DLLs without ProcMon noise.

Platform: Windows Built with Delphi Zero Dependencies GUI + CLI
Zero
Dependencies
0
Modes (GUI + CLI)
PE
Import Analysis
0
Rating Levels

🧠 What Is HydraSoft?

A fast, dependency-free, open-source tool to hunt for DLL hijacking vulnerabilities across Windows environments. When applications load DLLs, Windows follows a strict search order — executable directory first, then System32, Windows folder, and PATH variables.

If an application loads a DLL that doesn't exist in a protected system directory, and you have write permissions to an earlier directory in that chain, you can drop a malicious payload. HydraSoft automates this discovery: it walks directory trees, parses PE import tables, cross-references files on disk, and pinpoints exact hijacking opportunities.

"Find the missing link in the execution chain."

Instead of manually running Process Monitor and sifting through thousands of NAME NOT FOUND events, HydraSoft statically analyzes binaries at rest and delivers immediate, actionable intelligence for Red Team operations.

🖥️ GUI Mode

Point the GUI at a target directory and hit Scan. As HydraSoft parses executables, results populate the tree view in real-time. Expand any vulnerable executable to inspect hijackable DLLs, exported methods to proxy, and the full search-order path with writability flags.

🎨 Complexity Rating System

Color-coded ratings help prioritize targets for crafting proxy DLLs:

🟢 Best

Few imported functions and a small binary footprint. Incredibly easy to build a proxy DLL that stubs out the required exports.

🟡 Good

Moderate complexity. Requires slightly more effort to map exports without crashing the host application.

🔴 Bad

Massive imports or very large binary. Extremely difficult to proxy effectively without causing execution instability.

🚀 Command Line Interface

For automation pipelines and headless environments. Progress routes to stderr; clean JSON/CSV results go to stdout — fully pipe-friendly.

HydraSoft.exe — options
HydraSoft.exe --path <dir> [options]

--path <dir>               Directory to scan (required)
--output <file>            Write to file (.json or .csv). Default: stdout
--image-type any|x86|x64   Filter by architecture
--sign any|signed          Filter by digital signature status
--rate any|best|good|bad   Filter by complexity rating
--write-perm               Only show writable target directories
--best-dll-count <n>       Default: 2
--best-exe-size <n>        KB threshold (default: 10240)
--help

💻 Example Invocations

bash — examples
# Hunt for best, easily exploitable targets → JSON
HydraSoft.exe --path "C:\Program Files" --rate best --output hits.json

# Pipe to jq for vulnerable exe paths
HydraSoft.exe --path "C:\Program Files" | jq '.[].exePath'

# Signed binaries in writable dirs (persistence / bypass)
HydraSoft.exe --path "C:\Tools" --sign signed --write-perm

📊 Scan Pipeline

1 · Target Directory Recursive walk of executables and PE binaries
2 · PE Parser Engine Extract standard & delayed imports · parse UAC manifest
3 · System DLL Filter Exclude System32 / SysWOW64 false positives
4 · Search Order + Writability Evaluate DLL load path · check directory permissions
5 · Export JSON/CSV / GUI Apply complexity rating · render actionable results

✨ Smart Filtering

🛡️

UAC Elevation Detection

Parses application manifests. Binaries requiring requireAdministrator or highestAvailable are flagged — hijacking them is a direct privilege escalation vector.

🧠

False-Positive Reduction

Automatically excludes known system DLLs from System32, SysWOW64, and Windows\System. Analyzes both standard and delayed imports.

📁

Writability Checks

--write-perm filters to hijack targets where you can actually drop a payload — no theoretical-only results.

Pipe-Friendly CLI

Progress on stderr, structured JSON/CSV on stdout. Integrates cleanly with automation, CI pipelines, and jq.

🧰 Technical Specifications

Language
Delphi

Native Windows, no runtime dependencies

Compiler
Delphi XE2+

Open Robber\Robber.dproj and build

Output Formats
JSON · CSV · GUI

CLI and graphical modes included

License
Open Source

Fork · contribute · maintain zero-deps policy

Contribution Guidelines

  1. Fork the repository on GitHub.
  2. Submit PRs focused on performance improvements or Delphi UI enhancements.
  3. Strictly maintain the dependency-free nature of the project.
Auto-download starting…
HydraSoft.zip in 5s