Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs
summary
The gist
Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs presents a methodology to extract instruction-centric leakage contracts from black-box CPUs with minimal…
In short
The research presents malcos, a template-free tool that automatically synthesizes instruction-centric leakage contracts for black-box CPUs like x86 and ARM. The method uses counterexample-driven refinement to find leaks without needing the CPU's internal design files. Results show the synthesized contracts are precise and sound, proving that learning security guarantees from unseen hardware is feasible.
Key concepts
- Leakage Contracts
- These are ISA-level security abstractions designed to model and prevent information leakage caused by microarchitectural side-channels in a CPU. They define what information is leaked based on the instructions executed, providing a formal way to secure software.
- Black-Box CPU
- This refers to a processor whose internal design (RTL) is unknown to the researcher. The methodology allows for extracting leakage contracts from these CPUs by only observing their external behavior and execution results, without needing access to the actual hardware blueprint.
- Counterexample-Driven Synthesis
- This is the core iterative process where malcos refines potential security contracts. It works by taking observed leaks (counterexamples) and using them to generate new contract clauses. This cycle continues until a stable set of contracts is reached, ensuring precision based on real hardware observations.
Terminology used across episodes
This episode discusses
- Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs · Paper Radio
- Meltdown
- Spectre is here to stay: An analysis of side-channels and speculative execution
- Hide and Seek with Spectres: Efficient discovery of speculative information leaks with random testing
- Osiris: Automated Discovery of Microarchitectural Side Channels
The paper
Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs · Read on arXiv
Elvira Moreno Sanchez, Tiziano Marinaro, Ryan Williams, Marco Patrignani, Roberto Guanciale, Hamed Nemati, Marco Guarnieri
IMDEA Software Institute · CISPA Helmholtz Center for Information Security · Northeastern University · University of Trento · KTH Royal Institute of Technology
Transcript
Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.
Nadia: I'm Nadia.
Elias: And I'm Elias, here with Priya.
Nadia: We're looking at the paper: "Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs".
Paper summary: Nadia: So, to wrap up this discussion on "Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs". The paper tackles the massive manual effort involved in creating leakage contracts by proposing a template free methodology that uses counterexample driven synthesis.
Elias: It claims this allows for the automated synthesis of instruction centric leakage contracts from black box CPUs with minimal manual intervention, and they demonstrated this on both xeighty-six and ARM architectures. The method refines candidate contracts by alternating between finding new leaks in a testing phase and updating the contract in a refinement phase until it reaches a fixed point.
Priya: What this really means is that security researchers can move away from painstakingly manual work when trying to model these CPU side channels. Instead of starting from nothing, they can use observed hardware behavior, like counterexamples and positive examples, to build up the contract iteratively.
Nadia: It’s about making leakage contract synthesis feasible for off-the-shelf CPUs without needing access to their RTL code. They show that learning these contracts is possible even when you don't have the full design details.
Elias: The authors acknowledge a limitation: malcos focuses only on instruction centric contracts, synthesizing only leak clauses, and it cannot represent stateful clauses that capture leaks across multiple instructions. Also, false negatives can occur if the synthesized contract doesn't capture every possible leak discovered by test cases.
Priya: So the main implication is that while this tool automates a significant part of the process for instruction level modeling, it’s not yet ready to fully model complex stateful leaks across instructions. It’s a tool for building good, precise instruction specific contracts from observed data.
Conclusion: Nadia: So we're wrapping up on this paper about automated synthesis of leakage contracts for black box CPUs.
Elias: Yeah, it’s called "Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs". The authors are focused on how to build these security abstractions without needing the actual design files, the RTL.
Priya: What that really means is they’ve made a way to extract those instruction specific leakage rules just by observing the hardware running.
Nadia: Exactly. They used this counterexample driven method, where it keeps trying to find new leaks and updating its contract based on both leaks and things that look normal for an attacker.
Elias: It’s interesting because they show it works on major architectures like xeighty-six and ARM without any manual effort from the designers.
Priya: But we have to ask what the real-world impact is here. Can this tool really capture everything a microarchitectural attacker could find?
Nadia: That's fair, Priya. They did say it focuses on instruction centric contracts only, so it misses stateful leaks that span across different instructions or execution paths.
Elias: And they also mentioned false negatives—meaning the synthesized contract might miss leaks that exist but just weren't covered by their specific test cases and checker.
Priya: So we have a tool that’s very precise for what it learns, but its coverage is limited to the instruction level, and it relies on the quality of the inputs it gets from those tests.
Nadia: Right. It shows that learning these contracts from black box CPUs isn't impossible if you have enough observed behavior, even without seeing the underlying hardware blueprint.
Elias: And that feasibility is what makes this methodology really important for making secure CPU programming a bit less manual work for security researchers.
Priya: So the big question now is whether this approach can scale up to capture those more complex, multi-instruction leaks we see in real systems.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2610.37722-FVH-Bench: Evaluating Image Generator Safety Beyond Overtly Harmful Imagery
- 2512.23849-Security Without Detection: Economic Denial as a Primitive for Edge and IoT Defense
- 2605.05807-LCC-LLM: Leveraging Code-Centric Large Language Models for Malware Attribution
- 2607.02932-PromptPET: Prompt Obfuscation Against Profiling by AI Agents
- 2309.05646-A Novel Supervised Deep Learning Solution to Detect Distributed Denial of Service (DDoS) attacks on Edge Systems using Convolutional Neural Networks (CNN)
- The day in conversation for 2026-12-04
- Daily Summary for 2026-12-04
- 2607.16771-SABLE: Minimalist Instruction-Level Authenticated Encryption for Constrained Confidential Computing