A payment under 35 cents can reveal the IP address behind a Bitcoin wallet, developer finds

A payment under 35 cents can reveal the IP address behind a Bitcoin wallet, developer finds

A tiny payment can unmask the computer watching a Bitcoin wallet

A payment worth less than 35 cents is enough to find the internet address of the computer watching a bitcoin wallet, according to Bitcoin Core contributor Abubakar Sadiq Ismail. He described the attack earlier this week in a post on Delving Bitcoin, a forum for bitcoin developers. The method could, in theory, harm the privacy of affected users by pointing to their location.

Ismail tested the technique on a test network built from standard Bitcoin Core software. It identified the correct computer in all 30 trials. Its effectiveness on Bitcoin's live network has not been measured.

Key points

  • A payment costing about 18 to 34 cents, with bitcoin trading near $60,000, can trigger the leak.
  • The attack identified the right computer 30 times out of 30 on a test network.
  • Several wallets built on Bitcoin Core may also be affected, including Sparrow in its Core mode, Specter, Liana, JoinMarket and Electrum Personal Server.
  • Users can disable automatic transaction broadcasting with a setting called -walletbroadcast=0, but then every transaction must be sent manually.
  • A proposed fix, PR #36482, is unreleased, and another contributor says it only slightly raises the cost of the attack.

How the attack works

Many bitcoin users run Bitcoin Core on their own computers. This setup, called a node, keeps a copy of Bitcoin's transaction history, talks to other nodes and can hold a wallet. Every node has an IP address, the number that identifies an internet connection. That number can point to an internet provider, a city, and sometimes a specific home.

When a payment to or from a Bitcoin Core wallet stays unconfirmed for roughly 12 to 36 hours, the software announces it to other nodes again to help it get processed. Most payments confirm well before that, so the behavior rarely matters.

An attacker can force the situation. 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. About a day later, the only node that announces that payment again is the one whose wallet tracks 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.

Other wallets and Tor users are also exposed

The problem reaches beyond Core to wallets that run on top of it. Sparrow in its Core mode, Specter, Liana, JoinMarket and Electrum Personal Server may also be affected.

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

Developers propose fixes, but disagree on how far they go

A proposed code change, PR #36482, would resend only payments newly added to the node's memory pool, the 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. The opt-in versions Zumsande pointed to sit in separate pull requests, #36398 and #36481.

What is confirmed and what is not

Confirmed from the sources: the attack was described by Ismail on Delving Bitcoin, it worked in all 30 trials on a test network, the cost per planted payment is about 18 to 34 cents at bitcoin prices near $60,000, and the affected wallets and proposed fixes are as listed above.

Still unclear: the attack has not been measured on Bitcoin's live network, so its real-world effectiveness there is unknown.

Why this matters for wallet users

A wallet's privacy can depend on keeping its internet connection separate from its bitcoin addresses. If the attack works as described, a small payment could link the two, exposing a user's possible location. The finding matters for people running Bitcoin Core nodes and for users of wallets built on that software.

Sources

Newisty Editorial Team
Written by

Newisty Editorial Team

Technology · Crypto · Digital Economy
View all posts

Newisty Editorial Team covers technology, cryptocurrency, digital products, online platforms, developer tools and the wider digital economy. Our content is researched from official sources, company announcements, public documentation, market data and other primary or reputable sources. Articles are reviewed and edited before publication for clarity, accuracy and useful context.

Comments (0)

Leave a comment
Your comment will appear publicly after submission.
No comments yet. Be the first to comment!