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 条
  • [41] Detecting Phishing Website Using Machine Learning
    Alkawaz, Mohammed Hazim
    Steven, Stephanie Joanne
    Hajamydeen, Asif Iqbal
    2020 16TH IEEE INTERNATIONAL COLLOQUIUM ON SIGNAL PROCESSING & ITS APPLICATIONS (CSPA 2020), 2020, : 111 - 114
  • [42] Detecting Phone Theft Using Machine Learning
    Liu, Xinyu
    Wagner, David
    Egelman, Serge
    PROCEEDINGS OF THE 2018 INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND SYSTEM (ICISS 2018), 2018, : 30 - 36
  • [43] Detecting A Twitter Cyberbullying Using Machine Learning
    Dalvi, Rahul Ramesh
    Chavan, Sudhanshu Baliram
    Halbe, Apama
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL SYSTEMS (ICICCS 2020), 2020, : 297 - 301
  • [44] Detecting APT attacks against Active Directory using Machine Leaning
    Matsuda, Wataru
    Fujimoto, Mariko
    Mitsunaga, Takuho
    2018 IEEE CONFERENCE ON APPLICATION, INFORMATION AND NETWORK SECURITY (AINS 2018), 2018, : 60 - 65
  • [45] Detecting machine chatter using audio data and machine learning
    Ilarion Kvinevskiy
    Sanjeev Bedi
    Stephen Mann
    The International Journal of Advanced Manufacturing Technology, 2020, 108 : 3707 - 3716
  • [46] Detecting Network Attacks using Federated Learning for IoT Devices
    Shahid, Osama
    Mothukuri, Viraaji
    Pouriyeh, Seyedamin
    Parizi, Reza M.
    Shahriar, Hossain
    2021 IEEE 29TH INTERNATIONAL CONFERENCE ON NETWORK PROTOCOLS (ICNP 2021), 2021,
  • [47] Detecting machine chatter using audio data and machine learning
    Kvinevskiy, Ilarion
    Bedi, Sanjeev
    Mann, Stephen
    INTERNATIONAL JOURNAL OF ADVANCED MANUFACTURING TECHNOLOGY, 2020, 108 (11-12) : 3707 - 3716
  • [48] Detecting Internet of Things attacks using distributed deep learning
    Parra, Gonzalo De La Torre
    Rad, Paul
    Choo, Kim-Kwang Raymond
    Beebe, Nicole
    JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2020, 163 (163)
  • [49] Detecting Phishing Websites Using Machine Learning
    Alswailem, Amani
    Alabdullah, Bashayr
    Alrumayh, Norah
    Alsedrani, Aram
    2019 2ND INTERNATIONAL CONFERENCE ON COMPUTER APPLICATIONS & INFORMATION SECURITY (ICCAIS), 2019,
  • [50] Predicting Malware Attacks using Machine Learning and AutoAI
    Sokolov, Mark
    Herndon, Nic
    PROCEEDINGS OF THE 10TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION APPLICATIONS AND METHODS (ICPRAM), 2021, : 295 - 301