Incident analysis

Protecting the EVMs from North Korea. A Binance case study.

Johannes Moormann13 min read

On 29 October 2026, attackers took about $6.3B from Binance’s hot wallets, the largest crypto theft on record. The FBI has attributed the attack to North Korea. In its initial report, Binance describes a campaign that ran for months and ended with the attackers in control of an internal wallet signing service, which they used “to initiate transactions outside the normal withdrawal process”. Binance says it will absorb the loss, and that about $2.85B has been frozen or intercepted.

We mentioned the incident in “Please try again” while it was still unfolding. With Binance’s report and the onchain record available, this post looks at one question: which parts of the loss would an onchain policy, enforced by Zodiac contracts in front of the wallets, have limited, and which parts would it not have touched?

The short answer: at least $3.5B would have stayed in Binance’s wallets. The count is conservative, and we show it below. The policy would not have stopped the break-in. It also does not reach Bitcoin, Tron, the XRP Ledger or Solana, where about $2.5B was lost.

How the attack unfolded

According to Binance, the preparation started in June, when a Wallet DevOps engineer searched for an AI coding tool and downloaded a tampered Homebrew installation. Binance links the case to a campaign of malicious search ads for fake Homebrew pages. Binance replaced the device and rotated the credentials, but the engineer’s role and colleagues on the wallet infrastructure team were exposed to the attackers. In September, a software engineer was approached through a job platform and, in the second round of a fake interview, downloaded a coding assignment onto a work computer. Code in it ran during setup and installed malware that the endpoint protection did not detect. On 20 October, the attackers used that computer and an internal AI tool to take control of the machines of two wallet engineers, and found a container deployment token on one of them.

On 29 October, between 17:15 and 19:56, the attackers logged on to one of those machines, used the stolen credentials to deploy a container and started a malicious script. From 20:05 UTC, Binance hot wallets sent 233.46 million XRP, about 970,500 SOL and 44.2 million OP to addresses the attackers controlled. Binance then received an internal alert about the large transfers, and a hot wallet sent 18,270 BTC.

On Ethereum, the attackers used the signing service to exploit EIP-7702, which lets an externally owned account, an address controlled by a private key, delegate its code to a smart contract, so that calls to the account run that contract’s code. Binance says the attackers submitted 50 signing transactions to manipulate the account nonce and set up a delegation for its hot wallet Binance 14. According to Protos’ reconstruction, a caller funded through Tornado Cash had deployed a sweeper contract and rehearsed on three test wallets. At 20:20:59 UTC it sent 50 authorizations naming the sweeper in one transaction, and exactly one took effect. From 20:24:23, the sweeper paid out 167,464 ETH and 1.62 billion USDT to a new collector address, and a second function pulled 823 million USDC through an executor of another wallet, Binance 34. Binance 16 sent the same collector 28,005.6 ETH and eight tokens with ordinary signed transfers, and wallets on Base, Optimism, Arbitrum, Avalanche and Polygon also lost funds through ordinary transfers. Protos notes that the attacker addresses are inferred from onchain transfers.

Binance suspended withdrawals and worked with partners and token issuers to freeze funds. The delegation, however, was state on the chain and kept working without the withdrawal system. Removing it required a new authorization signed by the wallet’s own key, and because the wallet used multi-party computation (MPC), there was no single private key to sign it with. The team had to develop and run a specialized procedure, which took additional time. The last unauthorized transfer, 2,961.9 ETH that had been broadcast earlier and stayed pending, settled at 23:56 UTC. At 00:10 UTC on 30 October, Binance cleared the delegation.

The chain checked only the signature

Binance 14 was an externally owned account, the only kind of account EIP-7702 applies to, and its key was held with MPC. For such an account, whatever rules a withdrawal has to pass, such as limits, address screening or approvals, run in the systems that decide what to sign. Once something carries a valid signature, the chain executes it. The attackers did not need the private key. They needed the system that requests signatures, and an internal AI tool and a deployment token gave them a path to it.

Three properties of this design shaped the incident:

  • The signing service was the policy. Requests that bypassed the withdrawal process were still signed. Binance lists “signing policy coverage” among the areas it is reviewing.
  • A signature could grant lasting authority. A transfer moves funds once. An EIP-7702 authorization changes what the account does on every later call, until another signed authorization replaces it.
  • Only the compromised key could take that authority back. Suspending withdrawals and shutting down the hot wallet services left the delegation in place, and the only key that could remove it was the MPC key behind the signing service the attackers controlled.

