Defending Against Selective Failure Attacks

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 111 papers17 conceptsfrozen 2026-10-04

In the design of secure protocols, we often assume that an "abort" is a neutral safety mechanism. If a participant detects cheating or data corruption, the protocol stops, and no information is leaked. However, a growing body of research shows that the binary signal of a protocol's success or failure can itself be a powerful side channel. This is known as a selective failure attack.

By intentionally corrupting specific pieces of data and observing whether the honest party aborts, a malicious actor can "probe" secret values. If the protocol only fails when the attacker’s guess is correct, the abort signal effectively turns a secure computation into a game of "Twenty Questions."

The Anatomy of a Selective Failure

To understand why this is dangerous, consider Private Information Retrieval (PIR). In PIR, a client wants to fetch an item from a database without the server knowing which item was requested. As noted in Crust: Verifiable And Efficient Private Information Retrieval with Sublinear Online Time by Jian Liu, a malicious server can corrupt a single record—say, record #42. If the client’s application subsequently crashes or returns an error, the server learns with certainty that the client was interested in record #42.

This pattern repeats across different domains:

Decoupling Failure from Privacy

The core challenge is that integrity checks (which trigger aborts) are often tightly coupled with the secret data. To fix this, researchers have developed several strategies to ensure that the detection of a fault is independent of the values being processed.

1. Randomizing the Verification

One of the most effective defenses is to use secret randomness during the check phase. In An Efficient Passive-to-Active Compiler for Honest-Majority MPC over Rings, Daniel Escudero and his co-authors utilize linear combinations with secret random coefficients. By mixing the data with randomness before checking its validity, any error injected by an attacker is "spread" across the entire computation. The protocol still aborts if there is an error, but the attacker can no longer predict which specific input caused the failure.

2. Indistinguishable "Escape Hatches"

In anonymous protocols, the goal is to prevent the server from seeing an abort at all. Dana Dachman-Soled and her team propose a mechanism where users generate "dummy updates" upon detecting corruption. To the server, a successful update and a "detected-corruption-but-sending-dummy-data" response look identical. This decoupling ensures that integrity failures do not lead to deanonymization.

3. Derandomization and Deterrence

In the context of Two-Party Computation (2PC), Cheng Hong, Vladimir Kolesnikov, and Xiao Wang explore a "covert security" model in Covert Security with Public Verifiability: Faster, Leaner, and Simpler. Instead of trying to prevent every possible selective failure, they make the cost of attempting one prohibitively high. By derandomizing the execution, they ensure that if a party tries to cheat via a selective-failure attack, they are caught with high probability and the honest party receives a "certificate of misbehavior"—a publicly verifiable proof of the cheat.

Why It Works: The Intuition of Independence

The common thread across these defenses is independence. A protocol is vulnerable if: $$\text{Probability}(\text{Abort}) = f(\text{Secret Data})$$

A protocol is secure against selective failure if: $$\text{Probability}(\text{Abort}) = f(\text{Adversary's Action})$$

By ensuring the abort signal is a function only of the attacker's interference and not the underlying secrets, researchers are making secure computation robust enough for the real world. Whether through the verifiable PIR techniques discussed in Verifiable PIR with Small Client Storage or the optimized shuffles of Xiangfu Song, the field is moving toward a standard where "stopping the protocol" is no longer a leak, but a true safety shut-off.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_defending_against_selective_failure_atta_8f378690,
  title = {Defending Against Selective Failure Attacks},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/defending-against-selective-failure-attacks/rdr_8f378690dbbe40b499c8f14f6288cc6c},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-25},
}

This exact version (version 1, frozen text):

@misc{lacuna_defending_against_selective_failure_atta_8f378690_v1,
  title = {Defending Against Selective Failure Attacks},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/defending-against-selective-failure-attacks/rdr_8f378690dbbe40b499c8f14f6288cc6c/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-25},
}