Bitcoin Forum
May 04, 2024, 07:19:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin network 51% attack And Bad consequences  (Read 227 times)
Cryptornd (OP)
Jr. Member
*
Offline Offline

Activity: 98
Merit: 5


View Profile
June 25, 2022, 09:01:09 AM
Last edit: June 25, 2022, 06:23:01 PM by Cryptornd
Merited by odolvlobo (1)
 #1

Total computational power of the bitcoin blockchain is expressed in terms of the number of hashes generated by all the nodes. calculate for a second .At this time it is about 220 million tera-hashes per second. One tera hash = 1,000,000,000,000 hashes.
 51% of the total computational power means, single mining node (group, person ) should be able to generate more than 110 million tera-hashes per second. which means this node can mine the blocks faster than all the others in the network together — so it has a higher chance of producing the longest blockchain.



If the node of the 51% of the total cpu power decides to cheat, it can change the value of the bitcoin reward (from 6.25 to 100 bitcoins) and add them to his account? The value of the bitcoin reward and how it changes with time is defined in the BTC mining software. Each miner have a copy of this. The attacker can change it's copy to create more bitcoins for the block reward and possibly add that to the blockchain. But, once that block is sent to other nodes of the network — the miners who works with the legit software — and who follow the right rules, will reject that block. then the blockchain behind those nodes are not updated with this block. this will result in a fork.

When there is a fork, all the nodes in each branch of the fork is curious to know whether they are in the longest branch. Since the bad guy has control over the CPU power,it can generate more blocks and possibly own the longest blockchain.

BTC
Miners can find that there is another branch of the blockchain, which is longer than what they are working on by reviewing the block height property of the blocks they receive. block height is the how many blocks preceding a particular block on the chain — and the value of the block height is included in the block header. Once a mining node receives the block, node will validate it and if it conforms to the accepted rules of the the bitcoin network, then it will look at the block height. If the block height is higher than the latest block which mined at this node, then there is another branch of the blockchain which is longer than the one known to it. So it can disagree back in the blockchain and update its own copy by requesting the latest from its peers. make sure to remember this complete process will only happen, if the the block it receives is valid.

In case of the 51% attack, since the block generated by the scammers is invalid (in this case), even though its blockchain is longer, the other legit miners in the bitcoin network will not shift to it. This will make the attacker solo in its own branch. He or she can accumulate more bitcoins, but no one outside it's branch will accept those.


But, there are some other things an attacker can do if it owns 51% of the total CPU power. Double spending is an example . For example I buy something for 10 bitcoin — and post the transaction to the bitcoin network. The scammer can mine a block with that transaction, and updates the blockchain. Now after the merchant confirms that transaction, the scammer can mine that block again with a new transaction with the same inputs, but outputs the amount to the buyer’s bitcoin account. Now that block is a valid block, and the attacker can repeat this on top of that to make it the longest blockchain, with its 51% in computational power.

Also, the scammer can block some transactions being added to the blockchain. attacker can have it's own preferences and keeps-on mining the blocks with the set of transactions it wants. This will defer certain transactions — even though they happened quite earlier in time. Satoshi Nakamoto has suggested a way here to prevent such situation , but he himself concludes that there will not be a need to do such, where a miners want to explicitly drop some transactions.


By this moment , nearly all the miners are mining through pools, very few miners solo. A mining pool lets miners contribute their cpu power — and paid to each miner based on the hash rate they contribute. The following link shows the percentage hash rate generated by popular mining pools at the time of this writing.

https://www.blockchain.com/charts/pools
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714850379
Hero Member
*
Offline Offline

Posts: 1714850379

View Profile Personal Message (Offline)

Ignore
1714850379
Reply with quote  #2

1714850379
Report to moderator
OcTradism
Hero Member
*****
Offline Offline

Activity: 1736
Merit: 801



View Profile WWW
June 25, 2022, 04:21:45 PM
 #2

51% attack is not a hack according to Bitcoin Wiki. How long the 51% attack can last is decisive for attackers to reverse the blockchain and get money. The cost to get enough hashpower and maintain it long enough to revert the blockchain is very expensive. Chance to succeed is very slim.

Today is different than the past and with AI bots, mining pools, exchanges, Bitcoin nodes, communities will detect it very quick. They will has solution to stop the attack very quick too. So if you spend very high cost but chance to succeed is very slim, it is not worth to try.

.
.Duelbits.
█▀▀▀▀▀











█▄▄▄▄▄
TRY OUR
  NEW  UNIQUE
