Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/sumitchongder/q-trace
Defensive ToolsNetwork SecurityCryptographyMachine LearningIntrusion DetectionPapers & ResearchAnomaly Detection
GitHubsumitchongder/q-trace

Q-TRACE

Physics-based zero-day attack detection for decoy-state QKD: no attack data needed, provable detectability limits, and BB84 with physical eavesdroppers on IBM Quantum hardware.

View Repository
179h 42m agoNot yet reviewed
Share
Website

Q-TRACE: Quantum Telemetry Residuals Against Calibrated Expectations

arXiv CI License: MIT Python 3.10+ Qiskit 2.5

Physics-based zero-day attack detection for decoy-state quantum key distribution, with information-theoretic detectability bounds and validation on IBM Quantum hardware.

📄 Paper: Sumit Tapas Chongder, Q-TRACE: Physics-based zero-day attack detection for decoy-state quantum key distribution, arXiv:2611.28945 [quant-ph] (2026). The manuscript sources are in paper/, and every number in the paper is regenerated from this repository by paper/build_numbers.py.

Q-TRACE overview

Q-TRACE detects implementation attacks on a quantum-key-distribution link without ever seeing an attack. It tests every telemetry window against the honest-device manifold, the set of outcome statistics that an attack-free decoy-state BB84 link can produce under arbitrary channel loss, and raises an alarm when no honest explanation remains. The same construction yields a detector-independent detectability exponent D* that bounds how fast any telemetry monitor (classical, deep or quantum) can detect a given attack, and identifies attacks that no monitor can detect at all.

Detection delay versus the Lorden bound Detection probability versus attack strength

Contributions

  1. Honest-manifold detector. Per-link maximum-likelihood calibration of the device (e_Z, e_X, p_d0, p_d1, κ, ρ) on commissioning data; per-window profiling of the transmittance as a nuisance parameter (loss is not a security-relevant deviation in decoy-state QKD); three families of alarm channels: an omnibus Freeman–Tukey residual test, a physics score test (Rao / Neyman C(α)) over the directions in which device parameters can move, and a setting-allocation test, each with a drift-robust moving-reference variant. No attack data are used anywhere.
  2. Detectability theory. D* = min_η KL(Q ‖ P_η) per pulse gives, through Lorden's theorem, a lower bound log(1/α)/(N D*) on the mean detection delay of any detector at false-alarm rate α. A Trojan-horse attack with filtered back-reflection has D* = 0 exactly: it is provably invisible to every telemetry-based monitor.
  3. QKD-TRACE v2 benchmark. A count-level decoy-state twin with full per-detector outcome tables, photon-number-resolved attack physics (PNS with lossless channel, stealthy faked-state blinding, time-shift efficiency mismatch, intercept–resend, Trojan horse, RNG bias, compositions), benign faults, and deliberate model mismatch (afterpulsing, intensity jitter, polarisation and temperature drift) that the detector does not model.
  4. Hardware validation. 33 crosstalk-isolated BB84 links run in parallel on the IBM Heron processor ibm_marrakesh, with eavesdroppers physically executed as tunable entangling (RZX/RXX) and amplitude-damping probes. Eve's ancilla is measured, giving her information gain (and the information leaked before the first alarm) on real hardware.

Results

Attacked links detected (%) and attack-free links with any alarm (FA, %) at a per-window false-alarm rate of 10⁻³; mean ± 95 % CI over 5 held-out seeds (3,275 links, 655,000 telemetry windows). "Long links" is the 60 to 120 km regime absent from training.

