Wondering why your mining rewards might disappear or why a pool suddenly stops paying? This article explains how BGP hijacking works, how it can redirect mining power to a malicious pool, and what you can do to protect your earnings.
What is BGP hijacking and how does it affect mining?
Border Gateway Protocol (BGP) is the system that routes traffic between the world’s internet service providers (ISPs). Every ISP announces which IP address blocks it owns, and other networks use those announcements to forward data. A BGP hijack occurs when an attacker falsely announces ownership of a block that belongs to someone else. Other networks then send traffic to the attacker’s servers, believing they are the legitimate destination.
In the context of Bitcoin mining, pools rely on a steady flow of work (new block templates) and share submissions from miners. If a pool’s network traffic is rerouted to a malicious server, miners will unknowingly send their proof‑of‑work to the attacker’s pool. The attacker can then claim the block rewards while the miners see no payout.
Key terms:
- BGP (Border Gateway Protocol): The routing protocol that determines the path data takes across the internet.
- Hijack: A false route announcement that diverts traffic.
- Mining pool: A service that combines many miners’ hash power and distributes rewards proportionally.
- Hash rate (EH/s): Exahash per second, a measure of total mining power (1 EH/s = 10¹⁸ hashes per second).
Real‑world illustration
In November 2023, an attacker exploited a routing weakness that many of the industry’s largest pools still use. By announcing a bogus BGP route, the attacker redirected up to 1.9 EH/s of mining power—enough to control roughly 10 % of the global Bitcoin network—to an impostor pool they controlled. Over 1,000 miners were tricked into submitting work to the fake pool, effectively stealing their potential rewards.
What it means for you
If you join a mining pool, you trust that the pool’s network infrastructure delivers your work to the Bitcoin network and returns your share of any rewards. A successful BGP hijack can silently divert that traffic, meaning you continue mining but never see the payout. The loss can be substantial, especially for small or hobbyist miners who depend on steady, predictable income.
How to evaluate a pool’s resilience
Before committing hash power, consider the following checks:
- Routing security policies: Does the pool publish its BGP prefixes with Resource Public Key Infrastructure (RPKI) validation? RPKI helps verify that a prefix announcement is legitimate.
- Geographic and network diversity: Pools that operate nodes in multiple data centers and across different ISPs reduce the chance that a single hijack can affect all traffic.
- Transparent incident reporting: Look for pools that openly discuss any routing incidents and describe the steps taken to mitigate them.
- Use of encrypted connections: While BGP itself cannot be encrypted, pools that require miners to connect via TLS (Transport Layer Security) make it harder for an attacker to intercept or alter data after the route is established.
- Community reputation: Established pools with a long track record are more likely to have invested in routing security.
FAQ
Can I detect a BGP hijack on my own?
Detection usually requires network monitoring tools that compare announced routes against known legitimate prefixes. Most individual miners lack this capability, so they rely on the pool’s security practices and community alerts.
Does using a VPN protect me from a hijack?
A VPN changes the exit point of your traffic but does not prevent the underlying BGP route from being hijacked. If the VPN’s provider is also affected, the problem persists.
What should I do if I suspect my pool has been hijacked?
Stop sending work to the pool immediately, withdraw any pending balances, and switch to a pool with proven routing security. Report the incident to the pool’s support team and consider posting on community forums to warn others.
Are there any guarantees that a pool is safe from hijacks?
No. Routing security is an ongoing challenge, and even large pools can be vulnerable. The best approach is to choose pools that actively adopt security standards and to stay informed about any reported incidents.
This article references reporting from coindesk.com.