A Geth-based real-time detection system for sandwich attacks in Ethereum

IF 1.7 3区 计算机科学 Q3 COMPUTER SCIENCE, INFORMATION SYSTEMS Information Retrieval Journal Pub Date : 2024-05-30 DOI:10.1007/s10791-024-09445-6
Dongze Li, Kejia Zhang, Lei Wang, Gang Du
{"title":"A Geth-based real-time detection system for sandwich attacks in Ethereum","authors":"Dongze Li, Kejia Zhang, Lei Wang, Gang Du","doi":"10.1007/s10791-024-09445-6","DOIUrl":null,"url":null,"abstract":"<p>With the rapid development of the Ethereum ecosystem and the increasing applications of decentralized finance (DeFi), the security research of smart contracts and blockchain transactions has attracted more and more attention. In particular, front-running attacks on the Ethereum platform have become a major security concern. These attack strategies exploit the transparency and certainty of the blockchain, enabling attackers to gain unfair economic benefits by manipulating the transaction order. This study proposes a sandwich attack detection system integrated into the go-Ethereum client (Geth). This system, by analyzing transaction data streams, effectively detects and defends against front-running and sandwich attacks. It achieves real-time analysis of transactions within blocks, quickly and effectively identifying abnormal patterns and potential attack behaviors. The system has been optimized for performance, with an average processing time of 0.442 s per block and an accuracy rate of 83%. Response time for real-time detection new blocks is within 5 s, with the majority occurring between 1 and 2 s, which is considered acceptable. Research findings indicate that as a part of the go-Ethereum client, this detection system helps enhance the security of the Ethereum blockchain, contributing to the protection of DeFi users’ private funds and the safety of smart contracts. The primary contribution of this study lies in offering an efficient blockchain transaction monitoring system, capable of accurately detecting sandwich attack transactions within blocks while maintaining normal operation speeds as a full node.</p>","PeriodicalId":54352,"journal":{"name":"Information Retrieval Journal","volume":"93 1","pages":""},"PeriodicalIF":1.7000,"publicationDate":"2024-05-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information Retrieval Journal","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1007/s10791-024-09445-6","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

Abstract

With the rapid development of the Ethereum ecosystem and the increasing applications of decentralized finance (DeFi), the security research of smart contracts and blockchain transactions has attracted more and more attention. In particular, front-running attacks on the Ethereum platform have become a major security concern. These attack strategies exploit the transparency and certainty of the blockchain, enabling attackers to gain unfair economic benefits by manipulating the transaction order. This study proposes a sandwich attack detection system integrated into the go-Ethereum client (Geth). This system, by analyzing transaction data streams, effectively detects and defends against front-running and sandwich attacks. It achieves real-time analysis of transactions within blocks, quickly and effectively identifying abnormal patterns and potential attack behaviors. The system has been optimized for performance, with an average processing time of 0.442 s per block and an accuracy rate of 83%. Response time for real-time detection new blocks is within 5 s, with the majority occurring between 1 and 2 s, which is considered acceptable. Research findings indicate that as a part of the go-Ethereum client, this detection system helps enhance the security of the Ethereum blockchain, contributing to the protection of DeFi users’ private funds and the safety of smart contracts. The primary contribution of this study lies in offering an efficient blockchain transaction monitoring system, capable of accurately detecting sandwich attack transactions within blocks while maintaining normal operation speeds as a full node.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于 Geth 的以太坊三明治攻击实时检测系统
随着以太坊生态系统的快速发展和去中心化金融(DeFi)应用的不断增加,智能合约和区块链交易的安全研究引起了越来越多的关注。特别是,以太坊平台上的前置运行攻击已成为一个主要的安全问题。这些攻击策略利用了区块链的透明性和确定性,使攻击者能够通过操纵交易顺序获得不公平的经济利益。本研究提出了一种集成到 go-Ethereum 客户端(Geth)中的三明治攻击检测系统。该系统通过分析交易数据流,有效检测和防御前置运行攻击和三明治攻击。它能对区块内的交易进行实时分析,快速有效地识别异常模式和潜在攻击行为。该系统对性能进行了优化,每个区块的平均处理时间为 0.442 秒,准确率高达 83%。实时检测新数据块的响应时间在 5 秒以内,大部分在 1 到 2 秒之间,这被认为是可以接受的。研究结果表明,作为 go-Ethereum 客户端的一部分,该检测系统有助于增强以太坊区块链的安全性,有助于保护 DeFi 用户的私人资金和智能合约的安全。本研究的主要贡献在于提供了一个高效的区块链交易监控系统,能够准确检测区块内的夹层攻击交易,同时保持作为完整节点的正常运行速度。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Information Retrieval Journal
Information Retrieval Journal 工程技术-计算机:信息系统
CiteScore
6.20
自引率
0.00%
发文量
17
审稿时长
13.5 months
期刊介绍: The journal provides an international forum for the publication of theory, algorithms, analysis and experiments across the broad area of information retrieval. Topics of interest include search, indexing, analysis, and evaluation for applications such as the web, social and streaming media, recommender systems, and text archives. This includes research on human factors in search, bridging artificial intelligence and information retrieval, and domain-specific search applications.
期刊最新文献
Searching rooms with top-k passenger flows using indoor trajectories An innovative approach for PCO morphology segmentation using a novel MOT-SF technique A graph residual generation network for node classification based on multi-information aggregation Similarity-based ranking of videos from fixed-size one-dimensional video signature The accessibility of digital technologies for people with visual impairment and blindness: a scoping review
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1