← Back to section · Research & Analysis
Multi-Target Attacks and Precomputation: Why Security Strength Discounts with the Number of Targets
When an attacker faces a million public keys at once, how much does the cost of breaking each one fall? How multi-target and precomputation research changed parameter selection and the design status of salts and domain separation.
Security estimates usually assume an isolated scenario: one public key, one attacker, infinite patience. But real-world attackers face the whole Internet: hundreds of millions of public keys and ciphertexts under the same parameter set. With enough targets, the attacker does not need to break “that specific one” — breaking any one of them pays. Multi-target attacks study exactly this scale effect: security strength is not a fixed property of a parameter set, but a quantity that erodes with the number of targets. Leave this dimension out, and the 128 bits on a parameter table may mean only half as much in a batch setting.
Where the Multi-Target Advantage Comes From
The most intuitive mechanism is probabilistic: trying a low-cost attack independently against each target multiplies the chance of hitting at least one linearly in the number of targets. For problems such as hash preimage search, the same budget buys roughly N times the “winning chance” across N targets — equivalent to losing log₂N bits of security strength. Grover’s algorithm amplifies the same effect by its square-root law in the multi-target setting.
Finer mechanisms exploit shared computation. Batch inversion lets an attacker process N modular inversions for roughly the cost of one, a key technique in batch attacks on elliptic curves. For lattice problems, researchers have studied multi-target variants of sieving and shared reduction: multiple LWE samples of the same lattice, or structurally related targets, can partially reuse reduction work. The calibration matters: the actual benefit of such sharing depends on how structurally related the targets are. For independently generated random targets, usually only the peripheral steps can be shared, and the dominant exponential part of the cost is not divided by N — so the multi-target discount is a bounded discount, not a simple division by N.
Precomputation: The Structural Lesson of Logjam
A precomputation attack splits total cost into two phases: one expensive offline computation against a set of shared parameters, then a cheap online computation per concrete target. The 2015 Logjam attack is the classic demonstration of this pattern: for 512-bit export-grade Diffie–Hellman, most of the number field sieve computation for finite-field discrete logarithms depends only on the prime, not on the individual key. After precomputing for the handful of 512-bit primes most used on the Internet, individual connection keys could be broken on the order of a minute (the original paper reported a median of about 70 seconds, under the condition that the attacker could eavesdrop and downgrade connections in real time). The same study assessed nation-state feasibility of precomputing for a common 1024-bit prime — which is precisely what makes precomputation attacks frightening: one investment, amortised over however many times the parameters are reused.
This lesson directly changed protocol design: ephemeral parameters, per-connection group parameters, and suspicion of shared parameters all stem from it. For post-quantum schemes, researchers apply the same framework to lattice problems: does BKZ reduction admit precomputation reusable across targets? The current mainstream conclusion is that lattice reduction cost depends heavily on the concrete lattice instance, and no structure is known that amortises “per parameter set” the way the number field sieve does — but this is a proposition under continuous testing, not a proven negative.
Design Responses: Salts, Domain Separation and Multi-Target Security Goals
Cryptography’s main answer to the multi-target problem is to make every target “look different”. Salts in password hashing are the oldest example: an independent random salt per record forces precomputed rainbow tables to be rebuilt per salt, dispersing the multi-target advantage. In KEM and signature design, the same idea appears as domain separation: binding context strings, protocol identifiers and public-key hashes into hash and KDF inputs, so that precomputation against one target does not transfer to another. ML-KEM’s key derivation, which folds a hash of the public key into the shared-secret computation, includes exactly this consideration.
At the standardisation level, NIST explicitly asked submitters during the post-quantum process to evaluate security under multi-target attacks, and the parameter category definitions implicitly include margin discussions for batch settings. The research frontier is refining the models: precise costs of quantum multi-target attacks, formalisations of multi-target security in the ROM and QROM, and cost curves for different attacker goals between “break one” and “break all”.
Between “Break One” and “Break All”: A Spectrum of Attacker Goals
Multi-target research also clarified a distinction often glossed over: different attacker objective functions produce entirely different cost curves. “Break any one” is the cheapest goal, with the least certain payoff; “break a specified one” degenerates to the single-target problem, where multi-target techniques do not help; “break all” is the most expensive goal, though batch techniques let the marginal cost decline target by target. Realistic threats mostly sit in the middle of the spectrum: the attacker wants to break any one “valuable” target of a class — any large institution’s key, any high-value link. Estimation research has therefore begun to model target sets weighted by value rather than by simple count. This also explains why high-value targets still need individual assessment even under the multi-target discount: the discount protects the average target, not the one that is named.
Closing
Multi-target and precomputation research changed the question that security estimation asks: no longer “how many bits of security does this parameter set have”, but “under how many targets and how large a precomputation budget, how many bits remain”. For deployers the implication is equally concrete: avoid network-wide sharing of one static parameter set, include domain separation in protocol design, and state target-scale assumptions explicitly in the threat model — not paranoia, but completing the ledger.
Tags: multi-target attacksprecomputationsecurity estimationdomain separation