Splatoon 3 Anticheat Seed Randomization Weakness
The anticheat's secondary seed for the main game code check was derived in a way that collapsed a large seed space into only 1,024 possible values. An attacker could precompute every valid hash for unmodified code and feed these pre-approved answers to the anticheat, allowing modified game code and cheats to run undetected.
- Triaged in 6 hours
- Fixed in 3 months
- Paid in 3 months
- Disclosed after 11 months
Summary by the program
Summary by the researcher
In Splatoon 3's anticheat system (internally referred to as ch), a mathematical oversight severely weakened the game's ability to detect tampered code. Here is a quick breakdown of how the exploit worked:
- The Problem: The anticheat starts with a strong primary seed that has over 4 billion possibilities. However, the shuffling logic used to generate the secondary seed for the main game code check (
ch1) accidentally collapses this number down to just 1,024 actual possibilities. - The Exploit: Because 1,024 is such a tiny pool of seeds, an attacker can precalculate every valid
ch1hash for the unmodified game in just a few minutes. By intercepting the game's anticheat function and feeding it these "pre-approved" answers from a saved file on the SD card, an attacker can trick the system into thinking nothing is wrong. This leaves them free to modify the live game code and run cheats, like infinite ink or invincibility, without getting caught. - The Fix: Nintendo addressed this in game version 10.0.0 and the seed is now reasonably random, so this class of exploit is fixed.
Context
Splatoon 3 ships with an anticheat system that the researcher refers to internally as ch. Its job is to detect tampered game code: the game computes a hash over the code it is about to run and the anticheat compares that hash against what it expects. If the two match, the code is treated as unmodified; if they differ, the tampering is detected.
The comparison depends on a seed. The anticheat begins with a strong primary seed with more than 4 billion possibilities, and from that primary seed it derives a secondary seed that is used for the main game code check, called ch1. The security of the whole check rests on an attacker not being able to predict that secondary seed, because a predictable seed means the expected hash can be precomputed.
Setup
The report describes the attack in terms of the console and the game itself rather than a lab environment. The relevant preconditions are:
- The attacker controls the console and can intercept the game's anticheat function, so that the call which would normally compute or verify the
ch1hash can be redirected. - The attacker can place a file on the SD card and have the intercepted function read its answers from there.
- The game version is one before 10.0.0, since the report states the issue was addressed in 10.0.0.
No specific tooling, account setup or version numbers beyond 10.0.0 are given.
Finding it
The researcher's observation is mathematical. The primary seed is strong, with over 4 billion possibilities. The shuffling logic that derives the secondary seed for ch1 does not preserve that strength: it collapses the space down to 1,024 actual possibilities. The derivation looks like it should carry the entropy of the primary seed forward, but in practice it maps the large input space onto a tiny output space, so the secondary seed is effectively one of only 1,024 values.
That is the whole weakness. Nothing about the hash itself is broken; the problem is that the input to the hash, the seed, is drawn from a pool small enough to enumerate.
Exploitation
Step 1: enumerate the seed space
Because the secondary seed has only 1,024 possible values, an attacker can compute, for each of those 1,024 seeds, the ch1 hash that the unmodified game would produce. The report states this precalculation takes just a few minutes. The result is a complete table of every valid ch1 hash for the unmodified game.
Step 2: save the answers
The precomputed hashes are written to a file on the SD card. This is the "pre-approved" answer set the anticheat will later be fed.
Step 3: intercept the anticheat function
The attacker intercepts the game's anticheat function and makes it return answers from that saved file instead of computing or checking the hash itself. Since every value it can be asked about is in the table, the anticheat sees a match and concludes that the code is unmodified.
Step 4: modify the live game code
With the check satisfied, the attacker is free to modify the live game code and run cheats. The report gives infinite ink and invincibility as examples. The anticheat continues to report that nothing is wrong because it is comparing against the precomputed answers rather than the real code.
Root cause
The mistake is in the shuffling logic that derives the secondary seed from the primary seed. A sound derivation would spread the primary seed's entropy across the secondary seed so that the secondary seed is as hard to guess as the primary one. Here the mapping collapses a space of over 4 billion inputs into 1,024 outputs, so the effective entropy of the secondary seed is about ten bits.
The existing defence, a strong primary seed, did not help because the weakness is downstream of it: the strength of the primary seed is discarded by the derivation. The hash comparison itself is not at fault either; it is only as strong as the unpredictability of its seed, and that unpredictability was gone.
Impact
An attacker with control of the console and the ability to intercept the anticheat function can run modified game code, including cheats such as infinite ink or invincibility, without the anticheat detecting it. The impact is confined to the attacker's own game session and the integrity of the anticheat check on that console; the report does not describe effects on other players, servers or accounts. The attack requires the precalculation step and the interception capability described above.
Fix
Nintendo addressed the issue in game version 10.0.0. According to the report, the seed is now reasonably random, so this class of exploit is fixed.
Variants to test
- Other derived seeds. Look for any other value derived from the primary seed by a similar shuffling or mixing routine, and count the distinct outputs it can produce. A positive result is a derived value whose output space is far smaller than the input space, for example a few thousand values from a 32-bit input.
- Seed derivation in other titles. The same anticheat component, or a similar one, may be reused across games. A positive result is the same collapse in the derivation, confirmed by enumerating the output space.
- Precomputation feasibility. For any seed-derived check, estimate how long it takes to compute the expected value for every possible seed. A positive result is a full table that can be built in minutes and stored in a small file.
- Interception surface. Check whether the verification function can be redirected to read its expected values from attacker-controlled storage. A positive result is a check that passes while the code under test has been modified.
Hunting notes
This kind of bug hides in the glue between a strong random source and the value actually used for a security decision: seed derivation, key derivation, nonce construction and shuffling routines. During recon, the signal is a claim of a large seed or key space combined with a derivation step that is not a cryptographic function; if the derivation is a simple arithmetic or table-based mix, count the outputs it can produce. The report sets out the full chain, from the collapsed seed space through precomputation to a modified game running undetected, which makes the weakness concrete rather than theoretical.
What happened, in plain words
Splatoon 3 is a shooting game for the Nintendo Switch. Like many online games, it ships with an anticheat system, a piece of software whose job is to notice when someone has changed the game's code to cheat. The researcher refers to this system internally as ch.
The way the check works is simple in principle. Before running a piece of game code, the game produces a short fingerprint of that code, called a hash. The anticheat then compares that fingerprint with the one it expects. If the two match, the code is treated as untouched. If they differ, the anticheat knows something has been modified.
To make the expected fingerprint, the anticheat uses a starting number called a seed. The seed is meant to be unpredictable, so that an attacker cannot work out in advance what fingerprint the anticheat will expect. Splatoon 3 starts with a strong primary seed with more than 4 billion possibilities. From that primary seed it derives a secondary seed, and that secondary seed is what is used for the main game code check, called ch1.
The problem is in the step that turns the primary seed into the secondary seed. That step, a kind of shuffling logic, accidentally squeezes the more than 4 billion possibilities down to just 1,024. So although the starting seed is strong, the value actually used for the check is one of only 1,024 numbers. That is small enough for an attacker to list every possibility in a few minutes.
With that list in hand, the attacker can precalculate every valid ch1 fingerprint for the unmodified game, save the answers to a file on the console's SD card, and intercept the anticheat function so that it reads its answers from that file instead of doing the real check. The anticheat then always sees a match, even while the live game code has been changed to run cheats such as infinite ink or invincibility.
Nintendo fixed this in game version 10.0.0. According to the report, the seed is now reasonably random, so this class of exploit no longer works.
Context
Splatoon 3 ships with an anticheat system that the researcher refers to internally as ch. Its job is to detect tampered game code: the game computes a hash over the code it is about to run and the anticheat compares that hash against what it expects. If the two match, the code is treated as unmodified; if they differ, the tampering is detected.
A few of those words deserve a plain explanation before going further.
- A hash is a short value produced from some data, like a fingerprint. The same data always gives the same fingerprint, and changing even a little of the data gives a very different fingerprint. It is a quick way to tell whether two pieces of code are identical without comparing every byte.
- A seed is the starting number that a process uses to produce values that should look random. If you know the seed, you can reproduce exactly the same sequence of values. If you do not, you cannot guess them. That is why a seed has to be unpredictable for a security check to mean anything.
- Anticheat is software that tries to stop or detect cheating in a game. Here it is checking that the game code has not been altered.
The comparison depends on a seed. The anticheat begins with a strong primary seed with more than 4 billion possibilities, and from that primary seed it derives a secondary seed that is used for the main game code check, called ch1. The security of the whole check rests on an attacker not being able to predict that secondary seed, because a predictable seed means the expected hash can be precomputed.
Think of it like a lock whose combination is chosen from a huge book of possible combinations. If the lockmaker always reduces the chosen combination to one of a thousand simple patterns before setting the lock, then an attacker only has to try those thousand patterns, no matter how big the book was.
Setup
The report describes the attack in terms of the console and the game itself rather than a lab environment. The relevant preconditions are:
- The attacker controls the console and can intercept the game's anticheat function, so that the call which would normally compute or verify the
ch1hash can be redirected. - The attacker can place a file on the SD card and have the intercepted function read its answers from there.
- The game version is one before 10.0.0, since the report states the issue was addressed in 10.0.0.
No specific tooling, account setup or version numbers beyond 10.0.0 are given.
In plain terms, this is not something a random player can do from a normal, unmodified console. It requires a console the attacker already controls, the ability to change how the game's anticheat function behaves, and a way to put a file on the SD card. The SD card is the small memory card used by the Switch to store game data and files.
Finding it
The researcher's observation is mathematical. The primary seed is strong, with over 4 billion possibilities. The shuffling logic that derives the secondary seed for ch1 does not preserve that strength: it collapses the space down to 1,024 actual possibilities. The derivation looks like it should carry the entropy of the primary seed forward, but in practice it maps the large input space onto a tiny output space, so the secondary seed is effectively one of only 1,024 values.
Entropy here simply means unpredictability, or how many possibilities an attacker would have to try. A value with more than 4 billion possibilities is hard to guess. A value with 1,024 possibilities is easy to list.
That is the whole weakness. Nothing about the hash itself is broken; the problem is that the input to the hash, the seed, is drawn from a pool small enough to enumerate. Enumerate means to go through every possibility one by one, which is exactly what a computer is good at when the list is short.
Exploitation
Step 1: enumerate the seed space
Because the secondary seed has only 1,024 possible values, an attacker can compute, for each of those 1,024 seeds, the ch1 hash that the unmodified game would produce. The report states this precalculation takes just a few minutes. The result is a complete table of every valid ch1 hash for the unmodified game.
Why do this? If the attacker knows every answer the anticheat could possibly expect, then the anticheat can no longer surprise them. The attacker has turned an unpredictable check into a short list of known answers.
Step 2: save the answers
The precomputed hashes are written to a file on the SD card. This is the "pre-approved" answer set the anticheat will later be fed.
Keeping the answers in a file rather than in memory means the intercepted function has a simple place to read them from. The report does not describe the file's name or format.
Step 3: intercept the anticheat function
The attacker intercepts the game's anticheat function and makes it return answers from that saved file instead of computing or checking the hash itself. Since every value it can be asked about is in the table, the anticheat sees a match and concludes that the code is unmodified.
Intercepting a function means stepping in between the game and the function so that the call goes somewhere else, or the result is replaced. Here the replacement result comes from the saved file. Because the table covers all 1,024 possible seeds, whatever the anticheat asks for, the file has an answer that looks correct.
Step 4: modify the live game code
With the check satisfied, the attacker is free to modify the live game code and run cheats. The report gives infinite ink and invincibility as examples. The anticheat continues to report that nothing is wrong because it is comparing against the precomputed answers rather than the real code.
In Splatoon 3, ink is the resource players use to paint the ground and attack; running out of it is a normal part of the game. Invincibility means not being able to be defeated. Both are examples of what a player could gain by changing the game code once the check no longer stands in the way.
Root cause
The mistake is in the shuffling logic that derives the secondary seed from the primary seed. A sound derivation would spread the primary seed's entropy across the secondary seed so that the secondary seed is as hard to guess as the primary one. Here the mapping collapses a space of over 4 billion inputs into 1,024 outputs, so the effective entropy of the secondary seed is about ten bits.
A bit is a single yes-or-no unit of information. Each bit doubles the number of possibilities: one bit gives two possibilities, two bits give four, and so on. Ten bits give 1,024 possibilities, which is why the report describes the effective entropy as about ten bits. More than 4 billion possibilities would be about 32 bits.
The existing defence, a strong primary seed, did not help because the weakness is downstream of it: the strength of the primary seed is discarded by the derivation. The hash comparison itself is not at fault either; it is only as strong as the unpredictability of its seed, and that unpredictability was gone.
A useful comparison is a password that is long and complicated but is then shortened to its first three letters before being stored. The original password may have been excellent, but the shortened version is what actually protects the account, and three letters are easy to try.
Impact
An attacker with control of the console and the ability to intercept the anticheat function can run modified game code, including cheats such as infinite ink or invincibility, without the anticheat detecting it. The impact is confined to the attacker's own game session and the integrity of the anticheat check on that console; the report does not describe effects on other players, servers or accounts. The attack requires the precalculation step and the interception capability described above.
Integrity here means that the check still gives a trustworthy answer. Once the check can be fed precomputed answers, its answer no longer reflects the real state of the game code, so its integrity is broken.
Fix
Nintendo addressed the issue in game version 10.0.0. According to the report, the seed is now reasonably random, so this class of exploit is fixed.
In other words, the seed is now reasonably random, so the secondary seed can no longer be listed in a few minutes.
Variants to test
The report lists four directions for anyone looking for similar issues elsewhere. Each one is a way of asking the same question: is a strong random value being weakened by the step that turns it into something else?
- Other derived seeds. Look for any other value derived from the primary seed by a similar shuffling or mixing routine, and count the distinct outputs it can produce. A positive result is a derived value whose output space is far smaller than the input space, for example a few thousand values from a 32-bit input.
- Seed derivation in other titles. The same anticheat component, or a similar one, may be reused across games. A positive result is the same collapse in the derivation, confirmed by enumerating the output space.
- Precomputation feasibility. For any seed-derived check, estimate how long it takes to compute the expected value for every possible seed. A positive result is a full table that can be built in minutes and stored in a small file.
- Interception surface. Check whether the verification function can be redirected to read its expected values from attacker-controlled storage. A positive result is a check that passes while the code under test has been modified.
A 32-bit input means a value made of 32 bits, which gives about 4 billion possibilities, matching the primary seed described above. The point of the first variant is to compare how many possibilities go in with how many come out: if far fewer come out, the derivation has thrown away the strength.
Hunting notes
This kind of bug hides in the glue between a strong random source and the value actually used for a security decision: seed derivation, key derivation, nonce construction and shuffling routines. During recon, the signal is a claim of a large seed or key space combined with a derivation step that is not a cryptographic function; if the derivation is a simple arithmetic or table-based mix, count the outputs it can produce. The researcher showed impact by demonstrating the full chain, from the collapsed seed space through precomputation to a modified game running undetected, which is what makes the weakness concrete rather than theoretical.
A nonce is a value meant to be used once, often in cryptography, and it has the same need for unpredictability as a seed. Recon means the early looking-around phase, before trying anything, where you gather information about how a system is built. A cryptographic function is a well-studied mathematical operation designed to keep secrets secret; a simple arithmetic or table-based mix is not one, and that is where the weakness tends to appear.
The lesson is that a strong random starting value is not enough on its own. What matters is the value that actually reaches the security decision, and every step between the two has to preserve the unpredictability. The report makes the point concrete by following the whole chain: the collapsed seed space, the precomputation, and a modified game running without being detected.
Glossary
- Anticheat: software that tries to detect or stop cheating in a game.
- Bit: a single yes-or-no unit of information; each extra bit doubles the number of possibilities.
- Cryptographic function: a well-studied mathematical operation designed to keep secrets secret.
- Entropy: the amount of unpredictability in a value, measured by how many possibilities an attacker would have to try.
- Enumerate: to go through every possibility one by one.
- Hash: a short fingerprint computed from data, used to tell whether the data has changed.
- Integrity: the property that a check or piece of data still gives a trustworthy answer.
- Intercept: to step in between a program and a function call so the call or its result can be redirected.
- Nonce: a value meant to be used once, which must be unpredictable.
- Precompute: to calculate answers in advance, before they are needed.
- Primary seed: the strong starting random value from which other values are derived.
- Recon: the early information-gathering phase before attempting an attack.
- SD card: the small memory card used by the Switch to store game data and files.
- Secondary seed: the value derived from the primary seed and actually used for the
ch1check. - Seed: the starting number used to produce values that should look random; if known, the values can be reproduced.
- 32-bit input: a value made of 32 bits, giving about 4 billion possibilities.