Binance has said the theft of about $6.3 billion in cryptocurrency on October 29 followed months of preparation. The attackers compromised one engineer through a tampered software installer and another through a fake job interview. The exchange set out the sequence in a security report dated November 3.

The FBI has attributed the theft to North Korea, which has rejected the claim. Binance says the attack was carried out in several stages over months, rather than through one isolated breach.

How the attack began

In June, an engineer on Binance’s Wallet DevOps team searched online for a popular AI coding tool and downloaded a tampered version of the Homebrew installer. Homebrew is a package manager, a tool developers use to install and manage software on macOS computers. Binance says it noticed unusual activity at the time and took action, including replacing the engineer’s device. By then, however, the attackers had learned the engineer’s role and which colleagues worked on the exchange’s wallet infrastructure.

In September, a different software engineer was approached on a legitimate job-hunting platform by someone posing as a project director. He went through two interviews. The first was a live video call with a supposed HR representative, who showed him a personal social media account to gain his trust. The second was with someone posing as the CEO of a fictitious company, held over a chat app.

The engineer was then given a coding assignment and downloaded it to his work computer. It carried malware that ran during setup. The malware tampered with a legitimate component of a developer tool, which let the attackers run commands on the machine, and it was built to evade detection. Binance’s endpoint security tools did not flag it.

The theft

On October 20, the attackers used the compromised computer and an internal AI tool to take control of the devices of the Wallet DevOps engineer and another colleague. They also found a token on the first engineer’s computer that gave permission to deploy containers, which are packaged units of software.

On October 29, they logged into a third engineer’s computer using the stolen credentials, deployed a container and ran a malicious script. This gave them access to the internal wallet signing service, which approves transactions. They moved funds out of five hot wallets, which are wallets connected to the internet, outside the normal withdrawal process.

Recovery

Binance says it has frozen or intercepted about $2.85 billion. Funds kept moving after it suspended withdrawals because those transactions had already been authorised. The exchange says it will bear the losses itself and has set aside enough money to cover them. It says it has made good 98 percent of the affected tokens and is still sourcing the rest, which are harder to sell quickly.

Since the theft, Binance says it has also replaced the devices that were affected, withdrawn the exposed credentials and tokens, scanned employee devices more thoroughly, and rebuilt the wallet system and its internal AI tools. It has added AI-based detection of unusual activity as well.