Binary analysis engine

Ghidra for
AI agents.

Load PE, ELF, or Mach-O. Aletheia lifts four architectures to a SSA IR, decompiles to typed C, and investigates potential vulnerabilities with taint, concolic execution, and hybrid fuzzing — 160 MCP tools.

Apple silicon: macOS 26+. Intel: macOS 15+. Docker Desktop is required for local analysis. A Windows installer is not available yet. Start on Free; managed model turns use your own provider profile. New Pro subscriptions are temporarily paused.

160 MCP tools across 27 modules — structured JSON for every capability
Internal CTF regression: 16/18 findings; 10/18 replay-bound proofs
SSA-form decompilation with Cooper-Harvey-Kennedy dominance
How It Works

From raw binary to structured intelligence

Review findings in the native macOS desktop, then give agents structured access through 160 MCP tools.

Step 01

Load

Parse ELF, PE, and Mach-O binaries. Extract sections, symbols, DWARF debug info, and relocations automatically.

Step 02

Disassemble

Decode x86-64, x86-32, ARM64, and ARM32 instructions, discover functions via recursive descent, and build control flow graphs with petgraph.

Step 03

Lift & Decompile

Lift to custom IR with 42 operations plus an unsupported-instruction marker, and explicit flag modelling (EFLAGS, NZCV). Construct SSA form via Cytron phi insertion. Decompile to typed C with struct reconstruction.

Step 04

Detect & Verify

Automated vulnerability scanning across 14 CWE classes with CVSS scoring. Concolic analysis can produce replay-bound witnesses for supported findings. Hybrid fuzzing with LLM-guided search. MITRE ATT&CK-mapped evasion detection. SARIF 2.1.0 export.

Inside the Engine

From asm to typed C, through SSA

Aletheia lifts machine instructions into an IR with 42 operations plus an unsupported-instruction marker (AletheiaIR), converts to SSA so every definition has a unique name, and inserts a φ-node at every control-flow merge. The phi-node is what lets type recovery and the decompiler emit clean, typed C — not because the math is fancy, but because it has a precise data-flow story to tell.

FIG. 01 AletheiaIR · SSA construction Cytron 1991 · CHK dominance frontier
AletheiaIR SSA construction On the left, a column of x86-64 instructions: cmp, jle, mov, jmp. On the right, the same control flow rendered as a four-block CFG in SSA form. RAX is versioned across blocks: RAX_1 in the then block, RAX_2 in the else block, and a phi-node at the merge block selects RAX_3 from the two predecessor versions. [A] x86-64 · iced-x86 decode_func 0x401230 push rbp 0x401231 mov rbp, rsp 0x401234 cmp edi, 0 0x401237 jle .else 0x401239 mov eax, 1 0x40123e jmp .merge .else: 0x401240 mov eax, 2 .merge: 0x401245 pop rbp 0x401246 ret 11 instr · 4 bb arch: x86_64 bytes: 0x17 lift 43 ops [B] AletheiaIR · SSA phi insertion at dominance frontier true false bb_0 · entry cmp_eq ZF, RDI_0, 0 cbranch ZF, .else bb_1 · then RAX_1 ← Copy 1 IntZext EAX, 32 Branch .merge bb_2 · else RAX_2 ← Copy 2 IntZext EAX, 32 Branch .merge bb_3 · merge φ RAX_3 ← (RAX_1, RAX_2) Return RAX_3 1 phi_function inserted target: RAX_3 · sources: 2 2 IrOpcode IntEqual, Cbranch, Copy DIFF · EMULATION CHECK Representative lifter fixtures checked against Unicorn
The Hybrid Loop

Falsification with a witness

When fuzzer coverage plateaus, the HybridScheduler dispatches the concolic engine to the frontier branch, asks Z3 for an input that takes the negated path (QF_ABV), and feeds the satisfying model back into the corpus as a high-priority seed. A satisfying model is a candidate, not a confirmed vulnerability. A finding becomes replay-bound only when its exact input reproduces the violation; other findings remain investigative leads.

