๐Ÿš€ Launch Special: 50% off with code LAUNCH50. Offer ends Dec 31, 2026Get Started

Binary Analyzer Beta

Identifies quantum-vulnerable cryptography in compiled binaries without requiring source code. Works across Windows, Linux, and macOS formats and produces a quantum risk score with prioritized remediation guidance.

Cross-platform analysis: Cerebion Rivet can analyze binaries from any platform regardless of where you're running it. A Windows user can analyze Linux ELF binaries, macOS Mach-O libraries, or Docker image layers without needing to run the analysis on the target OS.

Supported File Formats

FormatPlatformNotes
PE (.exe, .dll, .sys)WindowsIncludes .NET assemblies via dnfile
ELFLinuxShared libraries (.so) and executables
Mach-O (.dylib, .app, .framework)macOSUniversal binaries supported
ZIP / JARCross-platformContents extracted and scanned individually
ISO / archiveCross-platformSubject to archive size and file count limits

See Settings โ†’ Binary Analysis to configure resource limits.

Scan Options

Analysis Type

OptionWhat it does
Crypto (default)Focuses on cryptographic algorithm detection โ€” imports, symbols, pattern signatures, and crypto API calls. Fastest option.
FullCrypto analysis plus broader binary inspection: hardcoded secrets, security flags, binary metadata. Sets depth to deep automatically.

Analysis Depth

OptionWhat it does
QuickSignature-based pattern scanning and import table scan only. Fastest โ€” suitable for triage.
Standard (default)Pattern scanning + full binary structure analysis + disassembly of code sections.
DeepAll of the above plus extended disassembly, crypto constant detection, and hardcoded secret scanning. Used automatically when Analysis Type is Full or Decompile.

Business Criticality

Affects the Business Impact component (20%) of the Quantum Risk Score. Options: Low, Medium (default), High, Critical. Use Critical for production binaries handling sensitive data or regulated workloads.

Compliance Requirements

Optional. Selecting compliance frameworks increases the Business Impact score component for regulated environments. Supported: fedramp, hipaa, pci, sox.

How Analysis Works

  1. Signature-based pattern scanning โ€” scans the raw binary bytes against a quantum-specific detection ruleset. Fast and format-agnostic. Runs on every scan regardless of backend.
  2. Binary structure parsing โ€” parses the binary format (PE/ELF/Mach-O), extracts imported symbols, exported functions, section metadata, and security flags (ASLR, DEP, stack canaries).
  3. Disassembly โ€” disassembles code sections to identify cryptographic operations at the instruction level.
  4. .NET metadata โ€” for PE binaries, extracts managed code metadata to detect .NET cryptographic API usage.
  5. Risk scoring โ€” findings from all sources feed into the unified 4-component Quantum Risk Score (0โ€“100).

Result Fields Explained

Quantum Risk Score

FieldRange / ValuesWhat it means
Quantum Risk Score0 โ€“ 100Overall quantum vulnerability score. Weighted sum of four components.
Risk LevelCRITICAL / HIGH / MEDIUM / LOW / UNKNOWNDerived from the score. CRITICAL = 76โ€“100, HIGH = 51โ€“75, MEDIUM = 26โ€“50, LOW = 0โ€“25.
Migration Urgencyimmediate / high / medium / lowHow urgently the binary's cryptography needs to be replaced with post-quantum alternatives.

Risk Score Breakdown

The Quantum Risk Score is a weighted sum of four components, each normalized to 0โ€“100.

ComponentWeightWhat drives it
Algorithm Risk40%Vulnerability of detected algorithms to Shor's and Grover's algorithms. RSA/ECC/DH score highest. AES-256 scores low.
Timeline Risk25%Whether a cryptographically relevant quantum computer is expected before the binary's expected replacement cycle.
Business Impact20%Business criticality and compliance requirements provided at scan time.
PQC Readiness15%Whether post-quantum algorithms (ML-KEM, ML-DSA, SLH-DSA) are already present in the binary.

Pattern Scan Analysis

