Pages:
Author

Topic: [INFO - DISCUSSION] Eclipse Attack (Read 380 times)

legendary
Activity: 2856
Merit: 7410
Crypto Swap Exchange
October 10, 2023, 07:14:34 AM
#28
--snip--
Isn't it quite easy to define centralized and decentralized in technical terms?

Centralized - there is a central server that serves all of the nodes and computers who request data from it
Decentralized - each node and computer functions as its own server, and many other computers connect to each other to request for data as they would from a server.

It's rather general definition though. I was thinking something more specific such as,
1. Cost to create and operate full node.
2. Total node/mining pool.
3. Amount of full node software implementation which is actively developed.
4. And many more.
legendary
Activity: 2856
Merit: 7410
Crypto Swap Exchange
October 10, 2023, 05:16:21 AM
#24
1. I can't give exact definition of centralised and decentralised.
2. Number of malicious node and whether other node collude or not mostly doesn't matter since full node supposed to verify everything.
3. Even miner can perform certain attack which doesn't violate Bitcoin rule, such as selfish mining and intentionally exclude certain transaction.
1. If you can't give a definition how do you know that btc isn't centralised ? This reminds me the documentary "what is a woman" https://twitter.com/Gidi_Traffic/status/1697747679659360322
2. In an environment where the majority of nodes are mallicious , -i think- you will verify a false ledger .
3. If that is valid , why don't we see selfish miners and other attacks happening everyday ? No one leaves more profitability on the table , especially in that sector . Maybe there are other reasons that make pools stay honest ?

1. That's because creating criteria and measuring decentralization isn't easy. Although i could just point to definition on dictionary such as these,

Adjective
decentralized
    not centralized; having no center or several centers
used to describe organizations or their activities which are not controlled from one central place, but happen in many different places:

2. Majority? Can you point to any relevant research or data?
3. Because selfish mining (and few other attack) isn't trivial to detect. And there's higher financial risk if they don't have high hashrate percenrage.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
October 10, 2023, 07:07:48 AM
#23
Isn't it quite easy to define centralized and decentralized in technical terms?
I mean, according to these definitions every cryptocurrency is decentralized, so no. It is easy to spot that Ethereum is operated by a few developers which can pretty much do everything-- from censoring transactions, to messing with the money supply.

Centralization is quite of a spectrum. Bitcoin isn't 100% decentralized, in the sense that every node is equally contributory to the network. There are a few pools which produce the majority of Proof-of-Work, and even if you don't argue that pools have the power, there are large farms which make a hell more than regular miners.
sr. member
Activity: 1624
Merit: 294
October 10, 2023, 06:53:13 AM
#22
1. I can't give exact definition of centralised and decentralised.
2. Number of malicious node and whether other node collude or not mostly doesn't matter since full node supposed to verify everything.
3. Even miner can perform certain attack which doesn't violate Bitcoin rule, such as selfish mining and intentionally exclude certain transaction.
1. If you can't give a definition how do you know that btc isn't centralised ? This reminds me the documentary "what is a woman" https://twitter.com/Gidi_Traffic/status/1697747679659360322
2. In an environment where the majority of nodes are mallicious , -i think- you will verify a false ledger .
3. If that is valid , why don't we see selfish miners and other attacks happening everyday ? No one leaves more profitability on the table , especially in that sector . Maybe there are other reasons that make pools stay honest ?

1. That's because creating criteria and measuring decentralization isn't easy. Although i could just point to definition on dictionary such as these,

Adjective
decentralized
    not centralized; having no center or several centers

Isn't it quite easy to define centralized and decentralized in technical terms?

