Small Leaks Sink Great Ships: Automated Analysis of Protocols That Tolerate Low-Entropy Keys
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.
Nadia: We're looking at the paper: "Small Leaks Sink Great Ships".
Paper summary: Nadia: So we're looking at this paper called "Small Leaks Sink Great Ships: Automated Analysis of Protocols That Tolerate Low-Entropy Keys". It seems like the big problem here is that modern protocols like WPA2-PSK and Bluetooth Classic use low-entropy keys just to make things easier for users or save resources, but the existing tools we use to check these protocols can't actually figure out how an attacker can brute force those keys because they assume perfect encryption > <ref:2611.33595#pg1>.
Elias: Exactly. They rely on that perfect-encryption assumption and therefore cannot reason about brute-force attackers > <ref:2611.33595#pg1>. The authors of this paper say they are introducing a protocol-agnostic methodology built on three abstractions to capture the brute-force behaviors within symbolic models > <ref:2611.33595#pg2>.
Priya: So it's trying to solve the problem that existing methods only work for specific protocols and don't handle compound keys well? What exactly is this new approach they are proposing?
Nadia: They introduce three things: first, a message-derivation fact called MDerive which captures brute-force prerequisites without tying it to any specific function symbols > <ref:2611.33595#pg2>. Then, they have this three-tier breaking-oracle design that works with the standard Dolev-Yao attacker > <ref:2611.33595#pg2>. And finally, they use a graded bit-level attacker model that sets a bound on how long an attacker is allowed to try keys > <ref:2611.33595#pg2>.
Elias: That seems like they are trying to build a framework where you can describe the key’s entropy in order to cover brute-force attacks within the symbolic model > <ref:2611.33595#pg2>. They focus on modeling those prerequisite conditions for brute-force attacks, which vary across different protocols and keys > <ref:2611.33595#pg2>.
Priya: But what does this mean for us practically? Does it mean we can actually analyze these protocols better than before?
Nadia: The paper says they successfully rediscover known attacks, like PMKID and KNOB attacks on WPA2-PSK and BLE pairing without needing specific reveal rules for each protocol > <ref:2611.33595#pg4>. Plus, they discovered something new with Bluetooth Classic called the Unilateral MultiDowngrade attack > <ref:2611.33595#pg4>.
Elias: That Unilateral MultiDowngrade attack is interesting because it exploits how repeatedly downgrading one side of a Bluetooth Classic session reduces the recovery against devices using the maximum one hundred twenty-eight-bit key from two to something smaller, like two to one over six > <ref:2611.33595#pg4>.
Priya: So, if we only listen to this, what's the core implication for someone who just needs to understand what this paper is actually about?
Nadia: The main idea is that you can have a method that works on any protocol without needing specific rules for it > <ref:2611.33595#pg1>. They developed a tool called EntropyVerif which is an extension of TAMARIN and requires no kernel modification > <ref:2611.33595#pg4>.
Elias: And they show that even if the central device only accepts session keys of eight bytes or fewer, an attacker can still compromise the session key with that Bluetooth Classic vulnerability > <ref:2611.33595#pg8>.
Priya: That's a significant finding because it suggests that even if you think you've made the key short enough, there might still be a way to break it depending on how the protocol is designed > <ref:2611.33595#pg8>.
Nadia: It also shows that annotation helps; they found that adding low-entropy labels adds about twelve seconds to simpler models and about four minutes for the order code model > <ref:2611.33595#pg16>.
Elias: So, in conclusion, this paper presents a protocol-agnostic methodology, a tool without kernel modification, and finds new attacks on Bluetooth Classic like UMD > <ref:2611.33595#pg4>.
Priya: It really highlights that we need to think about key length floors in the core specifications for protocols like Bluetooth Classic > <ref:2611.33595#pg8>.
Nadia: That's right. The work by Yongkang Xiao and the team is showing how to combine protocol-agnostic modeling, compound-key decomposition, and a graded bit-level attacker in a trace-based verifier without modifying it > <ref:2611.33595#pg17>.
Conclusion: Nadia: So, this paper is about how existing tools fail when protocols use low entropy keys to keep things simple for users or save resources on hardware >
Elias: Exactly. They're looking at how symbolic protocol verifiers miss brute force attacks because they assume perfect encryption >
Priya: It seems like the core idea is building a way to actually model those low-entropy situations so we can see how an attacker could potentially break them >
Nadia: Right. The authors introduce this new methodology called EntropyVerif which isn't tied to any single protocol and it uses three main tools to catch these brute force behaviors within symbolic models >
Elias: They use a message derivation fact called MDerive, a three-tier breaking oracle design, and a graded bit level attacker model that puts a limit on how long an attacker can try keys >
Priya: So, what does this mean for us in the real world? Are we talking about finding vulnerabilities in things we use every day or just theoretical stuff >
Nadia: It's both. They showed they can find known attacks like PMKID and KNOB on WPA2 and BLE without needing protocol specific rules >
Elias: And they found something new with Bluetooth Classic called the Unilateral MultiDowngrade attack which shows that even if you think you have a strong key, the protocol design itself can still let someone downgrade it to something weak >
Priya: That’s interesting because it points out that the vulnerability isn't just in how strong your math is, but in how the protocol allows those negotiations to happen >
Nadia: It suggests we might need to look at key length floors when designing core specifications for things like Bluetooth Classic >
Elias: And they also showed this tool works without you having to modify the underlying proof engine, which is a big deal for practical analysis >
Priya: So it’s about making the analysis more robust and less dependent on knowing every single protocol detail upfront >
Nadia: Right. It really shows how combining protocol agnostic modeling with a graded attacker model can uncover these kinds of subtle leaks in key management systems >
Elias: And we’ve got some interesting things to talk about next about how this new tool is actually built and what the performance looked like in the experiments >
Yongkang Xiao, Jing Chen, Min Shi, Kun He, Mei Wang, Ruiying Du
School of Cyber Science and Engineering, Wuhan University · School of Cyber Science and Technology, Shandong University
cs.CR
Submitted: 2026-11-25
Updated: 2026-11-25
Comments: Accepted at NDSS 2027. 17 pages
Code: https://github.com/luojiazhishu/entropy-verif
License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
Importance score: 83/100
The gist: Modern cryptographic protocols such as WPA2-PSK, Bluetooth Low Energy (BLE), and Bluetooth Classic (BC) tolerate low-entropy keys for user-friendliness or resource constraints…
Key concepts
- EntropyVerif
- This is a protocol-agnostic methodology built on message derivation facts and a three-tier breaking-oracle design. It allows analysts to reason about brute-force attacks in symbolic models without needing to know the specific protocol details, unlike older verifiers.
- Message Derivation Fact (MDerive)
- This abstraction captures the prerequisites for a brute-force attack independently of concrete function symbols. It helps model how an attacker can derive necessary information to test potential keys, regardless of what the actual cryptographic functions are.
- Three-Tier Breaking-Oracle Design
- This design extends the standard Dolev-Yao attacker by incorporating three specific oracles: value-breaking, relationship-breaking, and message derivation. These allow the model to capture different aspects of a brute-force attack more accurately than previous methods.
- Unilateral MultiDowngrade (UMD) Attack
- A novel attack discovered on Bluetooth Classic that exploits how repeatedly downgrading one side of a session reduces the effective key space. This allows an attacker to compromise the session key even when devices are configured to accept relatively short keys.
Terminology
Summary
Modern cryptographic protocols such as WPA2-PSK, Bluetooth Low Energy (BLE), and Bluetooth Classic (BC) tolerate low-entropy keys for user-friendliness or resource constraints, but existing symbolic protocol verifiers fail to reason about brute-force attackers because they rely on the perfect-encryption assumption. p. 0<ref:2611.33595#pg1, yet existing symbolic protocol verifiers rely on the perfect-encryption assumption and therefore cannot reason about brute-force attackers>. p. 0 The authors introduce EntropyVerif, a protocol-agnostic methodology built on message derivation facts and a three-tier breaking-oracle design to capture the bruteforce behaviors of attackers within symbolic models. p. 0<ref:2611.33595#pg2>.
The Core Methodology
The proposed methodology is designed to address three main challenges in analyzing protocols that tolerate low-entropy keys.<ref:2611.33595#pg2>. The methodology introduces three abstractions:
-
The message-derivation fact MDerive, which captures bruteforce prerequisites independently of concrete function symbols. p. 0<ref:2611.33595#pg2>.
-
A three-tier breaking-oracle design (value-breaking, relationshipbreaking, message-derivation) that composes with the standard Dolev-Yao attacker. p. 0<ref:2611.33595#pg2, a three-tier breaking-oracle design (value-breaking, relationshipbreaking, message-derivation) that composes with the standard Dolev-Yao attacker>. p. 0
-
A graded bit-level attacker model that bounds the key length an attacker is allowed to exhaust. p. 0<ref:2611.33595#pg2>.
Adversarial Modeling and Oracles
The adversary extends the classical Dolev-Yao attacker with a bounded brute-force capability.<ref:2611.33595#pg3, Our adversary extends the classical Dolev-Yao attacker [3] with a bounded brute-force capability>. p. 3 This brute-force attack is defined as a forward brute-force attack where the attacker recomputes a function and keeps the candidate whose output matches the observed one exactly. p. 3<ref:2611.33595#pg4, The recovery is deterministic and forward: for each candidate value of k the attacker recomputes f and keeps the candidate whose output matches the observed one exactly>. p. 3
The key-breaking oracle is designed to capture forward brute-force attacks by accepting any function symbol declared in the model. p. 3<ref:2611.33595#pg5>. This is achieved through two fundamental oracles:
-
Value-Breaking Oracle: if H(k) is low: return k f(k) VO k. p. 4<ref:2611.33595#pg6>.
-
Relationship-Breaking Oracle: if the value of xi is ai: return f'ai(x1,..., xi−1, ai, xi+1,..., xn, k) = f(x1,...) (xi−1, ai, xi+1) (x n), k RO f(x1,., x n), ai f'(x1., xi−1.ai., xi+1., x n). <ref:2611.33595#pg7>.
Implementation and Results
The methodology is realized as EntropyVerif, a syntax-sugar extension of TAMARIN that requires no kernel modification.<ref:2611.33595#pg4>. This tool supports an adversary model that extends beyond the Dolev-Yao model. p. 1<ref:2611.33595#pg4>. The authors successfully rediscover known attacks, including PMKID and KNOB attacks on WPA2-PSK and BLE pairing without protocol-specific reveal rules. p. 1<ref:2611.33595#pg4>.
Novel Attack Discovery
The application of EntropyVerif to Bluetooth Classic immediately exposes a new protocol-level attack called the Unilateral MultiDowngrade (UMD) attack.<ref:2611.33595#pg4>. The UMD attack exploits the fact that repeatedly downgrading one side of a BC session reduces session-key recovery against devices using the maximum 128-bit key from 2 128 to n · 2 128/n, bottoming out at 2 1 for n = 16—a factor of 2(1/6) reduction that has been responsibly disclosed to the Bluetooth SIG. p. 0<ref:2611.33595#pg4>.
Conclusion and Implications
The primary contributions include a protocol-agnostic methodology, a tool without kernel modification, the rediscovery of known attacks, and the discovery of UMD.<ref:2611.33595#pg4>. • Tool without kernel modification. p. 1 We developed EntropyVerif, a syntax-sugar extension of TAMARIN, in which users annotate low-entropy terms with:= L. p. 1 The compiler emits standard multiset-rewriting rules and leaves the TAMARIN backend unmodified, so every proof is carried out by TAMARIN itself. p. 1<ref:2611.33595#pg4>. The UMD attack implies that even if the central device only accepts 16-byte session keys, an attacker can still compromise the session key. p. 8<ref:2611.33595#pg8>. The paper concludes by arguing that the Bluetooth SIG should consider imposing a hard floor on the session-key length in the core specification. p. 7<ref:2611.33595#pg8>. The authors also note that their methodology currently does not model private (secret) functions. p. 3<ref:2611.33595#pg13, Our methodology currently does not model private (secret) functions>. p. 3 This work occupies a gap by combining protocol-agnostic modeling, compound-key decomposition, and a graded bit-level attacker in a trace-based verifier without modifying it. p. 0<ref:2611.33595#pg14, EntropyVerif occupies that gap, and used it to find a previously unreported protocol-level attack on Bluetooth Classic>. p. 1 The responsible disclosure of the UMD attack to the Bluetooth SIG is noted. p. 0<ref:2611.33595#pg14, We reported the vulnerability to the Bluetooth Special Interest Group (SIG) security team on July 15, 2024, under the heading of a unilateral key downgrade>. p. 0 The analysis shows that annotation adds about twelve seconds to simpler models and about four minutes to the order-code model.<ref:2611.33595#pg16>.
Experimental Setup and Performance
The experiment was conducted on a server running Ubuntu 22.04 with an AMD 7950X3D CPU and 192GB RAM. p. 9<ref:2611.33595#pg6>. The performance evaluation shows that the goals our translation adds take about 86. p. 64% of the steps of a verified BC proof. p. 1<ref:2611.33595#pg17>.
Human Guidance
The human guidance supplied includes two kinds of input: protocol knowledge and heuristic tactics.<ref:2611.33595#pg17>. The first is the low-entropy labeling, which asks for protocol knowledge. p. 1<ref:2611.33595#pg17>. The second is a heuristic tactic that adjusts goal and branch priorities so that infeasible branches are closed earlier.<ref:2611.33595#pg17>. This strategy is general, although applying it takes minor adjustments for each model. p. 3<ref:2611.33595#pg17>.
Ethical Considerations
The paper addresses ethical considerations by reporting the vulnerability to the Bluetooth Special Interest Group (SIG) security team on July 15, 2024.<ref:2611.33595#pg14, We reported the vulnerability to the Bluetooth Special Interest Group (SIG) security team on July 15, 2024>. p. 0 The authors state that UMD is a weakness in how the Bluetooth Classic specification permits key-length negotiation. p. 1<ref:2611.33595#pg8>. They emphasize that the attack requires a Bluetooth Classic peer that still negotiates the encryption key length in the legacy manner and accepts a session key of eight octets or fewer. p. 8<ref:2611.33595#pg14, The UMD attack requires a Bluetooth Classic peer that still negotiates the encryption key length in the legacy manner and accepts a session key of eight octets or fewer>. p. 0 The experimental setup confirms that no real Bluetooth devices were involved in the discovery or validation of the UMD attack. p. 0<ref:2611.33595#pg14, All analysis in this paper is conducted entirely within the symbolic model using TAMARIN>. p. 1 The user-side risk assessment suggests users can reduce exposure by avoiding pairing with untrusted or unknown devices.<ref:2611.33595#pg14, Users can reduce exposure by avoiding pairing with untrusted or unknown devices>. p. 2 The study confirms that the UMD attack is not an implementation bug but a weakness in the protocol design. p. 8<ref:2611.33595#pg8>.
Appendix Details
Appendix B provides a detailed breakdown of proof effort using the BC case study.<ref:2611.33595#pg16>. It shows that MDerive0 steps are the largest group, accounting for 84. p. 70% of the total steps. p. 7<ref:2611.33595#pg17>. The KU steps are spent rebuilding key material, with constructing BC key-derivation functions accounting for 49% of the group. p. 7<ref:2611.33595#pg17>.
Related Work Summary
Prior work on protocol-specific reveal rules is limited because they cannot generalize or support compound-key decomposition.<ref:2611.33595#pg17>. EntropyVerif fills the gap by being protocol-agnostic and supporting recursive decomposition of compound keys. p. 1<ref:2611.33595#pg17>. The work also contrasts with equivalence-based analysis which decides whether a guess can be confirmed but does not relate a guess to an attacker’s budget.<ref:2611.33595#pg17>. The paper concludes that EntropyVerif is the first work to combine protocol-agnostic modeling, compound-key decomposition, and a graded bit-level attacker in a trace-based verifier without modifying it. p. 0<ref:2611.33595#pg17>. The paper also suggests revisions to the Bluetooth SIG regarding key length floors and bilateral confirmation of downgrades. p. 0<ref:2611.33595#pg8>.
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Protocol-agnostic symbolic methodology: The system can analyze protocols tolerating low-entropy keys without requiring protocol-specific reveal rules, as it introduces a
protocol-agnostic
approach built on three abstractions: "the message-derivation fact MDerive, which captures bruteforce prerequisites independently of concrete function symbols; a three-tier breaking-oracle design (value-breaking, relationshipbreaking, message-derivation) that composes with the standard Dolev-Yao attacker; and a graded bit-level attacker model." -
Discovery of known attacks: The system can automatically rediscover specific attacks on various protocols, such as
PMKID attack on WPA2-PSK, the KNOB attack and the Method Confusion attack on BLE pairing,
without relying on manual, protocol-specific analysis. -
Novel protocol vulnerability detection: The system can uncover new attacks that were previously unknown, such as the
Unilateral MultiDowngrade (UMD) attack
on Bluetooth Classic by modeling compound-key decomposition to reduce session-key recovery from 128 bits to n times 2 128/n, reaching a factor of 2 116 reduction at n=16. -
Automated low-entropy key identification: By using the EntropyVerif tool, the system can automatically label low-entropy variables with a syntax sugar extension like
:= L
, which is translated into anEntropyLow fact
for verification. -
Graded attacker modeling: The system can incorporate a
graded bit-level attacker model
by using semi-attacker (SA) and quart-attacker (QA) models to bound the key length an attacker is allowed to exhaust, allowing analysis against different computational scales.
Related papers
- RustMizan: A Compilable, Contamination-Aware Benchmarking Framework for Rust Vulnerabilities
- Introducing the Generative Application Firewall (GAF)
- Opal: Private Memory for Personal AI
- Fuel as Identity: Authenticating Inter-Satellite Laser Links after Total Key Compromise
- Merkle Trees Minimize Verifier Complexity in the ROM
- VulCPE: Context-Aware Cybersecurity Vulnerability Retrieval and Management