A Sybil attack is a kind of security threat on an online system where one person tries to take over the network by creating multiple accounts, nodes or computers.
This can be as simple as one person creating multiple social media accounts.
But in the world of cryptocurrencies, a more relevant example is where somebody runs multiple nodes on a blockchain network.Â
The word âSybilâ in the name comes from a case study about a woman named Sybil Dorsett, who was treated for Dissociative Identity Disorder â also called Multiple Personality Disorder.
What problems can Sybil attacks cause?
- Attackers may be able to out-vote the honest nodes on the network if they create enough fake identities (or Sybil identities). They can then refuse to receive or transmit blocks, effectively blocking other users from a network.
- In really large-scale Sybil attacks, where the attackers manage to control the majority of the network computing power or hash rate, they can carry out a 51% attack. In such cases, they may change the ordering of transactions, and prevent transactions from being confirmed. They may even reverse transactions that they made while in control, which can lead to double spending.Â
Over the years, computer scientists have dedicated a lot of time and research to figure out how to detect and prevent Sybil attacks, with varying degrees of effectiveness. For now, thereâs no guaranteed defense.
So how do blockchains mitigate Sybil attacks?
For example, Bitcoinâs blockchain applies a specific set of rules to the generation of new blocks.
One of the rules is that the ability to create a block must be proportional to the total processing power of the Proof of Work mechanism. That means that you have to actually own the computer power required to create a new block, which makes it very difficult and costly for an attacker to do.Â
Since mining Bitcoin is so intensive, miners have a very strong incentive to keep mining honestly, instead of attempting a Sybil attack.
Besides Sybil attacks, there are a few other common types of attacks. Stay tuned to Binance Academy for more!