Centralized - there is a central server that serves all of the nodes and computers who request data from it
Decentralized - each node and computer functions as its own server, and many other computers connect to each other to request for data as they would from a server.
Technically speaking, Bitcoin was centralized when it ran on only one computer (Satoshi's node/miner).

As soon as someone made a second node/miner it became decentralized.

Of course there are also other criteria.

For example, BSV has a mechanism to steal coins from "criminals" with a court order.

Does that make it decentralized (despite having many BSV nodes)? Not really.

ps: HmmMAA is a huge CSW/BSV fanboy. Wink

He doesn't even mind Calvin Ayre's pedo shenanigans... go figure!  Roll Eyes
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
October 10, 2023, 06:21:24 AM
#21
1. I can't give exact definition of centralised and decentralised.
2. Number of malicious node and whether other node collude or not mostly doesn't matter since full node supposed to verify everything.
3. Even miner can perform certain attack which doesn't violate Bitcoin rule, such as selfish mining and intentionally exclude certain transaction.
1. If you can't give a definition how do you know that btc isn't centralised ? This reminds me the documentary "what is a woman" https://twitter.com/Gidi_Traffic/status/1697747679659360322
2. In an environment where the majority of nodes are mallicious , -i think- you will verify a false ledger .
3. If that is valid , why don't we see selfish miners and other attacks happening everyday ? No one leaves more profitability on the table , especially in that sector . Maybe there are other reasons that make pools stay honest ?

1. That's because creating criteria and measuring decentralization isn't easy. Although i could just point to definition on dictionary such as these,

Adjective
decentralized
    not centralized; having no center or several centers

Isn't it quite easy to define centralized and decentralized in technical terms?

Centralized - there is a central server that serves all of the nodes and computers who request data from it
Decentralized - each node and computer functions as its own server, and many other computers connect to each other to request for data as they would from a server.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
October 09, 2023, 09:39:18 AM
#20
To BHC , thanks to Dump3er quote as you are ignored now like your "friend" .
You can ignore the truth all you like. I will still cover all the BSV bullshit.

That's why it's called PoW and not PoMN( Most nodes ) .
Nobody argues that the number of nodes helps in the consensus process. As I previously discussed in our local board, the choice to run a full node is largely driven by individual preferences. There isn't a strong incentive beyond concerns for security and privacy. What people argue, is that the average person should be able to run such a piece of software, a perspective differing from what you and your BSV associates propose.

2. In an environment where the majority of nodes are mallicious , -i think- you will verify a false ledger .
Wanna try out spinning up fifty thousand nodes to beat the air? Go for it. We've covered in literally the previous page that a malicious node without doing Proof-of-Work, is essentially a harmless node.
hero member
Activity: 1111
Merit: 584
October 09, 2023, 08:07:03 AM
#19

1. I can't give exact definition of centralised and decentralised.
2. Number of malicious node and whether other node collude or not mostly doesn't matter since full node supposed to verify everything.
3. Even miner can perform certain attack which doesn't violate Bitcoin rule, such as selfish mining and intentionally exclude certain transaction.

1. If you can't give a definition how do you know that btc isn't centralised ? This reminds me the documentary "what is a woman" https://twitter.com/Gidi_Traffic/status/1697747679659360322
2. In an environment where the majority of nodes are mallicious , -i think- you will verify a false ledger .
3. If that is valid , why don't we see selfish miners and other attacks happening everyday ? No one leaves more profitability on the table , especially in that sector . Maybe there are other reasons that make pools stay honest ?
hero member
Activity: 1111
Merit: 584
October 09, 2023, 04:35:05 AM
#18
I wonder if these large pools/ nodes can be geo-located? If they can be located then there is a danger of physical attack on nodes( considering if they really want to disrupt the network), another thing, is there a trustworthy source to get the IPs of these networked nodes and only connect to them?
An individual might not be able to , but everything is geo-located if big countries decide it . I'm not certain if there's a list of trusted IP's , but definitely mining pools share each other their IP's , it's for their best economic interest to being interconnected .

Only "full nodes" might face that kind of attack and it doesn't matter as they cannot change the blockchain .
I mean, totally false. It surely matters. Full nodes verifying the integrity of the blockchain is what's Bitcoin all about. Their incapability to change the blockchain (in terms of orders of transactions, as with miners) is irrelevant. The whole point is full nodes verifying the difficultywise-longest chain produced by honest nodes, without trusting third parties. An eclipse attack is pretty much trying to forbid you from figuring out there's a more-worked chain to verify.

Bitcoin designed as a mandala network and that's why it is immune to attacks of that kind https://www.nature.com/articles/srep09082 .

Miners are immune to that kind. People who merely want to verify their transactions are not.

Correct and the group of people you are mentioning here are often users of light weight clients. The most fatal attack is a double-spend and that is what most people have in their heads when they hear the word "attack", but likewise an eclipse attack can as well be used to disrupt network communication and thereby delay or censor transactions.

The issue with lightweight clients like Electrum or the Neutrino protocol or even the Lightning network is that they are dependent on communication with honest nodes. If those communication channels are cut off and infiltrated with malicious sybil attacks, there is all kinds of shenanigans an attacker could do. It's not necessarily the double-spend someone loses it all problem. But it could be the case for lightweight and second layer solutions. Communication with "honest nodes" is key to security of funds, aka for funds to stay with the rightful owner.

To BHC , thanks to Dump3er quote as you are ignored now like your "friend" .
Let's consider an example of the attack in a massive scale . Let's say that i flood the network with a massive amount of sybil nodes ( 90% ) . In that way the probability of your "full node" to be connected only to malicious nodes is very high . So your "validation" has nothing to do with the real ledger which is produced by the mining nodes . You can understand that mining nodes are unaffected by that kind of attack as they give a shit about your node .  
Bitcoin isn't a democratic network where everyone can change the consensus by running a "full node" . That's why it's called PoW and not PoMN( Most nodes ) . Bitcoin provided a solution to the problem of byzantine generals , not byzantine soldiers . Troops have a by far low number of generals than soldiers . Imagine a troop where every soldier would have to decide if the attack ordered should be executed . Do you think that there be a consensus ? That's what you (and most here ) don't get , that you are part of the consensus but just acknowledge it . It's like i use a bucket to take water from a river and by throwing it back i believe that i'm contributing to it's flow . But as i said to you many times , you only look bitcoin from the coding side , you can't extend your thought to the philosophical aspects behind it .  
To Dump3er . The problem with current model that btc uses is that there's no economic incentive for non mining nodes to be honest . If you could use a service of a honest node that gains money by earning a small amount (less than a cent ) each time you use their explorer to see if the transaction you're interested is double spent , would you use it ? Of course , with the current fee market created by the 1 MB limit that's not possible . If you could create such a node that earns you money everyday would you be interested to give fake results for a double spend that doesn't affect you at all and you don't get any profit from it , while on the other hand you would lose the profit from the service you are providing ?  
SPV's was the solution satoshi provided for massive scale . At some point we shall see if that model can work . If it works no one will want to use the current banking/credit system . Companies will earn insane amounts from fees in the long term as visa/MC has at least 1% fee + 10 cents per transaction .


The only source of truth? Bitcoin isn't centralized.
Define centralised and decentralised . I can provide examples of a 5 nodes network that's decentralised and a 10k nodes network that's centralised . Decantralisation comes not from the number of nodes but from the incentive nodes have to not collude .

Quote
Malicious node would be banned quickly, so anyone who want to run full nodes for non-malicious purpose (e.g. perform full verification, need whole blockchain data) also have incentive to be honest.
How do you know in a network flooded by malicious nodes which one is the malicious ? How do you know which one is honest ? If the truth in the network is the one provided by the malicious actor isn't the real truth false ?

Who are the only CERTAIN trusted/honest nodes in the network and why? Mining nodes because no one wants to kill the golden goose just to earn a double spend .

Quote
I already know that. Although FWIW one mining pool may have multiple full nodes.
Not just multiple , multiple HONEST nodes that many for profit nodes can connect .

hero member
Activity: 1274
Merit: 520
Cashback 15%
October 08, 2023, 11:12:09 PM
#17
~
The issue with lightweight clients like Electrum or the Neutrino protocol or even the Lightning network is that they are dependent on communication with honest nodes. If those communication channels are cut off and infiltrated with malicious sybil attacks, there is all kinds of shenanigans an attacker could do. It's not necessarily the double-spend someone loses it all problem. But it could be the case for lightweight and second layer solutions. Communication with "honest nodes" is key to security of funds, aka for funds to stay with the rightful owner.

Fortunately some light wallet (such as Electrum) connect to multiple server, node or backend which make such attack more costly and difficult.

Yes that's right, and this is also why I linked the paper because it really explains in simple terms how these attacks work, how they are set up (calculated) and executed. They provide an example based on the Neutrino protocol.



But they also provide some insightful stuff for Electrum Light clients. "By default, Electrum tries to maintain connections to ~10 servers."
This is not a whole lot compared to the example given for the Neutrino protocol in the paper. The required number of attacker Sybil serving nodes to achieve reasonable probability for success isn't that high.

But all of this is no reason to freak out as there is a number of other factors that have to be sorted out first before an attack 1) can be executed and 2) makes any sense at all.