None of this is specific to Binance or to MPC. In Beyond TEE and MPC we argued that protecting a key does not protect what the key is used for. An account whose only rule is a valid signature fails in the same way whatever protects its key.

The same wallets with an onchain policy

In a Zodiac setup, the hot balance sits in a vault, a Safe smart contract account, and the rules sit on the chain in front of it. The signing service keeps its MPC key, but the key no longer owns the funds. It is a member of a role in the Zodiac Roles modifier, which checks each transaction the key sends against the role’s permissions before the vault executes it. Figure 1 shows the difference for the same compromised signing service.

Two rows. In the first, a compromised signing service signs a transfer, the plain hot wallet accepts the valid signature, and 167,464 ETH and 1.62B USDT reach the attacker’s address. In the second, the same service sends the transfer to a Roles policy, which finds it over the cap and budget, so it reverts and the hot vault keeps the funds; a guardian then removes the signing key from its role.
Figure 1. The same compromised signing service. A plain account executes everything the service signs. With a Roles policy, the transfer is over the cap and reverts, and a guardian removes the key from its role without needing that key.

Tiers at an exchange’s scale

Exchanges already separate the online hot wallets that pay customers from cold storage. An onchain policy fits that structure and makes each boundary binding, and a warm tier between the two lets the hot tier stay small. Figure 2 shows one way to build it on one EVM chain. Its balances and waiting times, such as a day of withdrawals in the warm vault, an hour in each hot vault and the 24-hour delay on policy changes, are examples. The right values depend on Binance’s withdrawal volumes, which we do not know.

A cold vault holds most of the funds and is moved by hand by its own signers, who are not the admin vault. An admin vault controlled by a quorum of hardware keys changes the policies of the warm and hot vaults only through a 24-hour Delay that a separate security council can cancel. The cold vault sends to a warm vault holding about a day of outflow, whose refill bot can send only to the hot vaults within an hourly budget. Several hot vaults, each holding about an hour of outflow, pay customers through a withdrawals role held by the signing service, with a cap and an hourly budget. Large withdrawals leave the warm vault only when an independent risk service co-signs, after a one-hour wait. A guardian held by monitoring and on-call staff can only stop: it removes the signing service from the withdrawals role and sets the refill budgets to zero.
Figure 2. One possible tiered setup for an exchange on one EVM chain. Bots operate the warm and hot tiers, each within its own limits. The cold vault has its own signers and moves only by hand, and the admin vault changes the policies only through the Delay.
Cold vault
Most of the funds
Operated by Its own signers, by hand
Sends to Warm vault
Limit No automation
Warm vault
About a day of withdrawals
Operated by Refill bot
Sends to Hot vaults only
Limit Hourly refill budget per token
Hot vaults
About an hour of withdrawals each
Operated by Signing service, several keys
Sends to Any address
Limit Cap per transfer, hourly budget per token
Large withdrawals
Paid from the warm vault
Operated by Signing service and risk service together
Sends to Any address
Limit Waits one hour, can be cancelled
Guardian
Nothing
Operated by Monitoring system, on-call staff
Sends to Nowhere
Limit Can only remove members and zero budgets

The hot vaults pay customers, so their withdrawals role cannot fix the recipient. Its limits are amounts: a maximum per transfer, which Roles enforces as a condition on the amount, and a budget per token that refills every hour, which it enforces as an allowance that the contract tracks and refills on its own. A role can have several member keys, so the signing service can send many transactions in parallel against one shared budget, and spreading the hot balance over several vaults keeps each of them small.

The warm vault is what lets the hot vaults stay small. It holds about a day of withdrawals, and the bot that operates it can send only to the hot vaults, within an hourly refill budget. That key is of little use to an attacker, because it can move funds only into vaults where the withdrawal limits still apply. Sweeps from the hot vaults back to the warm vault are bound to the exchange’s own vaults in the same way.

The cold vault has no automation at all. Its own signers move funds to the warm vault by hand, and they are not the people who hold the admin vault, so nobody who can widen the policies can also move cold funds. Because the cold vault has no Roles policy, a bug in the policy contracts cannot reach it either.

