Detecting and Preventing ROP Attacks using Machine Learning on ARM

被引:1
|
作者
Welearegai, Gebrehiwet B. [1 ]
Hu, Chenpo
Hammer, Christian [1 ]
机构
[1] Univ Passau, Fac Informat & Math, Passau, Germany
来源
2023 IEEE 47TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC | 2023年
关键词
ROP Detection; ARM; HPC; Machine Learning; Online Monitor;
D O I
10.1109/COMPSAC57700.2023.00092
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
As the ARM processor is receiving increased attention due to the fast growth of mobile technologies and the internet-of-things (IoT), it is simultaneously becoming the target of several control flow attacks such as return-oriented programming (ROP), which uses code present in the software system in order to exploit memory bugs. While some research can detect control flow attacks on architectures like x86, the ARM architecture has been neglected. In this paper, we investigate whether ROP attack detection and prevention based on hardware performance counters (HPC) and machine learning can be effectively transferred to the ARM architecture. Given the observation that ROP attacks exhibit different micro-architectural events compared to benign executions of a software, we evaluate whether and which HPCs, which track these hardware events, are indicative on ARM to detect control flow attacks. We collect data exploiting real-world vulnerable applications running on ARM-based Raspberry Pi machines. The collected data then serves as training data for different machine learning techniques. We also implement an online monitor consisting of a modified program loader, kernel module and a classifier, which labels a program's execution as benign or under attack, and stops its execution once the latter is detected. An evaluation of our approach provides detection accuracy of 92% for the offline training and 75% for the online monitoring, which demonstrates that variations in the HPCs are indicative of attacks on ARM architectures. The performance overhead of online monitoring evaluated on 8 real-world vulnerable applications exhibits a moderate 6.2% slowdown on average. The result of our evaluation indicates that the behavioral changes in micro-architectural events of the ARM platform can play a vital role in detecting memory attacks.
引用
收藏
页码:667 / 677
页数:11
相关论文
共 50 条
  • [1] SecureIoT: Novel Machine Learning Algorithms for Detecting and Preventing Attacks on IoT Devices
    Vutukuru, Srikanth Reddy
    Lade, Srinivasa Chakravarthi
    JOURNAL OF ELECTRICAL SYSTEMS, 2023, 19 (04) : 315 - 335
  • [2] Detecting IoT Attacks Using an Ensemble Machine Learning Model
    Tomer, Vikas
    Sharma, Sachin
    FUTURE INTERNET, 2022, 14 (04):
  • [3] Detecting air-gapped attacks using machine learning
    Zhu, Weijun
    Rodrigues, Joel J. P. C.
    Niu, Jianwei
    Zhou, Qinglei
    Li, Yafei
    Xu, Mingliang
    Huang, Bohu
    COGNITIVE SYSTEMS RESEARCH, 2019, 57 : 92 - 100
  • [4] Detecting IoT Botnet Attacks Using Machine Learning Methods
    Okur, Celil
    Dener, Murat
    2020 INTERNATIONAL CONFERENCE ON INFORMATION SECURITY AND CRYPTOLOGY (ISCTURKEY 2020), 2020, : 31 - 37
  • [5] Detecting APT Attacks Based on Network Traffic Using Machine Learning
    Xuan, Cho Do
    JOURNAL OF WEB ENGINEERING, 2021, 20 (01): : 171 - 190
  • [6] Detecting Phishing Attacks Using Natural Language Processing And Machine Learning
    Banu, Reshma
    Anand, M.
    Kamath, Akshatha C.
    Ashika, S.
    Ujwala, H. S.
    Harshitha, S. N.
    PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL SYSTEMS (ICCS), 2019, : 1210 - 1214
  • [7] Detecting SQL Injection Attacks in Cloud SaaS using Machine Learning
    Tripathy, Dharitri
    Gohil, Rudrarajsinh
    Halabi, Talal
    2020 IEEE 6TH INT CONFERENCE ON BIG DATA SECURITY ON CLOUD (BIGDATASECURITY) / 6TH IEEE INT CONFERENCE ON HIGH PERFORMANCE AND SMART COMPUTING, (HPSC) / 5TH IEEE INT CONFERENCE ON INTELLIGENT DATA AND SECURITY (IDS), 2020, : 145 - 150
  • [8] Detecting DDoS Attacks in SDN using a Hybrid Method with Entropy and Machine Learning
    Santos-Neto, Marcos J.
    Bordim, Jacir L.
    Alchieri, Eduardo A. P.
    Ishikawa, Edison
    Dourado, Leonardo S.
    2022 TENTH INTERNATIONAL SYMPOSIUM ON COMPUTING AND NETWORKING WORKSHOPS, CANDARW, 2022, : 248 - 254
  • [9] Detecting Blind Cross-Site Scripting Attacks Using Machine Learning
    Kaur, Gurpreet
    Malik, Yasir
    Samuel, Hamman
    Jaafar, Fehmi
    2018 INTERNATIONAL CONFERENCE ON SIGNAL PROCESSING AND MACHINE LEARNING (SPML 2018), 2018, : 22 - 25
  • [10] Machine-Learning Techniques for Detecting Attacks in SDN
    Elsayed, Mahmoud Said
    Nhien-An Le-Khac
    Dev, Soumyabrata
    Jurcut, Anca Delia
    PROCEEDINGS OF 2019 IEEE 7TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND NETWORK TECHNOLOGY (ICCSNT 2019), 2019, : 277 - 281