But dealing with potential security issues is fun as I think it contributes a lot to expanding one's knowledge about the technicalities of the network. And trying to understand its vulnerabilities contributes a great deal to understanding Bitcoin's robustness. Because most of the attacks that are discussed here on the forum have never really led to publicly known large-scale damage, which means Bitcoin is really resilient because there is no lack for people trying to attack it. They do, but they can't get it done in notable ways. Yet, having some good talk about security can never hurt.
legendary
Activity: 2856
Merit: 7410
Crypto Swap Exchange
October 08, 2023, 05:20:47 AM
#16
I disagree. Imagine what would happen if full nodes by for-profit service (e.g. exchange, custodial wallet) got attacked. Their customer would have bad time (e.g. feeling uneasy their deposit never shown on the service) and it could affect their business profit/reputation. Even if the full nodes owned by individual, they would waste some time checking what's wrong with their device/full node software.
That's exactly the reason that for-profit nodes should be connected as close to the only source of truth which is mining nodes .

The only source of truth? Bitcoin isn't centralized.

Only mining nodes have the economic incentive to be honest by receiving rewards from subsidy and fees .

Malicious node would be banned quickly, so anyone who want to run full nodes for non-malicious purpose (e.g. perform full verification, need whole blockchain data) also have incentive to be honest.