GAMES!
.
..DICE...
███████████████████████████████
███▀▀                     ▀▀███
███    ▄▄▄▄         ▄▄▄▄    ███
███   ██████       ██████   ███
███   ▀████▀       ▀████▀   ███
███                         ███
███                         ███
███                         ███
███   ▄████▄       ▄████▄   ███
███   ██████       ██████   ███
███    ▀▀▀▀         ▀▀▀▀    ███
███▄▄                     ▄▄███
███████████████████████████████
.
.MINES.
███████████████████████████████
████████████████████████▄▀▄████
██████████████▀▄▄▄▀█████▄▀▄████
████████████▀ █████▄▀████ █████
██████████      █████▄▀▀▄██████
███████▀          ▀████████████
█████▀              ▀██████████
█████                ██████████
████▌                ▐█████████
█████                ██████████
██████▄            ▄███████████
████████▄▄      ▄▄█████████████
███████████████████████████████
.
.PLINKO.
███████████████████████████████
█████████▀▀▀       ▀▀▀█████████
██████▀  ▄▄███ ███      ▀██████
█████  ▄▀▀                █████
████  ▀                    ████
███                         ███
███                         ███
███                         ███
████                       ████
█████                     █████
██████▄                 ▄██████
█████████▄▄▄       ▄▄▄█████████
███████████████████████████████
10,000x
MULTIPLIER
NEARLY UP TO
.50%. REWARDS
▀▀▀▀▀█











▄▄▄▄▄█
kasunrandil
Jr. Member
*
Offline Offline

Activity: 112
Merit: 1


View Profile
June 25, 2022, 06:25:49 PM
 #3

51% attack is not a hack according to Bitcoin Wiki. How long the 51% attack can last is decisive for attackers to reverse the blockchain and get money. The cost to get enough hashpower and maintain it long enough to revert the blockchain is very expensive. Chance to succeed is very slim.

Today is different than the past and with AI bots, mining pools, exchanges, Bitcoin nodes, communities will detect it very quick. They will has solution to stop the attack very quick too. So if you spend very high cost but chance to succeed is very slim, it is not worth to try.
yeah may be. posted for just knowlegde perposes only

►  SOLARBLOX   ⬤   crypto solar mining
◥◥◥◥◥◥ https://solarblox.co/ ◥◥◥◥◥◥
darkv0rt3x
Hero Member
*****
Offline Offline

Activity: 1204
Merit: 658


I rather die on my feet than to live on my knees


View Profile
June 25, 2022, 07:17:42 PM
 #4

Such an attack, in my opinion, could only be done or backed by states. I can't see anyone else with enough resources, monetary, human, skills, etc to pull something like this out that easilly. I'm no expert but this is more a question of common sense. Nonetheless, at this point, the USA being the country where more miners are working, could eventually be one of the canidates to at least try such an attack!

Bitcoin is energy. Bitcoin is freedom
I rather die on my feet than living on my knees!
hugeblack
Legendary
*
Offline Offline

Activity: 2506
Merit: 3645


Buy/Sell crypto at BestChange


View Profile WWW
June 25, 2022, 07:27:48 PM
 #5

There are many articles and threads in the forum that dealt with this topic in detail.
In short, the Bitcoin brute force attack is effective in the short term, but they do not promise to be a sabotage attack more than a service intended to be stolen and fraudulent.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
sklopan
Jr. Member
*
Offline Offline

Activity: 98
Merit: 2


View Profile
June 25, 2022, 08:19:28 PM
 #6

Hoping that such a part of the market will be left alone is not entirely correct. I am sure that many hackers or just scammers often work on bitcoins.
franky1
Legendary
*
Offline Offline

Activity: 4214
Merit: 4465



View Profile
June 25, 2022, 08:39:52 PM
 #7

If the node of the 51% of the total cpu power decides to cheat, it can change the value of the bitcoin reward (from 6.25 to 100 bitcoins) and add them to his account?
he cant change the rules of all network node users. but he can change what he sees in his local copy. but thats just him having his own stack of blocks he and he alone is following. whilst everyone else rejects that bad block that doesnt follow the rules. and they instead receive good blocks from the other 49% that they decide to keep


In case of the 51% attack, since the block generated by the scammers is invalid (in this case), even though its blockchain is longer, the other legit miners in the bitcoin network will not shift to it. This will make the attacker solo in its own branch. He or she can accumulate more bitcoins, but no one outside it's branch will accept those.

correct.. unless he can convince other people to download new edited/updated software that he tweaked to meet his new rules then they will join him on his altcoin. he would then have to try to convince merchants/exchanges to accept that altcoin too to then be able to spend/exchange his altcoin coins

But, there are some other things an attacker can do if it owns 51% of the total CPU power. Double spending is an example . For example I buy something for 10 bitcoin — and post the transaction to the bitcoin network. The scammer can mine a block with that transaction, and updates the blockchain. Now after the merchant confirms that transaction, the scammer can mine that block again with a new transaction with the same inputs, but outputs the amount to the buyer’s bitcoin account. Now that block is a valid block, and the attacker can repeat this on top of that to make it the longest blockchain, with its 51% in computational power.
he cant change who YOU have signed YOUR transaction destination of funds to go to..
instead when he goes back to edit the confirmed block. he can just remove the transaction and make it unspent.. (unconfirmed) once he catches up and makes his chain the re-organised default chain that includes the block without your 10btc transaction.. then YOU can spend your coin again..

