Abstract
The rapid growth of blockchain technology and the increasing number of network nodes have heightened the risk of sophisticated attacks. Among these, Eclipse attacks present a serious threat to decentralized networks by exploiting their peer-to-peer structures. While previous research has explored artificial intelligence techniques to defend against Eclipse attacks, evolving attack patterns continue to challenge existing defenses. In this paper, we propose a novel defense framework that integrates a clustering approach based on self-attention encoders within a multi-kernel neural network clustering model. Our method utilizes parallel subnetworks to extract category-specific features from multiple perspectives, generating discriminative cluster centroids that are combined with raw transaction data to train a robust classifier for detecting Eclipse attacks in Ethereum networks. To evaluate our approach, we simulate Eclipse attacks on the Ethereum testnet and conduct extensive experiments. The results demonstrate that our method achieves a detection accuracy of 98.5% and improves classification performance by 5% compared to models trained without cluster-enhanced features, confirming the effectiveness of the proposed defense.
| Original language | English |
|---|---|
| Journal | IEEE Internet of Things Journal |
| DOIs | |
| Publication status | Accepted/In press - 2025 |
| Externally published | Yes |
Keywords
- Clustering
- Deep learning
- Eclipse attacks
- Ethereum