Tiny Bitcoin Payment Can Expose Wallet IP Address, Developer Warns

iconCoinDesk
Share
AI summary iconSummary
Bitcoin breaking news: A small Bitcoin payment under $0.35 can reveal a wallet’s IP address, a Bitcoin Core developer warned. The method, outlined on Delving Bitcoin, uses low-fee transactions to rebroadcast data and link addresses to IPs. Tested on a testnet, it affects wallets like Sparrow and Specter. A fix is in development but not yet released. Bitcoin news outlets are closely tracking the issue.

A payment worth less than 35 cents is enough to find the internet address of the computer watching a bitcoin wallet, Bitcoin Core contributor Abubakar Sadiq Ismail said earlier this week, in a move that may theoretically marr the privacy of affected users.

Ismail laid out the attack in a post on Delving Bitcoin, a forum for bitcoin developers. On a test network built from standard Core software, where the a software meant to watch transactions picked the right computer 30 times out of 30. It hasn't yet been measured on Bitcoin's live network.

Many Bitcoin users run Bitcoin Core, the software that powers most of the network, on their own computers. That setup, known as a node, keeps its own copy of Bitcoin's transaction history, communicates with other nodes and can hold a wallet.

Every node also has an IP address, the number that identifies an internet connection. It can point to an internet provider, a city and sometimes a specific home.

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.

As such, a user can switch the habit off with a setting called -walletbroadcast=0, but then every transaction has to be sent by hand.

A proposed code change, PR #36482, would resend only payments newly added to the node's memory pool, its list of transactions waiting to confirm. Fellow Core contributor Martin Zumsande replied that the change "only raises the cost of the active attack slightly" and wants resending of incoming payments made opt-in.

PR #36482 is unreleased, and the opt-in versions Zumsande pointed to sit in separate pull requests, #36398 and #36481.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.