Перейти к основному содержанию
AkademIndex

Продукты

Для разработчиков

AkademBaseскороОткрытый API экосистемы
Латиница
Статья

Securing Smart Contracts in Fog Computing: Machine Learning-Based Attack Detection for Registration and Resource Access Granting

Tahmina EhsanInformation Technology Development, University of Gujrat, Gujrat, PakistanMuhammad Usman SanaDepartment of Software Engineering, University of Gujrat, Gujrat, PakistanMuhammad Usman AliDepartment of Computer Science, University of Gujrat, Gujrat, PakistanElizabeth Caro MonteroUniversidad Europea del Atlántico, Santander, SpainEduardo Silva AlvaradoSirojiddin DjuraevDepartment of Software Engineering, New Uzbekistan University, Tashkent, UzbekistanImran AshrafDepartment of Information and Communication Engineering, Yeungnam University, Gyeongsan-si, South Korea
IEEE Accessjournal2024en
ABI

Аннотация

Smart contracts are becoming increasingly popular for managing transactions or activities in fog computing environments. However, the use of smart contracts for registration and resource access granting is vulnerable to various types of attacks that can compromise their security. Detecting these attacks can be challenging, as attackers can use sophisticated techniques to evade detection. This research uses a machine learning-based approach for detecting different attacks on smart contracts used for registration and resource access granting in fog computing. Data is collected from online Ethereum’s official site “etherscan.io”. Different feature extraction methods and machine learning models are tested. Using accuracy, precision, recall, F1 score, cross-validation, and computational time, the performance of models is evaluated. Results indicate that extreme gradient boosting (XGB) and random forest (RF) provide the highest accuracy of 80% using the term frequency-inverse document frequency (TF-IDF) approach. The light gradient boost classifier provides the highest accuracy of 81% with the Bag of Word (BoW) approach. Similarly, the extra tree provides the highest accuracy of 83% using the N-gram technique. Furthermore, performance using TF-IDF is slightly poorer than BoW and N-gram, however, it has less computational complexity.

Темы

Идентификаторы

Цитирования и источники

Показатели — AkademScholar · Скоро