Bitcoin Forum
June 25, 2024, 08:03:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 51% attack  (Read 718 times)
dellnull (OP)
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
April 17, 2013, 06:15:18 PM
 #1

I read an interesting thread on 51% attack.

https://bitcointalk.org/index.php?topic=156406.20


Since I'm a complete newbie I had to ask Mr. en.bitcoin.it/wiki. So for all other newbies that don't know what the 51% attack is and want to know, here's a snipp from en.bitcoin.it/wiki: ( https://en.bitcoin.it/wiki/Weaknesses )

An attacker that controls more than 50% of the network's computing power can, for the time that he is in control, exclude and modify the ordering of transactions. This allows him to:

    Reverse transactions that he sends while he's in control. This has the potential to double-spend transactions that previously had already been seen in the block chain.
    Prevent some or all transactions from gaining any confirmations
    Prevent some or all other miners from mining any valid blocks

The attacker can't:

    Reverse other people's transactions
    Prevent transactions from being sent at all (they'll show as 0/unconfirmed)
    Change the number of coins generated per block
    Create coins out of thin air
    Send coins that never belonged to him

With less than 50%, the same kind of attacks are possible, but with less than 100% rate of success. For example, someone with only 40% of the network computing power can overcome a 6-deep confirmed transaction with a 50% success rate.

It's much more difficult to change historical blocks, and it becomes exponentially more difficult the further back you go. As above, changing historical blocks only allows you to exclude and change the ordering of transactions. It's impossible to change blocks created before the last checkpoint.

Since this attack doesn't permit all that much power over the network, it is expected that no one will attempt it. A profit-seeking person will always gain more by just following the rules, and even someone trying to destroy the system will probably find other attacks more attractive. However, if this attack is successfully executed, it will be difficult or impossible to "untangle" the mess created -- any changes the attacker makes might become permanent.
C1D
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
April 17, 2013, 06:18:03 PM
 #2

Hello,
Its nice to see that you want to help out newbies but if they have a question on 51% attacks they can check the wiki themselves.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4680



View Profile
April 17, 2013, 06:26:44 PM
 #3

Hello,
Its nice to see that you want to help out newbies but if they have a question on 51% attacks they can check the wiki themselves.
But now they don't have to.  Grin
Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
April 17, 2013, 06:28:14 PM
 #4

Quote
The attacker can't:
Reverse other people's transactions
Send coins that never belonged to him
Errh... yes, he can

DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4680



View Profile
April 17, 2013, 06:30:53 PM
 #5

Quote
The attacker can't:
Reverse other people's transactions
Send coins that never belonged to him
Errh... yes, he can

Not sure what you are referring to, but I suspect you are playing with semantics.
Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
April 17, 2013, 06:36:40 PM
 #6

Nah

Reverse other people's transactions: so, you made a transaction yesterday, got confirmed, has like 100 blocks or more of confirmation. With a 51% attack you can rebuild the blockchain from for example a week ago and of course, all the transactions of all these blocks, unless the attacker include them, will disappear or, at least, go back at 0 confirmations

Send coins that never belonged to him: so, yesterday you found a block and got 25btc right? Nice, the attacker start rebuilding the blockchain from, for example, a week ago, all the new blocks belong to him, so of course the reward. Your 25 btc will disappear because he found that block, not you

DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4680



View Profile
April 17, 2013, 07:34:41 PM
 #7

Reverse other people's transactions: so, you made a transaction yesterday, got confirmed, has like 100 blocks or more of confirmation. With a 51% attack you can rebuild the blockchain from for example a week ago and of course, all the transactions of all these blocks, unless the attacker include them, will disappear or, at least, go back at 0 confirmations

In the case you mention above, I maintain that you are playing with semantics.  The transaction has lost its confirmations but it isn't "reversed".  It still exists, and your client is welcome to continue to broadcast it.  Peers will still relay it.  When the 51% attack ends (if it ends), the transactions will begin receiving confirmations again.

Send coins that never belonged to him: so, yesterday you found a block and got 25btc right? Nice, the attacker start rebuilding the blockchain from, for example, a week ago, all the new blocks belong to him, so of course the reward. Your 25 btc will disappear because he found that block, not you

In this second case, I'll admit I'm the one playing with semantics.  Those coins you thought you had cease to exist.  The attacker has different bitcoins (not yours) as evidenced by the fact that they require a signature from a different private key to spend. So the attacker isn't spending coins that don't belong to him, you just don't have as many coins as you thought you had.

Regardless, your two points are well taken.  I agree that it is possible for a 51% attack to be much more disruptive than many people realize. Not only does every bitcoin mined in an orphaned block cease to exist, but because of that every transaction that has occurred that can be traced back to those bitcoins is instantly cancelled.  It would be quite a mess if the number of blocks being orphaned was much more than 150.
z1ppy
Newbie
*
Offline Offline

Activity: 12
Merit: 0



View Profile
April 17, 2013, 07:43:11 PM
 #8

so would someone explain this to me then?

is it possible/likely that one person purchased several Avalons or multiple folks are working together in a pool specifically to cheat the system?

how about the supposed BFL's? would they be detectable if they brought all their miners online to stage such an attack?
biskup
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
April 17, 2013, 07:55:52 PM
 #9

so would someone explain this to me then?

is it possible/likely that one person purchased several Avalons or multiple folks are working together in a pool specifically to cheat the system?

how about the supposed BFL's? would they be detectable if they brought all their miners online to stage such an attack?

I'm worried of another theoretical possibility: what if mining rigs became infected with some type of worm/virus etc. which may turn the machine into remotely controlled "zombie"? This way the attacker (or group of attackers) could build their own mining botnet which would turn rogue at certain point and success with performing 51% attack. I know, it's all open source software, thousend times checked, verified etc. but as the current craze goes on, how could we be cetrain that all the miners are purchasing secure mining equipment?
anonameous
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
April 17, 2013, 08:07:08 PM
 #10

i still don't understand..
ensh
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
April 17, 2013, 08:19:22 PM
 #11

Wow it's awesome Cheesy
savemydinner
Newbie
*
Offline Offline

Activity: 23
Merit: 0



View Profile
April 17, 2013, 08:54:49 PM
 #12

BTW, what do you think about Ripple? It seems that there is no this 51% chance to crash XRP.
nimasha
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
April 17, 2013, 09:02:16 PM
 #13

biskup that is a very unpleasant scenario but as long as a large portion of miners are divers machines (different os, patched versions, etc.) then the attack surface is rather difficult to gain a large portion at one time before the miner operators notice (no more coin being delivered for work, etc.)
biskup
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
April 17, 2013, 09:21:46 PM
 #14

biskup that is a very unpleasant scenario but as long as a large portion of miners are divers machines (different os, patched versions, etc.) then the attack surface is rather difficult to gain a large portion at one time before the miner operators notice (no more coin being delivered for work, etc.)

I'm just speculating, I know it smells a bit like conspiracy theory.  Wink More to say, such hack won't be possible with ASIC based hardware unless... the manufacturer delibarately puts some malicious code inside...

But, it's just another speculation. Smiley
ThunderMnt
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
April 17, 2013, 11:34:59 PM
 #15

BTW, what do you think about Ripple? It seems that there is no this 51% chance to crash XRP.

i'd take that over "the company has all the ripples and they could get shut down just like e-gold.com did"
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!