Bitcoin Core developer shows a sub-35-cent payment can expose a wallet’s IP address

3 min read
Bitcoin Core developer shows a sub-35-cent payment can expose a wallet’s IP address
PrimeXBT Editorial Team
Reviewed by PrimeXBT

Topics in article

A Bitcoin Core contributor found that a payment costing less than 35 cents can reveal the IP address of the computer watching a bitcoin wallet. The technique picked the right computer in all 30 trials on a test network, but nobody has measured it on the live network yet.

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. The move may theoretically harm 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, the 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.

How a stuck payment gives the node away

Many users run Bitcoin Core on their own computers. That setup, known as a node, keeps its own copy of Bitcoin's transaction history and can hold a wallet. Every node also has an IP address, which 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. Most payments confirm well before then, so the behavior rarely comes into play.

An attacker can trigger it 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. A day or so later, the only node that announces the 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.

Cost, reach and possible fixes

Each planted payment costs about 18 to 34 cents, with Bitcoin trading near $60,000. The exposure also reaches wallets built on top of Core, 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.

Users can switch the habit off with a setting called -walletbroadcast=0, but then they have to send every transaction by hand. A proposed code change, PR #36482, would resend only payments newly added to the node's mempool, 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 sit in separate pull requests, #36398 and #36481.

Source: CoinDesk

Trading involves risk.

Author

PrimeXBT
Our Editorial Team consists of leading experts with a proven record in the fields of trading, cryptocurrencies, blockchain and finance. We thoroughly research the sources of information in order to provide readers with quality content that serves edu...
Read author’s articles
Alert Triangle Risk Disclaimer
Disclaimer: Some past publications may be outdated. We recommend following our news to stay up to date with the latest information. For any questions, feel free to contact our support team via the chat below.
The content provided here is for informational purposes only. It is not intended as personal investment advice and does not constitute a solicitation or invitation to engage in any financial transactions, investments, or related activities. Past performance is not a reliable indicator of future results.
The financial products offered by the Company are complex and come with a high risk of losing money rapidly due to leverage. These products may not be suitable for all investors. Before engaging, you should consider whether you understand how these leveraged products work and whether you can afford the high risk of losing your money.
The Company does not accept clients from the Restricted Jurisdictions as indicated in our website/ T&C. Some services or products may not be available in your jurisdiction.
The applicable legal entity and its respective products and services depend on the client’s country of residence and the entity with which the client has established a contractual relationship during registration.

Today in markets

Browse Crypto News

Register Now

Trading involves risk

Get started in minutes

Our clients love how fast and simple our sign-up is. It takes just a few minutes to get started!

Get Started Get Started
Get started in minutes

Need Help?

Risk Warning:
Trading in leveraged products carries a high level of risk and may not be suitable for all investors.