# Blockchain Common Attack Techniques

Blockchain technology has revolutionized the way we think about data security, but it is not immune to attacks. In these documents, we will explore the most common attack techniques used against blockchain networks, including 51% attacks, double-spending, Sybil attacks, and more. We will also discuss the potential consequences of these attacks and provide recommendations for how to protect against them. This document is intended for blockchain security researchers, developers, and users who want to gain a deeper understanding of the security risks associated with blockchain technology

## Table of Contents

* [Protocol Layer](../protocol-layer#protocol-layer)
  * [Consensus](../protocol-layer#consensus)
    * [Long Range Attack](../protocol-layer#long-range-attack)
    * [Race Attack](../protocol-layer#race-attack)
    * [Liveness Denial](../protocol-layer#liveness-denial)
    * [Finney Attack](../protocol-layer#finney-attack)
    * [Vector76 Attack](../protocol-layer#vector76-attack)
    * [Alternative Historical Attack](../protocol-layer#alternative-historical-attack)
    * [51% Attack](../protocol-layer#51-attack)
    * [Stake Grinding Attack](../protocol-layer#stake-grinding-attack)
    * [Coin Age Accumulation Attack](../protocol-layer#coin-age-accumulation-attack)
    * [Nothing-at-Stake Attack](../protocol-layer#nothing-at-stake-attack)
    * [Block Double Production](../protocol-layer#block-double-production)
* [Network Layer](../network-layer#network-layer)
  * [P2P](../network-layer#p2p)
    * [Sybil Attack](../network-layer#sybil-attack)
    * [Eclipse Attack](../network-layer#eclipse-attack)
    * [Eavesdropping Attack](../network-layer#eavesdropping-attack)
    * [Denial of Service Attack](../network-layer#denial-of-service-attack)
    * [BGP Hijack Attack](../network-layer#bgp-hijack-attack)
    * [Alien Attack](../network-layer#alien-attack)
    * [Timejacking](../network-layer#timejacking)
    * [Network Partitioning Attack](../network-layer#network-partitioning-attack)
  * [RPC](../network-layer#rpc)
    * [Information Leakage ](../network-layer#information-leakage)
    * [Denial of Service Attack ](../network-layer#denial-of-service-attack-1)
    * [Cross-Domain Phishing Attack ](../network-layer#cross-domain-phishing-attack)
    * [Man-in-the-middle Attack ](../network-layer#man-in-the-middle-attack)
    * [Injection Attack](../network-layer#injection-attack)
* [Data Layer](../data-layer#data-layer)
  * [Encryption](../data-layer#encryption)
    * [Cryptographic Attacks](../data-layer#cryptographic-attacks)
    * [Private Key Prediction](../data-layer#private-key-prediction)
    * [Length Extension Attack](../data-layer#length-extension-attack)
    * [Hash collision attack](../data-layer#hash-collision-attack)
  * [Transactions](../data-layer#transactions)
    * [Transaction Replay Attack](../data-layer#transaction-replay-attack)
    * [Transaction Malleability Attack](../data-layer#transaction-malleability-attack)
    * [Time-Locked Transaction Attack](../data-layer#time-locked-transaction-attack)
    * [False Top-Up Attack](../data-layer#false-top-up-attack)
    * [Rug Pull Attack](../data-layer#rug-pull-attack)
* [Infrastructure Layer](../infrastructure-layer#infrastructure-layer)
  * [Mining Pools](../infrastructure-layer#mining-pools)
    * [Selfish Mining](../infrastructure-layer#selfish-mining)
    * [Bribery Attack](../infrastructure-layer#bribery-attack)
    * [Block Withholding Attack](../infrastructure-layer#block-withholding-attack)
    * [Pool Hopping Attack](../infrastructure-layer#pool-hopping-attack)
    * [Block Discarding Attack](../infrastructure-layer#block-discarding-attack)
    * [Fork After Withholding Attack](../infrastructure-layer#fork-after-withholding-attack)
    * [Uncle-Block Attack](../infrastructure-layer#uncle-block-attack)
