arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.19971cs.CRcs.LG
收藏

GasTrace:检测以太坊中的三明治攻击恶意账户

GasTrace: Detecting Sandwich Attack Malicious Accounts in Ethereum

School of Cyberspace Security Hainan University(海南大学网络空间安全学院)

Zekai Liu, Xiaoqi Li, Hongli Peng, Wenkai Li

AI总结:

GasTrace 提出一种基于 SVM 与 GAT 的级联分类框架,通过分析 Gas 特征和交易网络行为,实现以太坊三明治攻击恶意账户的高精度检测。

摘要:

以太坊交易数据的开放性和透明性使其容易被任何实体利用,从而执行恶意攻击。三明治攻击操纵自动做市商(AMM)机制,通过前置或后置交易操纵市场价格来获利。为了识别和防范三明治攻击,我们提出了一种级联分类框架 GasTrace。GasTrace 分析各种交易特征以检测恶意账户,尤其是通过对 Gas 特征的分析与建模。在初始分类中,我们利用带有径向基函数(RBF)核的支持向量机(SVM)生成账户的预测概率,并进一步构建详细的交易网络。随后,在第二级分类中,通过图注意力网络(GAT)技术捕获行为特征。通过级联分类,GasTrace 能够分析和分类三明治攻击。我们的实验结果表明,GasTrace 具有出色的检测与生成能力,在识别三明治攻击账户方面实现了 96.73% 的准确率和 95.71% 的 F1 分数。

英文摘要:

The openness and transparency of Ethereum transaction data make it easy to be exploited by any entities, executing malicious attacks. The sandwich attack manipulates the Automated Market Maker (AMM) mechanism, profiting from manipulating the market price through front or after-running transactions. To identify and prevent sandwich attacks, we propose a cascade classification framework GasTrace. GasTrace analyzes various transaction features to detect malicious accounts, notably through the analysis and modeling of Gas features. In the initial classification, we utilize the Support Vector Machine (SVM) with the Radial Basis Function (RBF) kernel to generate the predicted probabilities of accounts, further constructing a detailed transaction network. Subsequently, the behavior features are captured by the Graph Attention Network (GAT) technique in the second classification. Through cascade classification, GasTrace can analyze and classify the sandwich attacks. Our experimental results demonstrate that GasTrace achieves a remarkable detection and generation capability, performing an accuracy of 96.73% and an F1 score of 95.71% for identifying sandwich attack accounts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