FIG. 02 Hybrid loop · fuzzer ↔ concolic concolic + coverage-guided
Hybrid concolic + fuzzer loop Pane A shows an AFL-style fuzzer with a 64KB CoverageBitmap grid, an edges-over-time chart that climbs and then flatlines, and a "PLATEAU" alert when 50 consecutive inputs add no edges. Pane B shows the concolic engine recording four PathConstraints along the executed path; the frontier constraint is highlighted and tagged "negate". Pane C shows the Z3 solver receiving the negated assertion, returning SAT, and emitting a Witness with concrete bytes. A feedback curve flows from Pane C back to Pane A, labelled mutator.inject_witness(). [A] Fuzzer · AFL-style coverage-guided edges_hit / time t CoverageBitmap · 65,536 edges PLATEAU DETECTED 50 inputs · Δedges = 0 → dispatch concolic execs/s: 12,400 edges_hit: 1,847 corpus: 318 seeds [B] Concolic engine SymbolicShadow PathConstraint stack · 4 frames 0x401234 input[0] < 100 [taken] cmp_eq · taken=true 0x401240 input[1] > 0 [taken] cmp_sgt · taken=true 0x40125c size = input[0] * 256 [taken] int_mult · taken=true 0x401270 size < buf_capacity NEGATE ← frontier · flip + send to Z3 solver.assert( ¬ c4 ) SymExpr → QF_ABV bitvector ModelGap: 0 unrolled loops: 4 syscall stubs: 7 [C] Z3 solver QF_ABV · bitvectors > solver.push() > solver.assert(¬c4) > solver.check() SAT solver_time_ms: 18 model: arg0 = 0xAA 0xBB 0x00 0x00 arg1 = 0x01 size = 0xFFFE Witness violation_address: 0x401270 source_location: buffer.c:42 cwe: CWE-120 · CVSS 9.8 inputs: 3 vars · 7 bytes Witness → corpus seed high-priority injection · 30% mix-ratio · coverage resumes climbing FUZZ → PLATEAU → NEGATE → SAT → WITNESS → SEED concolic + coverage-guided · replay required
Anatomy of a Finding

How to read a replay-bound finding

Illustrative example: the card below shows how constraints, a candidate witness, decompiled context, and a replay result can fit together. It is a schematic walkthrough, not a measured scan or a guarantee that every finding has a replayable input.

FINDING #b9c8d2e7
ILLUSTRATIVE CWE-120 Example severity

Stack buffer overflow in decode_packet via unchecked length multiplication

This hypothetical ELF function copies input into a 1024-byte stack buffer using a length derived from input * 2. The walkthrough shows the evidence that would be needed to move from a candidate overflow to a replay-bound result inside an isolated test environment.

Discovery

While exploring decode_packet at 0x401230, the concolic engine recorded four path constraints. The fourth was treated as the frontier and negated:

// PathConstraint stack · 4 frames
0x401234   input_size < 1024              [taken]
0x401240   input_size > 0                 [taken]
0x40125c   copied_size = input_size * 2   [taken]
0x401270   copied_size < buf_capacity     [NEGATED]   ← frontier

Witness

A satisfying Z3 assignment could supply candidate input bytes. The example values below are not a retained run artifact:

// Z3 model · satisfies all prior constraints + (size >= buf_capacity)
arg0  =  0xAA 0xBB 0x00 0x00
arg1  =  0x01
size  =  0xFFFE                            // 65,534 bytes into a 1,024-byte buffer

Decompiled

Type recovery from the SSA form named the buffer, recovered the integer width, and surfaced the missing bound check:

void decode_packet(int input_size, char *src) {
  char buf[1024];                         // stack-allocated, fixed
  int  copied_size = input_size * 2;
  if (input_size > 0) {
    memcpy(buf, src, copied_size);         // ← sink, no bound check
  }
}

Replay

A replay must concretely confirm the predicted violation before the input earns a replay-bound label. This transcript illustrates the result such a check would retain:

$ ./harness < witness.bin
[harness] reading 7 bytes
[harness] decode_packet(input_size=0xFFFE, src=…)
[harness] *** stack smashing detected ***
Segmentation fault · violation at 0x401270
Aborted (core dumped)

A real report should bind its input bytes, violation address, replay observation, and CWE classification to the analyzed binary. A source location appears only when matching debug information is available.

Recommendation

Bound the copy length explicitly against sizeof(buf) before the memcpy:

if (copied_size >= sizeof(buf)) return -1;
memcpy(buf, src, copied_size);

The multiplication input_size * 2 also warrants a separate integer-overflow check.

Illustrative example · no retained scan receipt Replay evidence is required before claiming an actionable witness
Product capabilities

Analysis for people and agents

Use the native desktop to inspect a binary and the MCP tools to give an agent structured access to the same analysis. Aletheia can sit alongside your existing reverse-engineering tools.

