What can 35 cents buy you? On the Bitcoin network, according to research I just came across, it can buy the IP address behind a wallet.
Bitcoin Core contributor Abubakar Sadiq Ismail posted research on the developer forum Delving Bitcoin on November 25 about a default wallet behavior: if a transaction remains unconfirmed for a long time, the wallet automatically rebroadcasts it after 12 to 36 hours to help get it on-chain sooner.
An attacker can exploit this behavior: send a tiny payment with the minimum fee to an address that has been used before—so small it’s unlikely to ever confirm—and then wait. About a day later, only one node on the entire network will rebroadcast the transaction: the node that the wallet is monitoring that address through. Trace the broadcast, and you can match the address to an IP.
He tried this 30 times on testnet and succeeded all 30 times. At a Bitcoin price of $60,000, each attempt costs 18 to 34 cents. This affects not only the built-in Core wallet, but also wallets running on Core, such as Sparrow, Specter, Liana, JoinMarket, and Electrum Personal Server. More troublingly, nodes using Tor while also connected to the regular network are vulnerable too, because the rebroadcast goes out over all channels; only Tor-only nodes (-onlynet=onion) are protected.
Let’s be clear about two things: this can’t steal your coins or obtain your private keys—it compromises your privacy. And although all 30 attempts succeeded on testnet, it hasn’t been tested on mainnet, so the real-world success rate is unknown.
For now, there are two options: either disable automatic broadcasting with -walletbroadcast=0, which means you’ll have to manually broadcast every transaction, or wait for a fix—the PR #36482 has been submitted, proposing to rebroadcast only transactions newly added to the mempool, but it hasn’t been released yet. For the record, the -privatebroadcast fix in version 32.1 doesn’t stop this attack either.
My take: Bitcoin’s greatest strength has always been that problems can be discussed openly and clearly, and patches can follow. The awkward part this time is that until the patch arrives, the privacy of full nodes running with the default settings is already exposed. BTC is currently around $61,400, ETH around $1,700, and the Fear and Greed Index is at 12—the market is still mired in extreme fear. If you run your own node, would you change the default settings for privacy? $BTC $ETH
Bitcoin Core contributor Abubakar Sadiq Ismail posted research on the developer forum Delving Bitcoin on November 25 about a default wallet behavior: if a transaction remains unconfirmed for a long time, the wallet automatically rebroadcasts it after 12 to 36 hours to help get it on-chain sooner.
An attacker can exploit this behavior: send a tiny payment with the minimum fee to an address that has been used before—so small it’s unlikely to ever confirm—and then wait. About a day later, only one node on the entire network will rebroadcast the transaction: the node that the wallet is monitoring that address through. Trace the broadcast, and you can match the address to an IP.
He tried this 30 times on testnet and succeeded all 30 times. At a Bitcoin price of $60,000, each attempt costs 18 to 34 cents. This affects not only the built-in Core wallet, but also wallets running on Core, such as Sparrow, Specter, Liana, JoinMarket, and Electrum Personal Server. More troublingly, nodes using Tor while also connected to the regular network are vulnerable too, because the rebroadcast goes out over all channels; only Tor-only nodes (-onlynet=onion) are protected.
Let’s be clear about two things: this can’t steal your coins or obtain your private keys—it compromises your privacy. And although all 30 attempts succeeded on testnet, it hasn’t been tested on mainnet, so the real-world success rate is unknown.
For now, there are two options: either disable automatic broadcasting with -walletbroadcast=0, which means you’ll have to manually broadcast every transaction, or wait for a fix—the PR #36482 has been submitted, proposing to rebroadcast only transactions newly added to the mempool, but it hasn’t been released yet. For the record, the -privatebroadcast fix in version 32.1 doesn’t stop this attack either.
My take: Bitcoin’s greatest strength has always been that problems can be discussed openly and clearly, and patches can follow. The awkward part this time is that until the patch arrives, the privacy of full nodes running with the default settings is already exposed. BTC is currently around $61,400, ETH around $1,700, and the Fear and Greed Index is at 12—the market is still mired in extreme fear. If you run your own node, would you change the default settings for privacy? $BTC $ETH