there is no advantage to him.. so he wont do that. he would probably want to re-exclude one of his transactions he already spent. thus he could double spend that and gain/profit from his effort.

however. the cost to mine so much hash just to edit out a transaction.. that transaction better be of large volume to be worthy of the effort

Also, the scammer can block some transactions being added to the blockchain. attacker can have it's own preferences and keeps-on mining the blocks with the set of transactions it wants. This will defer certain transactions — even though they happened quite earlier in time. Satoshi Nakamoto has suggested a way here to prevent such situation , but he himself concludes that there will not be a need to do such, where a miners want to explicitly drop some transactions.

empty blocks is and can be annoying and cause chaos. but what is gained from that apart from some drama.
if people cant move their funds then it negatively affects the market price thus ends up costing the scammer in the long run

By this moment , nearly all the miners are mining through pools, very few miners solo. A mining pool lets miners contribute their cpu power — and paid to each miner based on the hash rate they contribute. The following link shows the percentage hash rate generated by popular mining pools at the time of this writing.

its no longer CPU power. nor GPU, its now ASIC power
a CPU is about   50,000,000 hashes
a asic is about 140,000,000,000,000 hashes (140 terra hashes)

the network on average has about ~1.5m asics which if it was CPU standard would be 4-5 trilion PC's

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10546



View Profile
June 26, 2022, 04:37:12 AM
 #8

the number of hashes generated by all the nodes.
It is number of hashes computed by all the miners not nodes.

Quote
If the node of the 51% of the total cpu power decides to cheat, it can change the value of the bitcoin reward (from 6.25 to 100 bitcoins) and add them to his account?
No they can't. Even if they had 100% of the hashrate their block would still be invalid and rejected by the entire network.

Quote
The value of the bitcoin reward and how it changes with time is defined in the BTC mining software.
Not exactly. It is defined by the consensus rules that each node enforces and the "mining software" connects to a node that enforces that same rules.

Quote
Each miner have a copy of this. The attacker can change it's copy to create more bitcoins for the block reward and possibly add that to the blockchain. But, once that block is sent to other nodes of the network — the miners who works with the legit software — and who follow the right rules, will reject that block. then the blockchain behind those nodes are not updated with this block. this will result in a fork.
To change the consensus rules and create invalid blocks for a fork you don't need 51%+ of the hashrate, you can do it with your own CPU. Just change the rules you want and start mining new blocks on your own alt-chain

Quote
When there is a fork, all the nodes in each branch of the fork is curious to know whether they are in the longest branch. Since the bad guy has control over the CPU power,it can generate more blocks and possibly own the longest blockchain.
Having "longest" blockchain means nothing if the blocks are invalid. For example bcash has a longer chain than bitcoin (746116 vs 742369) but if you send a bcash block to a bitcoin node it will be rejected because it is invalid.

Quote
But, there are some other things an attacker can do if it owns 51% of the total CPU power. Double spending is an example . For example I buy something for 10 bitcoin — and post the transaction to the bitcoin network. The scammer can mine a block with that transaction, and updates the blockchain. Now after the merchant confirms that transaction, the scammer can mine that block again with a new transaction with the same inputs, but outputs the amount to the buyer’s bitcoin account. Now that block is a valid block, and the attacker can repeat this on top of that to make it the longest blockchain, with its 51% in computational power.
The miner who owns 51% of the hashrate has to be the one sending 10 bitcoins to be able to double spend it or they have to work with the person sending the 10 bitcoins.
Also anybody accepting 10 bitcoins for payment (worth about $200,000) would ask for more confirmation than just one which would make the attack harder.
Also you have to consider the cost of the attack. Having a million ASICs costs a lot of money not to mention the electricity and cooling and other costs to run these to mine all those blocks. In other words the cost of the attack becomes significantly larger than the profit made from the attack.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
cryptoperkele
Member
**
Offline Offline

Activity: 889
Merit: 60


View Profile
June 26, 2022, 05:15:36 PM
 #9

Such an attack, in my opinion, could only be done or backed by states. I can't see anyone else with enough resources, monetary, human, skills, etc to pull something like this out that easilly. I'm no expert but this is more a question of common sense. Nonetheless, at this point, the USA being the country where more miners are working, could eventually be one of the canidates to at least try such an attack!

And even if they would do that, what would they gain? One double spend before getting kicked out of the network? And to spend billions for that seems like insane conspiracy. Not worth anyone's time nor there's any reason to do this as they can just tax it.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!