FieldWhat it means
Matches FoundNumber of detection signatures that matched patterns in the binary.
Match DetailsPer-match breakdown: rule name, Q-Score, category, matched strings, quantum threat description, and recommended PQC alternative.
Rules AppliedTotal number of detection signatures evaluated against the binary.

Binary Analysis

FieldWhat it means
Crypto AlgorithmsList of cryptographic algorithms detected via imports, symbols, and disassembly. Each entry includes algorithm name, key size (if determinable), and whether it is quantum-vulnerable.
Crypto API CallsSpecific API calls identified in the binary (e.g. RSA_generate_key, EVP_aes_128_cbc).
Hardcoded SecretsDetected hardcoded cryptographic material โ€” private keys, API tokens, or quantum-system secrets embedded in the binary. Only present on Full or Deep scans.
Format InfoBinary format (PE/ELF/Mach-O), architecture (x86_64, ARM64, etc.), and detected platform.
Security FlagsBinary hardening features: ASLR, DEP/NX, stack canaries, PIE, RELRO. Informational โ€” not part of the quantum risk score.
Functions AnalyzedNumber of functions disassembled during analysis. Low counts on large binaries may indicate a stripped binary.

Analysis Confidence

The analyzer validates result quality before scoring and reports a confidence level:

ConfidenceMeaning
HighBoth pattern scanning and binary analysis succeeded and agree.
MediumOne analysis method succeeded. Score is based on available data.
Pattern PrimaryBinary analysis found no crypto but pattern scanning matched signatures. Common with stripped or packed binaries. Pattern scan results are used for scoring.
LimitedPattern scanning succeeded but binary analysis failed. Signature-based scoring only.
UNKNOWNBoth methods failed, or the binary is too small to analyze reliably (e.g. a test stub). No risk score is produced.

Recommendations

Three recommendation categories are generated based on the risk assessment:

  • Immediate Actions โ€” steps to take now (e.g. replace RSA with ML-KEM, migrate to AES-256)
  • Migration Strategy โ€” medium-term plan for transitioning to post-quantum cryptography
  • Long-Term Recommendations โ€” crypto-agility framework, compliance alignment, ongoing monitoring

Q-Score Reference

Each pattern signature match carries a Q-Score (1โ€“5) indicating the severity of the quantum risk for that specific pattern. The Q-Score feeds into the Algorithm Risk component of the unified score.

Q-ScoreSeverityMeaningExamples
5CRITICALAlgorithm completely broken by Shor's or Grover's algorithmRSA (any key size), ECDSA, ECDH, DH, AES-128, SHA-256, MD5, SHA-1
4HIGHNear-term quantum risk โ€” weak PQC implementation or insufficient randomnessKyber-512 (borderline), Dilithium-2, FALCON-512, PRNG usage in quantum contexts
3MEDIUMTransition period vulnerability โ€” legacy crypto in quantum-aware systems, insufficient key sizesRSA-1024/2048 key size constants, legacy crypto in quantum computing contexts
2LOWBest practice violation โ€” suboptimal parameters or debug codePQC performance-over-security modes, debug logging of quantum state
1INFOFuture-proofing recommendation โ€” readiness gaps or algorithm lifecycle warningsSignature schemes that should migrate to ML-DSA, key exchange that should migrate to ML-KEM

Detection Categories

The pattern detection engine covers the following categories:

CategoryQ-ScoreWhat it detects
Shor's Algorithm Vulnerability5RSA, ECC (all curves), Diffie-Hellman key exchange
Grover's Algorithm Vulnerability5AES-128, SHA-1, SHA-256, MD5, SHA-224
Quantum Key Management5Hardcoded quantum/PQC keys and secrets
Post-Quantum Implementation Issues4Weak PQC parameter sets (Kyber-512, Dilithium-2, FALCON-512)
Quantum Randomness4PRNG usage, Math.random(), /dev/urandom in quantum contexts
Quantum Protocol Security4QKD protocol vulnerabilities (BB84, E91)
Hybrid Cryptography4Insecure classical + quantum mixing
Legacy Cryptography3Classical crypto in quantum-aware systems
Key Size Inadequacy3RSA-1024/2048, DH-1024/2048 key size constants
Information Leakage3Timing attacks, side-channel exposure in quantum implementations
Parameter Selection2PQC performance-mode configurations
Debug Code2Debug logging of quantum state or keys
Quantum Readiness1Missing crypto inventory, migration plan gaps
Algorithm Lifecycle1Deprecated or end-of-life algorithm references
PQC Algorithm Recommendations1Signature schemes, key exchange, TLS configs that should migrate to PQC

