Resurrection Attack: Defeating Xilinx MPU's Memory Protection
Preprint
Abstract
Memory protection units (MPUs) are hardware-assisted security features that are commonly used in embedded processors such as the ARM 940T, Infineon TC1775, and Xilinx Zynq. MPUs partition the memory statically, and set individual protection attributes for each partition. MPUs typically define two protection domains: user mode and supervisor mode. Normally, this is sufficient for protecting the kernel and applications. However, we have discovered a way to access a process memory due to a vulnerability in Xilinx MPU (XMPU) implementation that we call Resurrection Attack. We find that XMPU security policy protects user memory from unauthorized access when the user is active. However, when a user's session is terminated, the contents of the memory region of the terminated process are not cleared. An attacker can exploit this vulnerability by gaining access to the memory region after it has been reassigned. The attacker can read the data from the previous user's memory region, thereby compromising the confidentiality. To prevent the Resurrection Attack, the memory region of a terminated process must be cleared. However, this is not the case in the XMPU implementation, which allows our attack to succeed. The Resurrection Attack is a serious security flaw that could be exploited to steal sensitive data or gain unauthorized access to a system. It is important for users of Xilinx FPGAs to be aware of this vulnerability until this flaw is addressed.Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- JackHammer: Efficient Rowhammer on Heterogeneous FPGA-CPU PlatformsIACR Transactions on Cryptographic Hardware and Embedded Systems, 2020
- A Comprehensive FPGA Reverse Engineering Tool-Chain: From Bitstream to RTL CodeIEEE Access, 2019
- Recent Advances in FPGA Reverse EngineeringElectronics, 2018
- Mitigating Use-After-Free Attacks Using Memory-Reuse-Prohibited LibraryIEICE Transactions on Information and Systems, 2017
- Reconfigurable Binding against FPGA Replay AttacksACM Transactions on Design Automation of Electronic Systems, 2015
- A Pay-per-Use Licensing Scheme for Hardware IP Cores in Recent SRAM-Based FPGAsIEEE Transactions on Information Forensics and Security, 2011