Most people can't understand that even mining nodes aren't the same . Have a look at the pools history and you will notice that there are always 3-4 nodes that solve the majority of blocks .

I already know that. Although FWIW one mining pool may have multiple full nodes.

Take a look at the image and you will understand how bitcoin is designed .
https://www.talkimg.com/images/2023/10/07/RX8LG.png

That image doesn't represent Bitcoin or other decentralized network.

The issue with lightweight clients like Electrum or the Neutrino protocol or even the Lightning network is that they are dependent on communication with honest nodes. If those communication channels are cut off and infiltrated with malicious sybil attacks, there is all kinds of shenanigans an attacker could do. It's not necessarily the double-spend someone loses it all problem. But it could be the case for lightweight and second layer solutions. Communication with "honest nodes" is key to security of funds, aka for funds to stay with the rightful owner.

Fortunately some light wallet (such as Electrum) connect to multiple server, node or backend which make such attack more costly and difficult.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
October 08, 2023, 04:48:24 AM
#15
That's exactly the reason that for-profit nodes should be connected as close to the only source of truth which is mining nodes .
Mining pools can't accept the incoming connection of dozens of thousands of Bitcoin nodes, and neither should they. The network is peer-to-peer. That's why we have DNS seeds.

Only mining nodes have the economic incentive to be honest by receiving rewards from subsidy and fees .
"Only banks have the economic incentive to be honest by receiving rewards from transaction fees".  Roll Eyes

That model doesn't work great. It is demonstrated that the more power you give to a group of people, the more likely it is to be exploited. Mining is useful at decentralizing the issuance of money. Miners should only decide the order of the transactions.
hero member
Activity: 1274
Merit: 520
Cashback 15%
October 07, 2023, 11:25:10 PM
#14
Only "full nodes" might face that kind of attack and it doesn't matter as they cannot change the blockchain .
I mean, totally false. It surely matters. Full nodes verifying the integrity of the blockchain is what's Bitcoin all about. Their incapability to change the blockchain (in terms of orders of transactions, as with miners) is irrelevant. The whole point is full nodes verifying the difficultywise-longest chain produced by honest nodes, without trusting third parties. An eclipse attack is pretty much trying to forbid you from figuring out there's a more-worked chain to verify.

Bitcoin designed as a mandala network and that's why it is immune to attacks of that kind https://www.nature.com/articles/srep09082 .

Miners are immune to that kind. People who merely want to verify their transactions are not.

Correct and the group of people you are mentioning here are often users of light weight clients. The most fatal attack is a double-spend and that is what most people have in their heads when they hear the word "attack", but likewise an eclipse attack can as well be used to disrupt network communication and thereby delay or censor transactions.

The issue with lightweight clients like Electrum or the Neutrino protocol or even the Lightning network is that they are dependent on communication with honest nodes. If those communication channels are cut off and infiltrated with malicious sybil attacks, there is all kinds of shenanigans an attacker could do. It's not necessarily the double-spend someone loses it all problem. But it could be the case for lightweight and second layer solutions. Communication with "honest nodes" is key to security of funds, aka for funds to stay with the rightful owner.

I did a little bit of a research, and eclipse attacks appear to be concerning. Paper "Eclipse Attacks on Bitcoin’s Peer-to-Peer Network" greatly demonstrates experiments and countermeasures of such attack.

Fortunately, Bitcoin Core has implemented 6 out of the 7 countermeasures (which are described in detail above). You can check it out the pull requests in the official page of the paper's authors: http://web.archive.org/web/20220412122303/http://cs-people.bu.edu/heilman/eclipse/ (I found out the site from the v0.10.1 releasing notes, in which three of them were fixed)

Thanks for sharing this and this paper is also worth having a look at although a bit outdated maybe (from 2020).
sr. member
Activity: 1624
Merit: 294
October 07, 2023, 08:31:39 PM
#13
@everyone

Keep in mind HmmMAA is a CSW/BSV fanboy.

That's why he spreads propaganda material straight from the BSV wiki:

https://wiki.bitcoinsv.io/index.php/Mandala_Network

