A tiny payment can expose the IP address behind a bitcoin wallet, developer finds

Written by

in

When a payment to or from a Bitcoin Core wallet goes unconfirmed for roughly 12 to 36 hours, the software announces it to other nodes again to help it get processed. Most payments are confirmed well before then, so the behavior rarely comes into play.

An attacker can make it come into play on purpose. The attacker sends a tiny payment, with the lowest fee the network allows, to an address that has already been used, so the payment is unlikely to go through. Then the attacker waits. A day or so later, the only node that announces that payment again is the one whose wallet is keeping track of that address. By connecting to likely nodes and watching which one speaks up, the attacker can tie a wallet to an internet connection, and possibly to a home.

Each planted payment costs about 18 to 34 cents, with Bitcoin trading near $60,000.

The exposure reaches past Core to various bitcoin wallets that run on top of it, including Sparrow in its Core mode, Specter, Liana, JoinMarket and Electrum Personal Server.

Nodes that hide behind Tor but keep some regular internet connections can leak their real IP too, because the reannouncement goes out on every network.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *