ATTACKS ON CRYPTOCURRENCY EXPLAINED

in #crypto6 years ago

bitcoin-51-percent-916830.jpg
You may have heard about a 51% attack on cryptocurrencies (most recently in the news was Verge #VRG). What is an attack, what does it cost and how vulnerable are coins? I have researched and complied some information that will help you understand what this process is and how vulnerable some cryptocurrencies may be. Sources cited before indicated learning info.

CNN:
A website has been created that estimates the cost of a 51% attack on different cryptocurrencies, allowing attackers to maliciously double spend, meaning to spend the same balance twice. The site developer who goes by /u/xur17 on Reddit spoke to CCN about their motivation for creating the site:

“There was an attack against Bitcoin Gold a few days ago, which made me curious what the cost of an attack would be with rented hashing power. I did the math and was honestly kind of shocked – someone could attack a cryptocurrencies worth close to a billion dollar for < $10k an hour and even less than that if you include the block rewards.

51-1024x748.png

This got me to calculate the same figures for other coins, and again it was cheaper than I thought it should be. The goal of the site is to drive more attention to what I see as a pretty glaring problem with these smaller coins. Hashing power is easily retargetable, so not only can people rent hashing power, the larger mining pools can redirect hashing power at smaller coins for a few hours to attack them.”

CRYPTO51 WEBSITE
Information that calculates cost and vulnerability is taken from the crypto51 website which was posted on the cryptocurrency subreddit of Reddit yesterday. While other websites have much higher estimates for the cost of a 51% attack, they did not factor in the possibility of renting the mining equipment instead of buying it.

Cost of 51% Attack
pow-proof-of-work-51-percent-attack-costs-cryptocurrencies-696x449.jpg

Cryptocurrency mining rigs are very expensive, and the hardware required to execute an attack on even a small coin with few mining nodes to compete with would be astronomical, requiring server farms full of top-tier rigs and the electricity required on top of that. The hardware required to attack the Bitcoin network would cost over $1 billion, and hourly electricity costs over $500,000. However, it’s also possible to simply rent the hashing power from the NiceHash service which already has the hardware required to bring many different altcoins to their knees, according to xur17 of Crypto51.app.

The far right column which indicates that NiceHash only has 2% of the hardware required to attempt an attack on the Bitcoin network shows that the service could successfully be used to attack smaller networks like Bitcoin Gold, Bitcoin Private, MonaCoin, Bytecoin, and many others.

In fact, both Verge and Bitcoin Gold suffered a successful 51% attack just a week ago, with Bitcoin Gold losing $18 million to double spending. The attack made headlines, and it was assumed by many that a huge operation was behind the crypto-heist. However, it appears that NiceHash could be used to commandeer the BTG hash rate for under $4,000. The Crypto51.app site claims that NiceHash could be used to take over the hash rate of the Bytecoin networkworth over $1 billion for an entire hour for under $600, with other coins vulnerable to multi-million dollar attacks for equally minuscule costs.

Charlie Lee of Litecoin is among the many people taking the numbers on the website seriously in a recent tweet.

What exactly is a 51% attack?
A 51% attack enables attackers to control the “hash rate” of a currency and spend the same funds twice and fork the blockchain into two, creating different records. Double spending was always a problem with the notion of digital currency, and Bitcoin was invented with a solution in mind: blockchain and the Proof of Work system.

51-attacks-pools-and-game-theory-14-638.jpg

The blockchain ledger keeps a supposedly immutable record, and the PoW system requires mining computers to guess numbers and solve algorithms in order to verify transactions and add new blocks of data to the blockchain: the method used to guess the numbers is called “hashing”, and the “hash rate” is the number of guesses per second.

A blockchain is stored on computers called nodes. Large networks have many nodes making them very expensive to attack due to the processing power required. However, networks with fewer nodes can be hijacked with less processing power. Anyone in control of 51% of the hash rate could, for example, send funds to an exchange and trade them for other coins, then use their hashing power to erase the transaction they just made, leaving them with the funds they sent and the funds they received.

51-attacks-pools-and-game-theory-22-638.jpg

A 51% attack is theoretically possible on Proof of Stake systems as well, but the attackers would need to buy approximately half of the coin supply (an action that would cause the price to steadily increase as they bought up more coins), making it very expensive and also very difficult to estimate the true spending power required.

If the figures on the website are accurate the implications are huge, and a great many altcoins need to reconsider their security with the possibility of a 51% attack in mind. The use of the NiceHash service to cut costs makes it staggeringly easy for anyone in the know to attack a crypto-network, making the smaller Proof of Work coins extremely vulnerable, raising the question of why 51% attacks don’t happen more often, or indeed, whether they do and we just don’t know about it.

FROM learncryptography.com:
51% Attack
A 51% attack is a potential attack on the bitcoin network whereby an organization is somehow able to control the majority of the network mining power (hashrate). Bitcoin is secured by having all miners (computers processing the networks transactions) agree on a shared ledger called the blockchain. Bitcoin nodes look to each other to verify what they're working on is the valid blockchain. If the majority of miners are controlled by a single entity, they would have the power to (at least attempt to) decide which transactions get approved or not. This would allow them to prevent other transactions, and allow their own coins to be spent multiple times - a process called double spending.

However, hitting 51% network control is not a guarantee of success, just the point where success is likely. In fact, you could attempt this sort of attack with much less network control, but your odds of success would be very low.

Additionally, a 51% attack doesn't give you full power over the bitcoin network. The farther back in the blockchain transactions are, the more secured they are against this kind of attack. Realistically, an attacker would only be able to modify transactions within the past few blocks. They would also not be able to make new coins out of thin air - except those received as block mining rewards as usual.

It is an interesting concept because it is theoretically possible; the network is free and open, so if someone were to have enough computational power (which would cost a huge amount by itself), there is no bitcoin authority to stop them from doing so. In the event that such an attack successfully takes place, it is likely confidence in the currency would be lost and it’s value as a currency would decline rapidly.

In reality a 51% attack is feasible – especially with the rise of mining pools (groups of people mining together as a single unit). However the potential damage one could cause is small – though enough that it cause a panic that would seriously threaten bitcoin’s use as a currency. At current network mining difficulty levels, not even large-scale governments could easily mount a 51% attack.

SEE IT EXPLAINED HERE:
Attacks are possible and unlikely because the cost to attack is expensive and mining would bring more profit

IVAN ON TECH, a Software Developer, Explains even further here:

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.033
BTC 63852.87
ETH 3135.82
USDT 1.00
SBD 3.83