Post-Quantum Migration Reference

When the analyzer identifies a vulnerable algorithm, it maps it to the appropriate NIST-standardized replacement:

Vulnerable AlgorithmPost-Quantum AlternativeNIST Standard
RSA (signatures)ML-DSA (CRYSTALS-Dilithium)FIPS 204
ECDSAML-DSA or SLH-DSA (SPHINCS+)FIPS 204 / FIPS 205
DSAML-DSA (CRYSTALS-Dilithium)FIPS 204
RSA-OAEP / PKCS#1 (encryption)ML-KEM (CRYSTALS-Kyber)FIPS 203
ECDH / ECDHEML-KEM (CRYSTALS-Kyber)FIPS 203
DH / DHEML-KEM (CRYSTALS-Kyber)FIPS 203
AES-128AES-256, ChaCha20-Poly1305โ€”
SHA-1 / MD5SHA-384, SHA-512, SHAKE-256โ€”
SHA-256SHA-384, SHA-512 (Grover halves effective bits)โ€”

Resource Limits

All limits are configurable in Settings โ†’ Binary Analysis.

LimitDefaultRange
Max binary file size500 MB1โ€“5000 MB
Analysis timeout600 seconds30โ€“3600 seconds
Max memory2048 MB512โ€“8192 MB
Max concurrent scans31โ€“10
Max archive size500 MB1โ€“2000 MB
Max files per archive1001โ€“1000

Stripped and Packed Binaries

Stripped binaries (no symbol table) and packed/obfuscated binaries present challenges for binary analysis:

  • Stripped binaries โ€” signature-based pattern scanning still works on raw bytes. Binary analysis may find fewer named crypto functions but can still detect crypto constants and instruction patterns. Confidence level will be Pattern Primary or Medium.
  • Packed binaries โ€” the outer packer layer may prevent crypto detection. Pattern scanning may still match packer signatures.
  • Very small binaries (<100 KB with no analyzable functions) โ€” the analyzer may return UNKNOWN if neither pattern scanning nor binary analysis finds anything meaningful. This is expected for test stubs or minimal executables.

Limitations

The Binary Analyzer performs static analysis only โ€” it does not execute code. The following scenarios are outside its detection scope:

  • Runtime-only crypto โ€” cryptographic algorithms loaded or constructed at runtime (e.g. dynamically assembled key material, reflective loading) are not visible to static analysis.
  • Custom or proprietary implementations โ€” crypto implementations that do not use known constants, OIDs, or library function names will not be detected. Rivet detects known patterns; it cannot reason about unknown ones.
  • Encrypted or heavily obfuscated payloads โ€” if the binary's code section is encrypted and unpacked only at runtime (common in commercial protectors), detection coverage is reduced. Pattern scanning may still match the outer layer.
  • Key size inference โ€” when a key size cannot be extracted from the binary, Rivet applies conservative worst-case assumptions in the risk score (e.g. RSA without a detected key size is treated as RSA-2048).
  • Unsupported formats โ€” file types other than PE, ELF, Mach-O, .NET, Java .class/JAR, and DEX are not analysed. An unsupported format returns no findings, not a clean result.

A clean scan result means no known vulnerable cryptographic patterns were detected. It does not constitute a guarantee of quantum safety.

Relationship to Other Analyzers

The Binary Analyzer uses the same 4-component unified risk engine as the Certificate and Network Analyzers. The difference is the detection method โ€” instead of inspecting a TLS certificate, it inspects compiled binary code. The risk score scale (0โ€“100) and component weights are identical across all analyzers.

For full documentation of the risk scoring methodology and quantum computing threat timeline, see the Risk Scoring documentation.