arXiv · 2408.08749
ML Study of MaliciousTransactions in Ethereum
Abstract
Smart contracts are a major tool in Ethereum transactions. Therefore hackers can exploit them by adding code vulnerabilities to their sources and using these vulnerabilities for performing malicious transactions. This paper presents two successful approaches for detecting malicious contracts: one uses opcode and relies on GPT2 and the other uses the Solidity source and a LORA fine-tuned CodeLlama. Finally, we present an XGBOOST model that combines gas properties and Hexa-decimal signatures for detecting malicious transactions. This approach relies on early assumptions that maliciousness is manifested by the uncommon usage of the contracts' functions and the effort to pursue the transaction.
Explore related subjects
Keep this discovery
Natan Katz. 2024-08-16. ML Study of MaliciousTransactions in Ethereum. https://arxiv.org/abs/2408.08749
Cite the original work for its findings. Save a collection to share your selection of sources.