arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.13933cs.CR
收藏

复活攻击:击败赛灵思MPU的内存保护

Resurrection Attack: Defeating Xilinx MPU's Memory Protection

Bharadwaj Madabhushi, Chandra Sekhar Mummidi, Sandip Kundu, Daniel Holcomb

AI总结:

针对赛灵思MPU实现中终止进程内存未清除的漏洞,提出复活攻击,可读取先前用户数据,破坏机密性,需清除内存以防御。

摘要:

内存保护单元(MPU)是硬件辅助的安全特性,常用于嵌入式处理器,如ARM 940T、英飞凌TC1775和赛灵思Zynq。MPU静态地划分内存,并为每个分区设置独立的保护属性。MPU通常定义两个保护域:用户模式和超级用户模式。通常,这足以保护内核和应用程序。然而,我们发现了一种由于赛灵思MPU(XMPU)实现中的漏洞而访问进程内存的方法,我们称之为复活攻击。我们发现,当用户活跃时,XMPU安全策略保护用户内存免受未授权访问。然而,当用户的会话终止时,被终止进程的内存区域内容不会被清除。攻击者可以通过在被重新分配后访问该内存区域来利用此漏洞。攻击者可以读取先前用户内存区域的数据,从而破坏机密性。为防止复活攻击,必须清除被终止进程的内存区域。然而,XMPU实现并非如此,这使我们的攻击得以成功。复活攻击是一个严重的安全缺陷,可能被利用来窃取敏感数据或获得对系统的未授权访问。对于赛灵思FPGA用户来说,在此缺陷得到解决之前,了解此漏洞非常重要。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