IT lexicon › Security › Cube attack

Cube attack

Security På svenska → Updated: 2026-10-12

An algebraic attack that sums outputs over a "cube" of public variables to obtain equations in the key bits.

Dinur and Shamir published the cube attack in 2009. The variables in a cube are public inputs, and summing the output over all their combinations cancels higher-degree terms of the polynomial. What remains is a function of the key bits, often a simple linear one, which can be solved with ordinary linear algebra if the cipher's algebraic degree is low enough.

The attack is most relevant against ciphers built from small algebraic expressions, such as some stream ciphers. Against full-strength block ciphers with many rounds it does not come close. It still shows why algebraic degree is a design parameter, not just a theoretical curiosity.

← Back to the lexicon