Everyone knows BSV is not censorship-resistant, but he believes the (totalitarian) state should be able to confiscate coins from "criminals". Wink
copper member
Activity: 1330
Merit: 899
🖤😏
October 07, 2023, 04:00:16 PM
#12
Nice image, the figures reminds me of mysterious  crop circles found all around the globe, I wonder if these large pools/ nodes can be geo-located? If they can be located then there is a danger of physical attack on nodes( considering if they really want to disrupt the network), another thing, is there a trustworthy source to get the IPs of these networked nodes and only connect to them?
hero member
Activity: 1111
Merit: 584
October 07, 2023, 02:21:01 PM
#11
I disagree. Imagine what would happen if full nodes by for-profit service (e.g. exchange, custodial wallet) got attacked. Their customer would have bad time (e.g. feeling uneasy their deposit never shown on the service) and it could affect their business profit/reputation. Even if the full nodes owned by individual, they would waste some time checking what's wrong with their device/full node software.
That's exactly the reason that for-profit nodes should be connected as close to the only source of truth which is mining nodes . Only mining nodes have the economic incentive to be honest by receiving rewards from subsidy and fees .
Most people can't understand that even mining nodes aren't the same . Have a look at the pools history and you will notice that there are always 3-4 nodes that solve the majority of blocks . Take a look at the image and you will understand how bitcoin is designed .
member
Activity: 177
Merit: 14
October 06, 2023, 04:53:32 AM
#10
I don't get it much, what benefits gets the attacker if he prevents nodes to broadcast blocks?
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
October 06, 2023, 04:45:06 AM
#9
Only "full nodes" might face that kind of attack and it doesn't matter as they cannot change the blockchain .
I mean, totally false. It surely matters. Full nodes verifying the integrity of the blockchain is what's Bitcoin all about. Their incapability to change the blockchain (in terms of orders of transactions, as with miners) is irrelevant. The whole point is full nodes verifying the difficultywise-longest chain produced by honest nodes, without trusting third parties. An eclipse attack is pretty much trying to forbid you from figuring out there's a more-worked chain to verify.

Bitcoin designed as a mandala network and that's why it is immune to attacks of that kind https://www.nature.com/articles/srep09082 .
Miners are immune to that kind. People who merely want to verify their transactions are not.
hero member
Activity: 1111
Merit: 584
October 06, 2023, 03:29:00 AM
#8
Unless the isolated node is mining there is no use of doing fake tx, even if it was mining, it wouldn't accept a fake tx unless you feed it with a fake longest chain, on top of that aren't mining nodes connected to several of other trusted/ honest nodes to prevent such attacks?

If that node mines it has no problem as mining pools are interconnected to get the solved block and work on the next one as soon as possible . If that node belongs to an attacker which uses multiple "sybil" nodes it cannot attack the rest of the mining pools unless it owns the majority of them . As a pool you want to be connected with the source which is the rest of mining pools and not "full nodes" . The designed system is robust as mining nodes have economic incentive to receive and broadcast with high speeds . Only "full nodes" might face that kind of attack and it doesn't matter as they cannot change the blockchain . Bitcoin designed as a mandala network and that's why it is immune to attacks of that kind https://www.nature.com/articles/srep09082 .
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
October 02, 2023, 10:41:00 AM
#7
I did a little bit of a research, and eclipse attacks appear to be concerning. Paper "Eclipse Attacks on Bitcoin’s Peer-to-Peer Network" greatly demonstrates experiments and countermeasures of such attack.

Fortunately, Bitcoin Core has implemented 6 out of the 7 countermeasures (which are described in detail above). You can check it out the pull requests in the official page of the paper's authors: http://web.archive.org/web/20220412122303/http://cs-people.bu.edu/heilman/eclipse/ (I found out the site from the v0.10.1 releasing notes, in which three of them were fixed)
hero member
Activity: 882
Merit: 5818
not your keys, not your coins!
October 02, 2023, 06:23:32 AM
#6
What is needed to be emphasized is that an eclipse attack isn't going to be effective if the attacker doesn't spend a significant amount of resources to redo the Proof-of-Work, which in that case, the network would be under threat anyway. The reason is that the attacker must maintain an entire chain themselves. If your node receives no blocks for hours, or days, you can make out you're under an eclipse attack. [emphasis mine]
I wouldn't take this for granted. To the best of my knowledge, Bitcoin Core has no mechanism in place that makes it exit with an error message if something like that happens, for instance. Therefore, unless you actively monitor the logs of your node, I can definitely see how getting no blocks for a while could go unnoticed.
Realistically, you would notice it when you try to send BTC and get 0 confirmations, check on block explorers and realize something's wrong with your node.
Pages:
Jump to: