vulhunt.
Scanning binaries
Single rule
Scan a binary with a single rule and display results in the terminal:CVE-2024-6387.vh to scan the sshd binary. Type libraries and signatures are loaded from ./bias-data, which should contain the required Auxiliary Data. Results are written to results.json and rendered to the terminal with --pretty.
Rule set
Scan a binary against all rules in a directory:UEFI firmware and alternate loaders
Scan a UEFI firmware image using theuefi loader:
ba2 (Binarly Analysis Archive) and bndb (Binary Ninja) loaders. The Binary Ninja loader requires VulHunt to be built with specific support.
Component attributes
Pass additional metadata when scanning individual components:Streaming output
For CI/CD pipelines or large scans, stream results as JSONL:--compress to compress the stream with Zstandard:
Using environment variables
Set common paths once and omit them from individual commands:Starting the MCP server
Themcp subcommand starts a Model Context Protocol server for AI-assisted binary analysis.
HTTP transport
Stdio transport
For integration with tools like Claude Desktop:Binarly Transparency Platform (BTP)
Thebtp subcommand interacts with the Binarly Transparency Platform. All commands require authentication credentials, which can be passed as options or set via environment variables:
Pushing rules
Push a rule pack from local directories to BTP:--platform):
Managing products
List all products:Uploading and scanning
Upload a firmware image and trigger a scan:Monitoring scans
List scans for an image:Retrieving results
Get findings for an image:Querying BA2 archives
Theba2 subcommand inspects and extracts components from Binarly Analysis Archives.