MethodKnownZero-dayCompositeLong linksFA honestFA loss faultFA long links
Q-TRACE63.6 ± 6.628.0 ± 2.565.3 ± 9.132.0 ± 7.55.2 ± 3.80.0 ± 0.03.2 ± 2.2
XGBoost (supervised)51.2 ± 8.50.6 ± 0.642.3 ± 10.824.4 ± 9.20.8 ± 1.48.8 ± 6.50.0 ± 0.0
QBER CUSUM27.2 ± 5.31.3 ± 2.521.0 ± 3.89.8 ± 3.71.2 ± 2.21.6 ± 2.70.0 ± 0.0
Decoy CUSUM2.5 ± 2.80.0 ± 0.00.3 ± 0.90.0 ± 0.00.0 ± 0.03.2 ± 2.20.0 ± 0.0
QBER static13.1 ± 6.01.7 ± 1.311.7 ± 7.350.7 ± 7.4 ¹2.8 ± 2.80.8 ± 2.245.6 ± 16.7
Autoencoder3.0 ± 2.70.0 ± 0.01.3 ± 1.70.9 ± 1.50.0 ± 0.04.0 ± 8.60.0 ± 0.0
Isolation Forest3.6 ± 4.60.4 ± 1.15.0 ± 8.50.0 ± 0.00.0 ± 0.012.0 ± 8.60.0 ± 0.0
One-class SVM0.0 ± 0.00.0 ± 0.00.0 ± 0.00.0 ± 0.00.0 ± 0.00.0 ± 0.00.0 ± 0.0
Quantum-kernel OCSVM5.7 ± 2.56.7 ± 2.4 ²4.3 ± 2.88.9 ± 6.210.4 ± 3.212.8 ± 4.27.2 ± 5.4

¹ An artefact: the static 11 % threshold also alarms on 45.6 % of honest long links, whose QBER can exceed 11 %. ² Not genuine detection: the same method alarms on 10.4 % of attack-free links.

Window-level AUROC (mean ± 95 % CI):

MethodKnownZero-dayCompositeLong links
Q-TRACE0.859 ± 0.0330.636 ± 0.0320.858 ± 0.0340.699 ± 0.032
XGBoost (supervised)0.848 ± 0.0260.499 ± 0.0430.771 ± 0.0410.718 ± 0.041
QBER CUSUM0.664 ± 0.0430.533 ± 0.0450.664 ± 0.0340.624 ± 0.019
Decoy CUSUM0.746 ± 0.0220.546 ± 0.0310.724 ± 0.0670.660 ± 0.036
QBER static0.567 ± 0.0640.487 ± 0.0720.545 ± 0.0650.571 ± 0.075
Autoencoder0.800 ± 0.0360.573 ± 0.0170.766 ± 0.0200.663 ± 0.036
Isolation Forest0.767 ± 0.0330.554 ± 0.0140.745 ± 0.0490.677 ± 0.033
One-class SVM0.814 ± 0.0210.571 ± 0.0270.775 ± 0.0290.677 ± 0.026
Quantum-kernel OCSVM0.523 ± 0.0180.498 ± 0.0130.521 ± 0.0140.501 ± 0.025

IBM Quantum hardware (ibm_marrakesh, 33 parallel links, 64 circuits × 5,900 shots, 107 s of QPU time). Link-epochs flagged at α = 10⁻³ with a condition-matched reference (each link's honest monitoring epochs). ΔQBER is the increase of the sifted QBER caused by the probe.

ProbeLink-epochsIdeal ΔQBERMeasured ΔQBERQ-TRACEQBER per basisQBER pooled
Honest (no probe)66000/660/660/66
Entangling, θ = 0.15140.28 %0.49 %14/1413/149/14
Entangling, θ = 0.25130.78 %0.87 %12/1311/1311/13
Entangling, θ = 0.40141.97 %2.11 %14/1414/1414/14
Entangling, θ = 0.60144.37 %4.34 %14/1414/1414/14
Entangling, θ = 0.90139.46 %9.05 %13/1313/1313/13
Entangling, θ = π/2 (intercept–resend)1325.00 %23.10 %13/1313/1313/13
Amplitude damping, γ = 0.03131.13 %2.82 %13/1313/1313/13
Amplitude damping, γ = 0.06122.26 %3.49 %12/1212/1212/12
Amplitude damping, γ = 0.12124.55 %5.99 %12/1212/1212/12
Amplitude damping, γ = 0.25149.60 %10.05 %14/1414/1414/14
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    914
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    909
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    686
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    457
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    405
  • 6

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    384

Explore all tools

Browse our collection of tools

View all tools →