Bitcoin Core Flaw: Node IP Addresses Exposed for $0.35
Bitcoin Core contributor Abubakar Sadiq Ismail detailed an attack on November 25 that links a bitcoin address to the IP address of the node that monitors it, for less than $0.35. The flaw affects the wallet integrated…
Home » Crypto News » Bitcoin (BTC) News » Bitcoin Core Flaw: Node IP Addresses Exposed for $0.35
https://cryptoast.fr/faille-bitcoin-core-les-adresses-ip-des-noeuds-exposees-pour-035/
Bitcoin Core is the benchmark software for the Bitcoin network: it allows you to run a complete node, which maintains its own copy of the blockchain, relays transactions and can integrate a wallet. Each node also has an IP address, which can refer to an access provider, a city, or even a home.
The attack described by Abubakar Sadiq Ismail on Delving Bitcoin, a developers' forum, allows us to trace this to this address. It uses the automatic rebroadcast of the integrated wallet. When a transaction sent or received by the wallet remains unconfirmed for approximately 12 to 36 hours, the software announces it again to the nodes it is connected to, so that it continues to circulate through the network and reach the miners.
The attacker voluntarily triggers this re-announcement: he sends a small payment to an address already used by his target, with the minimum amount authorized and the lowest fees accepted by the network. The transaction enters the mempool, the queue of unconfirmed transactions, but is unlikely to be committed.
Once the delay has expired, only the node whose wallet follows this address announces it again. The attacker just needs to connect to the nodes likely to belong to his target and spot the one that shows up.
On a local test network, isolated from the real Bitcoin network, the method identified the correct node in 30 out of 30 cases. It has not yet been measured on the main network. According to the researcher's calculations, with BTC at around $59,000, each trapped payment costs between 309 and 569 satoshis, or $0.18 to $0.34 depending on the type of address.
Users who hold their bitcoins on an exchange platform or in a traditional mobile wallet, without a personal node, are not affected by this attack.
This concerns all Bitcoin Core nodes whose wallet is activated, as well as the software that relies on it to track their addresses: Bitcoin Knots, Sparrow in Core mode, Specter Desktop, Liana in bitcoind mode, JoinMarket, Electrum Personal Server or even Eclair.
According to the researcher, it does not matter whether the wallet contains the private keys or only serves to monitor addresses (watch-only): in both cases, the node would re-announce the trapped transaction.
First solution, cut off the automatic reannouncement. Just add the line walletbroadcast=0 to the bitcoin.conf configuration file. The node then no longer broadcasts any transactions from the wallet itself, and each payment must be sent manually with the sendrawtransaction command.
Second solution, pass the node only through Tor. Activating Tor is not enough: if the node keeps classic Internet connections in parallel, it re-announces the transaction on all its networks, including with its real IP address.
It is therefore necessary to restrict the node to Tor with the option onlynet=onion (or onlynet=i2p for the I2P network). The real IP address then remains hidden, although the Bitcoin address can still be linked to the node's Tor ID.
The issue was previously reported in March 2014 via Bitcoin Core repository ticket #3828, titled “Clients disclose their IP if they are the recipient of a transaction”.
Twelve years later, the patch under discussion, pull request #36482 opened in October by Ava Chow, would only rebroadcast transactions newly added to the mempool. Martin Zumsande, another contributor to Bitcoin Core, considers it insufficient. He described a variant of the attack based on successive replacements of the transaction, thanks to a Bitcoin function (RBF) which allows it to be returned with other parameters: “36482 only slightly increases the cost of the active attack, it does not prevent it”.
He calls for putting an end to the automatic re-announcement of payments received (PR #36398), leaving the possibility of triggering it manually (PR #36481). Abubakar Sadiq Ismail goes further and proposes making re-announcement optional for all transactions. None of these changes have yet been incorporated into a released version.
In our opinion, the episode reminds us that running your own node reinforces sovereignty without guaranteeing network anonymity. Until a fix, it is better to review its configuration.
Clément invested in Bitcoin in 2017 and has been following the evolution of the crypto ecosystem for 9 years. Having become publication director of Cryptoast, he strives to make these subjects accessible to as many people as possible through rigorous, educational and in-depth content. He has published more than 2,000 articles covering Bitcoin, other cryptocurrencies, exchange platforms, wallets, DeFi and the taxation of crypto-assets. He is co-author of the book Bitcoin and other cryptocurrencies, published by Editions Larousse, a reference work intended to popularize the mechanisms of blockchain and cryptoassets to the general French-speaking public. He also collaborated with the bank Delubac & Cie to produce educational sheets on cryptocurrencies. Thanks to a dedicated and passionate team, Cryptoast has become an essential reference in the French-speaking sector, providing in-depth analyzes and relevant information for all enthusiasts and curious people in the world of cryptocurrencies and blockchain.
The site that explains everything from A to Z about Bitcoin, blockchain and cryptocurrencies. News and explanatory articles to discover and progress in these sectors!
Gold and copper: the signal reminiscent of the 2008 crisis, according to Bloomberg Intelligence
Ethereum: whale collects $87.2 million after investing $31,000 during ICO
Bitcoin at $55,000: the bottom is validated? Vincent Ganne's analysis
Crypto mining: Nvidia agrees to a $290 million deal with its shareholders
Following your registration and depending on the amount of the deposit
Investments in cryptocurrencies are risky and may not be suitable for retail investors; you could lose your entire investment. Understand the risks here: https://etoro.tw/3PI44nZ
Register with the code CRYPTOAST and trade at least €1,000 before 10/31
8% per year on your crypto deposits for 3 months - Visit
For new and old customers residing in France, after identity verification
Machine-translated from French
Not cross-checked yet
Only Cryptoast reports this story so far. We show it as a single source until another newsroom confirms it.
- Cryptoast27 Nov, 08:00
| Publisher Cryptoast (general tier) | +72 |
| Checkable figures cited | +3 |
| Detailed summary | +2 |
| Total | 77 |
Method: reports are grouped by the words of their headline and summary; each newsroom counts once; figures are read from the reports as published. Nothing here is written by an AI.