Withdrawals above the cap take a separate path from the warm vault. The member of that role is itself a multisig account that needs signatures from both the signing service and an independent risk service, which run on separate infrastructure with separate keys. The payment then waits an hour in a Delay, where the security team can cancel it. Control of the signing service alone is not enough to use this path.

The guardian role exists to stop things. Each vault owns its Roles modifier, so a role can call the modifier’s own functions through the vault. The guardian may call two of them: the one that changes role membership, with a condition that only allows removals, and the one that sets budgets, with a condition that only allows zero. A false alarm pauses withdrawals but cannot move funds, and because each step is a single transaction, the monitoring system can send it without waiting for a person. The guardian has to stop the refill bot too, because automatic refills would otherwise keep feeding a drain.

Changes to the policies, such as new members, higher budgets or new tokens, go through a Delay: the admin vault queues a change, which can execute only after 24 hours, and a security council of other people with other keys can cancel it in that time. This keeps an attacker who gains the admin keys from widening the rules in one block, as long as no path around the delay exists and someone watches the queue. Across dozens of vaults and chains, the whole configuration is easier to review as code, which is what Zodiac constellations are for.

Every routine step in this setup is automated: the signing service, the refill and sweep bots and the monitoring system are machines. People act in four places only: moving funds out of cold storage, reviewing large withdrawals during their wait, changing the policies, and cancelling changes as the security council. Stopping is fast and automatic. Starting again is slow, because it goes through the Delay.

29 October, replayed

The replay assumes that the attackers had the same access to the signing service, and that Binance’s alert fired when it did.

20:05
On 29 OctoberFive hot wallets send 233.46M XRP by 20:09.
With the setupUnchanged. The XRP Ledger is outside the setup.
20:10
On 29 OctoberWallets on Solana and Optimism send about 970,500 SOL and 44.2M OP.
With the setupSolana is outside the setup. On Optimism, transfers over the cap revert, and at most one or two hourly OP budgets leave in smaller transfers.
Then
On 29 OctoberBinance receives an internal alert about large transfers.
With the setupThe monitoring system, as guardian, removes the signing service from the withdrawals role and sets the refill budgets to zero.
20:20
On 29 OctoberA hot wallet sends 18,270 BTC.
With the setupUnchanged. Bitcoin is outside the setup.
Then
On 29 OctoberWithin two minutes, a hot wallet on Tron sends 612.7M USDT and 46.4M TRX.
With the setupUnchanged. Tron is outside the setup.
20:20:59
On 29 OctoberOf 50 EIP-7702 authorizations sent in one transaction, one takes effect, and Binance 14 runs the attackers’ sweeper contract.
With the setupNo counterpart. A vault has contract code and no private key, and EIP-7702 only accepts accounts without code.
20:24:23
On 29 OctoberThe sweeper pays out 167,464 ETH and 1.62B USDT. A second function pulls 823M USDC through Binance 34’s executor.
With the setupFails, because the key is no longer a member. Without the removal, the hourly budgets would still apply.
20:24:47
On 29 OctoberBinance 16 sends 28,005.6 ETH and eight tokens with ordinary signed transfers.
With the setupFails for the same reason.
20:41
On 29 OctoberFurther sweeps follow at 20:41, 20:59, 21:04, 21:44 and 22:39.
With the setupFail for the same reason.
23:05
On 29 OctoberA second wave reaches Binance wallets on Avalanche and Polygon.
With the setupFails if the guardian has removed the key on these chains too, which takes one transaction per chain.
23:56
On 29 OctoberA transfer of 2,961.9 ETH, broadcast earlier, settles.
With the setupReverts when it lands, because Roles checks membership when a transaction executes.
00:10
On 29 OctoberBinance clears the delegation with a new authorization to the zero address, using a procedure it had to develop.
With the setupNothing to clear.
Times from Binance’s report, Protos and TRM. Grey entries are outside what the setup covers.

Two properties do most of the work. First, EIP-7702 cannot touch a vault. An authorization is signed with an account’s private key, and the EIP only accepts accounts without contract code. A vault is a Safe smart contract account, so it has code and no private key, and the step that turned Binance 14 into the attackers’ contract has no counterpart. The attackers could still delegate the signing service’s own address, but that address holds only gas, and every call from it still passes through the role.

Second, the rules apply when a transaction executes, not when it is signed. Roles checks membership on every call, so a transaction that was signed and broadcast before the member was removed, like the 2,961.9 ETH transfer that settled at 23:56, fails when it lands. Removing the member takes effect for everything the key has signed, not only for what it signs next.