Aletheia capabilities and operating boundaries.
Capability Aletheia
Analysis
Binary formatsPE, ELF, and Mach-O
Architecturesx86-64, x86-32, ARM64, and ARM32
Data flowSSA def-use, taint tracking, and slicing
Security analysisConcolic execution, hybrid fuzzing, and replay-bound witnesses where supported
Workflow
Human reviewNative macOS desktop for disassembly, decompilation, findings, and reports
Agent interface160 MCP tools across 27 modules with structured results
Local analysisSigned, networkless Docker worker on the customer's Mac
ImplementationRust analysis engine with native Z3 and Unicorn dependencies

Feature availability varies by plan and platform. Review the plan details and system requirements below.

What It Finds

Real vulnerabilities in real binaries

A Rust analysis engine with a native macOS desktop and local sandboxed worker. The CTF result below is from an internal 18-binary regression corpus.

160
MCP Tools
27 modules, full agent integration
14
CWE Classes
Concolic falsification with CVSS scoring
10/18
Replay-bound CTF targets
16/18 had findings in the internal October 2026 corpus
42
IR Operations
Plus an unsupported-instruction marker
4
Architectures
x86-64, x86-32, ARM64 & ARM32 — ~693 mnemonics
3
Binary Formats
PE, ELF, and Mach-O
Capabilities

What Aletheia actually does

Core analysis workflows are available through structured MCP tools and the native desktop.

Core Architecture

SSA-Form Decompilation Pipeline

A full decompilation pipeline from raw bytes to typed C. Instructions are lifted to a custom intermediate representation with 42 IR operations plus an unsupported-instruction marker and explicit flag modelling (EFLAGS for x86, NZCV for ARM64). SSA construction uses the Cooper-Harvey-Kennedy algorithm with Cytron-style phi insertion — the same foundations as production compilers.

42 IR Operations
SSA Form IR
4 Architectures

Constraint-based type recovery with union-find lattice solving recovers integers, pointers, arrays, structs, unions, enums, and bitfields. Inter-procedural propagation refines types bidirectionally across the call graph. Control flow structuring detects loops, if/else chains, switch statements, and break/continue. Every pipeline stage is independently accessible through MCP tools.

AI-Native

160 MCP Tools

Core workflows — loading, disassembly, decompilation, search, detection, data flow tracing, type recovery, concolic analysis, hybrid fuzzing, vulnerability scanning, binary diffing, library signatures, attack-chain investigation, CyberGym benchmarking, and macOS security analysis — are exposed through structured MCP tools across 27 modules. Agents can combine these tools for multi-step analysis.

stdio MCP transport • Risk-tiered permissions • Knowledge graph • Audit logging
Threat Intelligence

Evasion & Anti-Analysis Detection

Built-in detection for anti-debugging, anti-VM, packing, obfuscation, and other evasion techniques. Every finding is mapped to MITRE ATT&CK technique IDs for structured threat intelligence integration.

MITRE ATT&CK mapping • Anti-debug • Anti-VM • Packing detection • Obfuscation scoring
Cryptographic Analysis

Crypto Signature Detection

Identifies cryptographic constants, S-boxes, and algorithm signatures embedded in binaries. Detects AES, DES, SHA-256, MD5 constants, and custom implementations through byte-pattern and structural analysis.

AES / DES • SHA-256 / MD5 • S-box detection • Byte-pattern matching
Search Engine

Tantivy Full-Text Search

Blazing-fast full-text search across all analysis artifacts — strings, function names, cross-references, and disassembly output. Powered by Tantivy, the Rust search engine library. Query results are structured JSON.

Full-text indexing • Bidirectional xrefs • petgraph CFG • Sub-millisecond queries
Vulnerability Research

Data Flow & Taint Analysis

Trace how data moves through a binary. Backward slicing computes the minimal instruction set influencing a target variable. Taint tracking follows untrusted input from sources like recv and read to dangerous sinks like system and exec. Both work across function boundaries.

Backward slicing • Forward slicing • Taint propagation • Cross-function • Xref tracking
Concolic Falsification

Security Variant Detection

Combines concrete emulation with sparse symbolic shadow to find machine-checkable security property violations. Detects 14 CWE classes: buffer overflows, command injection, format strings, use-after-free, integer overflow, path traversal, null dereference, double-free, divide-by-zero, out-of-bounds write, out-of-bounds read, dangerous function use, sizeof-pointer bugs, and hardcoded credentials. In an internal 18-binary CTF regression, 16 targets produced findings and 10 had independently replayed proof inputs. Results vary by target and analysis conditions.

Z3 SMT solver • Parallel constraint solving • UNSAT caching • Attacker model inference • Sandboxed emulation
Fuzzing Engine

Hybrid Coverage-Guided Fuzzing

