Fuzzing+Hardware Performance Counters-Based Detection of Algorithm Subversion Attacks on Post-Quantum Signature Schemes
Shows PQC signature code (Dilithium, Falcon, Rainbow, SPHINCS+) can be subverted, and that HPC-based ML detection fails on random inputs but works when greybox-fuzzed inputs are used.
Schemes: Dilithium, Falcon, Rainbow, SPHINCS+, AFL, one-class SVM
Findings (quotes checked against the source text)
- Random test inputs give shallow code coverage and cannot trigger stealthy subversions, so HPC traces from random inputs look the same for trusted and subverted code.
Random seed inputs provide shallow coverage and
Numbers (as extracted, not quote-checked)
- Share of subverted-implementation HPC traces that look similar to trusted ones (vanilla ML detector, preliminary finding): 95%
- Dilithium control-flow edge coverage, random vs fuzzed seeds: 1549 vs 2093 (35.11% improvement)
- Fuzz seed generation time per algorithm (Table VIII): 18000 s
- Reported misclassification rate of the detector: ~2%
For builders
Treat implementation integrity of PQC signing code as a separate risk: vet backdoored or weakened builds with coverage-guided fuzzing plus runtime HPC monitoring, not with random-input tests alone.
Limits
Experiments on one 32-bit ARM Cortex A8 with Linux 4.14; uses NIST Round 3 candidates, not final ML-DSA; detectors are per-algorithm and per-platform; subversion examples are hand-injected, not found in the wild.
Topics: threat-model sig-lattice sig-hash-based sig-other implementation-sidechannel benchmarks