$2 / month

Comment and reply across TML.

Start or manage membership

Most pulsed

Latest from other desks

tml.the modern leap
Money / Crypto

Bots Drain Sloppy Bitcoin Wallets Within Seconds

Liège researchers baited wallets with a known signing flaw and timed the thieves. The first grab came within seconds, and a scan of six chains recovered 3,620 private keys.

TML Markets DeskNov 22, 12:15 PM ET · 2 min read
The bait wallets were attacked within seconds of funding. Image: Pexels (Pexels License), via https://www.pexels.com/photo/5980736/.
Summary

The lock on these wallets was never picked. The owners left the key in the math, and the bots just read it.

Tap a passage. React to the part that matters.

Two Belgian researchers baited Bitcoin wallets with a known signing flaw, and automated thieves grabbed the coins within seconds.

Vincent Jacquot and Benoît Donnet of the University of Liège's Montefiore Institute loaded small amounts, about $3 to $5 per wallet, into addresses whose private keys they could expose on purpose. The flaw is nonce reuse. Bitcoin's ECDSA signatures need a fresh random number, called a nonce, for every signature. A wallet that signs two payments with the same nonce leaks enough math for anyone to compute its private key.

On Bitcoin the attack began a second or a few seconds after the bait landed, per the researchers. At least two rival transactions raced each other in the mempool, the waiting area for unconfirmed payments. The bots weren't picking locks. They were watching for a specific mistake and collecting the moment it appeared on chain.

The team sent 7,200 satoshis to each of six addresses. Two of the addresses paid each other and reused a nonce across two different keys, a combination that stays safe. Then one address signed a third payment with the same nonce. Its remaining 5,200 satoshis were swept to a stranger's address in a transaction confirmed nine minutes later, and 4,700 of those satoshis reached the thief's address and haven't moved since.

AdFour office chairs in a rowFor businessesAmazon Business is Amazon’s purchasing store for companies, with business accounts and quantity ordering.Register with Amazon Business

The pair then replayed every ECDSA signature on six blockchains from each chain's launch through June 30, 2024. The scan recovered 3,620 private keys. Bitcoin accounted for 3,278 of them, and Dogecoin, Ethereum, Litecoin, Bitcoin Cash and Dash made up the rest.

Added up at November 25, 2024 prices, the peak balances of the exposed addresses came to about €101 million, roughly $106 million. That figure is exposure, not losses. It assumes every weak address was hit at its richest moment, and the researchers didn't establish how much was actually stolen.

The exposed keys come from old or broken wallet software. Current wallets generate nonces deterministically under a standard called RFC 6979, and they don't repeat them. Anyone still holding coins in a wallet built by ancient software should move the funds to a fresh address from a current wallet. The bots are still watching, and they've shown they don't need more than a few seconds.

The conversation

A little more perspective.

Reading is free. Verified members can comment and reply for $2 a month.

The conversation.

Loading comments…

Keep your curiosity going.

Some links here are affiliate links. If you buy through one, we might make a commission — it never changes what you pay. As an Amazon Associate I earn from qualifying purchases.