AFL-compatible coverage-guided fuzzing integrated with concolic exploration. Corpus management, validation campaigns, and A/B comparison framework for exploration strategies. Scheduler automatically balances fuzzing with symbolic execution.

64KB edge bitmap • AFL-compatible • Corpus management • Concolic integration • A/B comparison
Bring your own agent

Connect the agent you use.

Aletheia exposes MCP tools to Claude Code, Codex CLI, Grok Build, and OpenCode. Managed model turns require a connected desktop with a selected provider profile. External provider usage may be billed separately.

  • Claude Code
  • Codex CLI
  • Grok Build
  • OpenCode
Pricing

Start free. Pro subscriptions are temporarily paused.

No obligation. Connect a compatible agent to Aletheia's tools. Managed model turns use a selected provider profile on your connected desktop.

Free
$0/mo
  • 5 analyses per day
  • Core disassembly
  • x86-64 architecture
  • Basic decompilation
  • Community support
Download for Mac
Enterprise
Custom
  • Everything in Pro
  • Higher analysis and file-size limits
  • Support terms agreed before purchase
Contact Us

The Free plan stays available. New Pro subscriptions are temporarily paused; the displayed Pro prices are for reference while enrollment is closed. Model usage is billed separately by your provider.

FAQ

Frequently asked questions

Which agents does Aletheia work with?
Claude Code, Codex CLI, Grok Build, and OpenCode — any MCP-compatible agent. Aletheia exposes MCP tools to those agents. Managed model turns require a connected desktop and selected provider profile; external provider usage may be billed separately.
Can I use Aletheia for free? Is Pro available?
Yes. The Free plan stays available. New Pro subscriptions are temporarily paused. Leave your email for product updates.
What binary formats does Aletheia support?
ELF, PE, and Mach-O. Four architectures: x86-64, x86-32, ARM64, and ARM32. Format detection is automatic — load any supported binary and Aletheia identifies the format and architecture.
How does this differ from using Ghidra with a Python script?
Aletheia has a native macOS desktop for human review and 160 MCP tools across 27 modules for agents. Agents use structured tool results without screen scraping, with risk-tiered permissions and audit logging.
Can I use Aletheia for malware analysis?
Yes. Built-in evasion detection identifies anti-debugging, anti-VM, packing, and obfuscation techniques with MITRE ATT&CK mapping. Sandboxed emulation lets you safely test hypotheses about binary behaviour.
What decompilation quality can I expect?
Aletheia uses SSA-form IR with the Cooper-Harvey-Kennedy dominance algorithm and Cytron-style phi insertion. Output is typed C with constraint-based type recovery, struct/union/enum reconstruction, and control flow structuring. Quality is actively improving with each release.
How do the MCP tools scale without overwhelming the AI's context window?
Both Aletheia and Arbiter integrate with Forgemax, our open source MCP gateway. Traditional MCP dumps every tool schema into the LLM's context window — with 160 tools, that can cost tens of thousands of tokens before the agent starts working. Forgemax collapses all tools into just two: search and execute. The agent discovers capabilities dynamically and writes JavaScript to chain tool calls inside a sandboxed V8 isolate. The agent sees two gateway schemas rather than every backend schema. The sandbox uses AST validation and opaque credential bindings.
Can I use Aletheia without AI agents?
Yes. Aletheia has a full CLI with subcommands for loading, analyzing, disassembling, listing functions, extracting strings, and generating reports. The MCP server is an additional interface — not a requirement.
How does Aletheia handle stripped binaries?
Aletheia uses recursive descent analysis to discover functions from entry points and call targets, assigning confidence scores to each detection. FLIRT-style library function signatures match common library functions by byte patterns even without symbol information. When DWARF debug info is present, it's used to enrich results.
Does Aletheia support taint analysis?
Yes. Aletheia traces data flow from untrusted sources (recv, read, fgets) to dangerous sinks (system, exec, memcpy) across function boundaries. Backward slicing computes the minimal instruction set influencing any target variable. Both are exposed as MCP tools.
Aletheia for macOS

Start analyzing with Aletheia.

Choose Apple silicon (macOS 26+) or Intel (macOS 15+), then sign in to the app. Docker Desktop runs your analysis worker locally. The Free plan remains available; new Pro subscriptions are temporarily paused. Model usage is billed separately by your provider. A Windows installer is not available yet.

Choose your Mac download

Follow Aletheia updates

The Mac app is available now. Leave your email for Aletheia product news and future release updates.

Questions? Interested in collaborating?

[email protected]