Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:0sec labs 0 Per Target Confirmation

From Leeroopedia
Knowledge Sources
Domains Binary_Analysis, Variant_Analysis, PoV
Last Updated 2026-10-30 00:00 GMT

Overview

Technique for routing a variant candidate to the appropriate confirmation engine based on its execution route (userland, firmware, or kernel-verify), ensuring only reproducing PoVs become confirmed findings.

Description

Per-target confirmation extends the PoV-is-truth principle to fleet variant analysis. Each candidate is routed based on the seed's route field: userland → the bugclasses exec-trap/differential oracle (native or qemu-user execution); firmware → the Qiling emulation oracle (emulates MIPS/ARM firmware); kernel .ko → an honest hypothesis (no bare-binary oracle exists, deferred to a bench KASAN lane). Only a reproducing PoV yields status="confirmed"; otherwise the candidate remains a "hypothesis" with a note explaining why (host cannot execute, oracle produced no reproducing PoV, or no Qiling fault differential).

Usage

Use this principle when a variant analysis needs to confirm candidate sites across heterogeneous targets. The routing ensures each target type uses the most appropriate confirmation method.

Theoretical Basis

The routing decision:

# Abstract algorithm (NOT real implementation)
if candidate.route == "kernel-verify":
    return ConfirmedVariant("hypothesis", note="deferred to KASAN lane")
elif candidate.route == "firmware":
    pov = qiling_emulate_and_check(seed, member, candidate)
    if pov and pov.reproduced:
        return ConfirmedVariant("confirmed", pov, oracle="qiling-differential")
    return ConfirmedVariant("hypothesis", note="no Qiling fault differential")
else:  # userland
    pov = run_oracle(seed, member, candidate)  # exec-trap or differential
    if pov and pov.reproduced:
        return ConfirmedVariant("confirmed", pov, oracle="exec-trap")
    return ConfirmedVariant("hypothesis", note="oracle produced no PoV")

The honesty contract: status="confirmed" requires pov.reproduced == True. A candidate that cannot be confirmed is labeled "hypothesis" with an explanation — never silently dropped or silently confirmed.

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment