Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Watchdog Monitoring for Detecting and Handling of Control Flow Hijack on RISC-V-based Binaries

Author 1: Toyosi Oyinloye Author 2: Lee Speakman Author 3: Thaddeus Eze Author 4: Lucas O’Mahony
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 13, No. 8 · Published 2022

DOI: https://doi.org/10.14569/IJACSA.2022.0130896

Abstract

Control flow hijacking has been a major challenge in software security. Several means of protections have been developed but insecurities persist. This is because existing protections have sometimes been circumvented while some resilient protections do not cover all applications. Studies have revealed that a holistic way of tackling software insecurity could involve watchdog monitoring and detection via Control Flow Integrity (CFI). The CFI concept has shown a good measure of reliability to mitigate control flow hijacking. However, sophisticated attack techniques in the form of Return Oriented Programming (ROP) have persisted. A flexible protection is desirable, which not only covers as many architecture structures as possible but also mitigates known resilient attacks like ROP. The solution proffered here is a hybrid of CFI and watchdog timing via inter-process signaling (IP-CFI). It is a software-based protection that involves recompilation of the target program. The implementation here is on vulnerable RISC-V-based process but is flexible and could be adapted on other architectures. We present a proof of concept in IP-CFI which when applied to a vulnerable program, ROP is mitigated. The target program incurs a run-time overhead of 1.5%. The code is available.

Keywords

How to Cite this Article

Oyinloye, T., Speakman, L., Eze, T., & O’Mahony, L. (2022). Watchdog Monitoring for Detecting and Handling of Control Flow Hijack on RISC-V-based Binaries. International Journal of Advanced Computer Science and Applications, 13(8). https://doi.org/10.14569/IJACSA.2022.0130896

Oyinloye, Toyosi, et al.. "Watchdog Monitoring for Detecting and Handling of Control Flow Hijack on RISC-V-based Binaries." International Journal of Advanced Computer Science and Applications, vol. 13, no. 8, 2022, https://doi.org/10.14569/IJACSA.2022.0130896.

@article{Oyinloye2022,
  title     = {Watchdog Monitoring for Detecting and Handling of Control Flow Hijack on RISC-V-based Binaries},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {13},
  number    = {8},
  year      = {2022},
  publisher = {The Science and Information Organization},
  author    = {Toyosi Oyinloye and Lee Speakman and Thaddeus Eze and Lucas O’Mahony},
  doi       = {10.14569/IJACSA.2022.0130896},
  url       = {https://doi.org/10.14569/IJACSA.2022.0130896}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.