Robber is open source tool for finding executables prone to DLL hijacking
Free, open source tool for finding DLL hijacking opportunities in Windows executables. No third-party dependencies.
Windows loads DLLs by searching a fixed set of directories in order — the executable’s own directory first, then System32, Windows, PATH entries. If a DLL isn’t found in a system directory, an attacker who can write to an earlier directory in that chain can drop a malicious copy and have it loaded instead.
Robber walks a directory tree, checks each executable’s import table against what’s actually on disk, and tells you which ones are worth looking at and why.
Point it at a directory, hit Scan. Results show up in the tree as they’re found — expand any executable to see which DLLs are hijackable, what methods they export, and the full search order with writability flags for each directory.
The Color Config panel controls the thresholds for Best/Good/Bad ratings:
Use the filters to narrow results by architecture, signing status, severity, or whether the executable’s directory is actually writable. Hit Export when done to save as JSON or CSV.
Settings and the last scan path are remembered between sessions.
Robber.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
--sign any|signed
--rate any|best|good|bad
--write-perm Only show results in writable directories
--best-dll-count <n> (default: 2)
--best-exe-size <n> KB threshold (default: 10240)
--good-dll-count <n> (default: 5)
--good-exe-size <n> KB threshold (default: 51200)
--help
Progress goes to stderr, results to stdout — pipe-friendly.
Robber.exe --path "C:\Program Files" --rate best --output hits.json
Robber.exe --path "C:\Program Files" | jq '.[].exePath'
Robber.exe --path "C:\Tools" --sign signed --write-perm
msvcr120.dllrequireAdministrator / highestAvailable) are flagged — a hijack on an elevated process is a privilege escalation, not just code executionDelphi XE2 or later. Open Robber\Robber.dproj, build. Nothing else needed.