The loss on these chains is then bounded by what the hot tier holds and what flows into it: the balances of the hot vaults, plus refills until the guardian stops them. Each budget releases at most one period’s worth until the member is removed, and because budgets refill in whole periods, spending just before and just after a refill can take two within minutes. With the member removed automatically on the first alert, the Ethereum steps that Binance and Protos describe, which all came after the alert, would have failed. By TRM’s count, about $3.79B left Binance’s Ethereum wallets. An attacker who started on Ethereum would still have been limited to the hot balances and one or two hourly budgets per token.

Those balances and budgets have to cover the busiest legitimate hour, so for an exchange of Binance’s size they are not small. What changes is that the maximum loss is a number chosen in advance and enforced by the chain. On 29 October, according to TRM, a single transaction moved 167,464 ETH and 63 tokens out of one hot wallet.

Where the $3.5B comes from

The $3.5B figure is deliberately conservative. It counts only Binance’s losses on Ethereum. By Binance’s own sequence of events, the attackers turned to Ethereum after the internal alert, and TRM’s timeline puts every Ethereum outflow after 20:20 UTC, so in the replay the guardian has already removed the signing key when they happen.

  • TRM counts 200,630 ETH leaving Binance’s Ethereum wallets. TRM reports that ETH traded between $2,300 and $2,350 that day, and at the lower price this is about $461M.
  • Among the 185 tokens that left with it, TRM lists 1.875 billion USDT, 823 million USDC and 88.5 million RLUSD. These stablecoins add about $2.79B.
  • TRM values all of Binance’s Ethereum outflows at about $3.79B. Even at the higher ETH price that TRM also mentions, about $2,650, the other 182 tokens account for about $470M of that total.
  • Together that is about $3.7B. We round down to $3.5B as a margin for what a real setup would still have let through, for example if the guardian had acted later than Binance’s alert.

The count leaves out the other EVM chains, about $77M by TRM’s count, because some of those transfers, such as the OP on Optimism, came before Binance’s alert. It also leaves out everything on Bitcoin, Tron, the XRP Ledger and Solana, which the setup does not reach. Some of the counted funds were frozen after they left, among them stablecoins frozen by their issuers. With the setup they would not have left in the first place.

What it would not have changed

  • The intrusion. Fake interviews, a tampered package, an internal AI tool and a deployment token are attacks on people and machines. An onchain policy changes what a compromised signing service is worth, not whether it gets compromised.
  • The other chains. Zodiac runs on Ethereum and other EVM chains, not on Bitcoin, Tron, the XRP Ledger or Solana. The 18,270 BTC and the outflows on Tron, the XRP Ledger and Solana, about $2.5B together by TRM’s count, would have happened as they did.
  • Watching the admin layer. A policy is only as strong as the keys that can change it. Bybit lost $1.5B from a Safe in 2025 because its signers approved a transaction that replaced the Safe’s logic, and the Safe executed it as soon as enough of them had signed. In the setup above, a change signed with stolen admin keys would instead wait 24 hours in the Delay, where the security council can cancel it. That protection depends on someone watching the queue, on council keys kept apart from the admin keys, and on there being no path around the Delay.
  • Bugs in the policy contracts. The contracts become the last line of defence, and they can have bugs. Deployed contract code is immutable and public, so it is a fixed target: once reviewed and verified, it stays as it was reviewed, and every audit, finding and proven property adds to what is known about the same code.

Three questions for a hot wallet

  1. If the signing service is compromised, how much can leave in the first hour?
  2. Who can stop it, with which key, and how long does that take?
  3. Does stopping the service also stop what was already signed?

For an account whose only rule is a valid signature, the answers are everything it holds, the compromised key or a procedure built under pressure, and no. With an onchain policy, they become what the hot tier holds, a guardian with a single transaction, and yes.

An onchain policy does not need to replace an MPC setup. The two work very well together. In the setup above, the signing service keeps its MPC key as a role member. MPC protects the key itself, and the policy limits what anyone who controls the key, or the service that uses it, can do. Each layer covers a failure that the other cannot, and that is what security in depth means.

If you run an exchange or a custody platform and want to protect your users from North Korean attackers, talk to us. Our comparison of smart custody and MPC covers the trade-offs in more detail.