BlogRunning a real business

The Binance theft started on an engineer's laptop: what to learn

A fake Homebrew install, a rigged job interview and a deployment token on a laptop. What a small team should change now.

Ink and watercolor illustration: the large round door of a bank vault standing ajar, tied by a thin thread to a small key resting on a closed notebook.

On 29 October, about $6.3 billion in crypto left Binance, the largest theft of its kind on record. Nobody had to break a key: the attacker got in through several engineers’ laptops and used a deployment token to reach the service that signs transactions. The lesson for a small team is that one compromised laptop should never be able to move money or touch production on its own.

What happened

Binance confirmed the incident on the evening of 29 October, halted deposits and withdrawals, and posted a first update on the 30th: the initial investigation pointed to “a compromised DevOps engineer’s laptop”, which gave access to a service container. It also said there was no sign that any private key had leaked.

The numbers depend on who is counting. Binance talks about roughly $6.3 billion in affected assets; Chainalysis estimates $5.912 billion at the time of the theft and Elliptic $6.43 billion. According to The Hacker News, around $3 billion was frozen on-chain, largely because Tether and Circle blocked their stablecoins (digital currencies pegged to the dollar). On 31 October the FBI attributed the theft to TraderTraitor, a group linked to North Korea, and on 1 November Binance began reopening withdrawals in phases. The company says it is covering the losses with its SAFU insurance fund and its own money.

On 3 November Binance described the full chain. According to The Hacker News and crypto.news, it went like this:

  1. June. An engineer on the Wallet DevOps team searched online for an AI coding tool and installed it through a tampered Homebrew installer. Security caught it, replaced the device and rotated the credentials. But the attacker already knew what that person did and who they worked with.
  2. September. Another engineer got an approach through a legitimate recruiting platform. There were video interviews, one of them with the supposed CEO of a company that doesn’t exist. At the end, the engineer was asked to download an “assignment” onto their work computer. The setup script replaced the pyenv tool with a malicious version that the company’s endpoint security didn’t detect.
  3. 20 October. From that computer, and by abusing an internal AI tool, the attacker took control of two other engineers’ machines. One of them had a token for deploying containers.
  4. 29 October. With that token the attacker deployed a container and ran a script that reached the internal wallet signing service. The transactions went out signed by Binance’s own infrastructure, outside the normal withdrawal flow.

One more detail. On Ethereum, the attacker left behind delegations signed with EIP-7702 (a mechanism that lets an account delegate control to a contract). Suspending withdrawals didn’t cancel them, and Binance needed a special procedure to revoke them.

Binance says it has rebuilt the wallet environment and the internal AI tool, replaced devices and credentials, and that “the entry points identified as having been used in the attack have been closed”.

What a small team should change

You aren’t holding billions, but you probably do have an AWS account, a payment gateway or a customer database that someone can reach from a laptop. This is what I’d check this week:

  1. No long-lived production tokens on laptops. For AWS, use IAM Identity Center with short sessions instead of static access keys. Check whether you have any:
grep -c aws_access_key_id ~/.aws/credentials
aws iam list-access-keys --user-name <your-user>
  1. Only CI deploys. GitHub Actions can assume an AWS role with OIDC, with no stored secrets. If nobody deploys from their own machine, a token stolen from a laptop is worth much less.
  2. Separate who deploys from who moves money. The service that pays, refunds or signs shouldn’t simply take orders from a freshly deployed container. Set limits per amount and per hour, and require approval through a separate channel for anything out of the ordinary.
  3. Interview assignments go on a separate machine. Never on your work computer. A virtual machine or a throwaway container with none of your credentials, and no npm install or setup scripts from a repo you don’t know.
  4. Install tools from the official site. Homebrew installs from brew.sh. If you search “install X” and the first result is an ad, be suspicious.
  5. Treat your internal AI tools like any other user. If an agent can run things on your team’s machines, so can whoever controls it. Give it minimal permissions and log what it does.

My take

What worries me most about this case is the deployment token sitting on a laptop, not the malware. Malware will get onto some machine sooner or later: the September one went unnoticed by Binance’s endpoint security for weeks. What you can control is that, when it does, that machine doesn’t hold the keys to production.

In a small team the temptation runs the other way. There are few of us, everyone has access to everything, and we deploy from our laptops because it’s faster. I get it, but the maths is clear: setting up OIDC deployments and removing static keys is a day of work, and it stops a “technical exercise” from ending up in your AWS account.

What we don’t know yet: Binance hasn’t explained how the internal AI tool let the attacker control other machines, or how the token was obtained. Until it publishes more detail, any lesson about that part is a guess.

Sources

If you’re interested in how I build simple, secure systems on AWS with a small team, follow me on LinkedIn.

← All articles

Have a product to build or a tech stack to put in order?

Tell me what you are trying to achieve and where you are today. I reply personally, usually within a day.

Free · 30 minutes

Digital strategy session

30 minutes to map where to start digitalizing and transforming your business. You pay nothing, before or after.

When you book, you answer three short questions: what you need, what stage your project is at and when. That way the session starts with context.