Cryptography (Jul 2021)

A Delay-Based Machine Learning Model for DMA Attack Mitigation

  • Yutian Gui,
  • Chaitanya Bhure,
  • Marcus Hughes,
  • Fareena Saqib

DOI
https://doi.org/10.3390/cryptography5030018
Journal volume & issue
Vol. 5, no. 3
p. 18

Abstract

Read online

Direct Memory Access (DMA) is a state-of-the-art technique to optimize the speed of memory access and to efficiently use processing power during data transfers between the main system and a peripheral device. However, this advanced feature opens security vulnerabilities of access compromise and to manipulate the main memory of the victim host machine. The paper outlines a lightweight process that creates resilience against DMA attacks minimal modification to the configuration of the DMA protocol. The proposed scheme performs device identification of the trusted PCIe devices that have DMA capabilities and constructs a database of profiling time to authenticate the trusted devices before they can access the system. The results show that the proposed scheme generates a unique identifier for trusted devices and authenticates the devices. Furthermore, a machine learning–based real-time authentication scheme is proposed that enables runtime authentication and share the results of the time required for training and respective accuracy.

Keywords