[Paper Review] Towards a First Step to Understand the Cryptocurrency Stealing Attack on Ethereum
This paper presents a systematic analysis of Ethereum cryptocurrency theft via unsecured JSON-RPC endpoints using a custom honeypot system. The authors captured 308.66 million requests from 1,072 IP addresses over six months, identifying 36 attacker groups stealing Ether and ERC20 tokens through a three-step attack pattern and zero-gas transactions, with estimated total profits exceeding $1 million, and released the dataset for community use.
We performed the first systematic study of a new attack on Ethereum that steals cryptocurrencies. The attack is due to the unprotected JSON-RPC endpoints existed in Ethereum nodes that could be exploited by attackers to transfer the Ether and ERC20 tokens to attackers-controlled accounts. This study aims to shed light on the attack, including malicious behaviors and profits of attackers. Specifically, we first designed and implemented a honeypot that could capture real attacks in the wild. We then deployed the honeypot and reported results of the collected data in a period of six months. In total, our system captured more than 308 million requests from 1,072 distinct IP addresses. We further grouped attackers into 36 groups with 59 distinct Ethereum accounts. Among them, attackers of 34 groups were stealing the Ether, while other 2 groups were targeting ERC20 tokens. The further behavior analysis showed that attackers were following a three-steps pattern to steal the Ether. Moreover, we observed an interesting type of transaction called zero gas transaction, which has been leveraged by attackers to steal ERC20 tokens. At last, we estimated the overall profits of attackers. To engage the whole community, the dataset of captured attacks is released on https://github.com/zjuicsr/eth-honey.
Motivation & Objective
- To understand the real-world behavior of cryptocurrency stealing attacks on Ethereum via unprotected JSON-RPC endpoints.
- To analyze attacker strategies, including probing, information gathering, and exploitation patterns.
- To estimate the financial profits of attackers based on transaction data from captured attacks.
- To raise awareness of the widespread vulnerability of unauthenticated Ethereum RPC interfaces.
- To release a dataset of real-world attacks to support further research and community engagement.
Proposed method
- Designed and implemented a honeypot system using a real Ethereum client (Go-Ethereum) as a backend to simulate a vulnerable Ethereum node.
- Listened on the default JSON-RPC port (8545) and logged all incoming RPC requests, including method calls and parameters.
- Identified malicious accounts as those targeted for fund transfers and suspicious accounts receiving funds from malicious ones.
- Collected and analyzed Ethereum blockchain transactions to trace fund flows and detect patterns such as zero-gas transactions.
- Grouped attackers by IP address and target Ethereum accounts to identify 36 distinct attack clusters.
- Estimated attacker profits by aggregating funds received by malicious and suspicious accounts over time.
Experimental results
Research questions
- RQ1What are the common attack patterns used by adversaries to steal Ether and ERC20 tokens via unauthenticated JSON-RPC endpoints?
- RQ2How widespread is the exploitation of unprotected Ethereum RPC interfaces in the wild?
- RQ3What are the financial gains of attackers who exploit unsecured Ethereum nodes?
- RQ4How do attackers leverage specific transaction types, such as zero-gas transactions, to steal tokens?
- RQ5What are the behavioral characteristics of attackers, including their use of anonymization tools like Tor?
Key findings
- The honeypot captured 308.66 million RPC requests from 1,072 distinct IP addresses over a six-month period.
- Nine IP addresses generated 83.8% of all requests, with one IP (89.144.25.28) sending 101.73 million requests.
- Attackers used the Tor network to obscure their real IP addresses, and some university-affiliated PlanetLab nodes probed the honeypot without malicious intent.
- Attackers were grouped into 36 clusters, with 34 targeting Ether and 2 targeting ERC20 tokens.
- A three-step attack pattern was observed: probing, information gathering, and either passive polling or brute-force attempts to unlock accounts.
- A novel zero-gas transaction pattern was identified, used by attackers to steal ERC20 tokens from fisher accounts and exploit AirDrop mechanisms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.