arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1802.00092cs.CR
收藏

针对Nintendo 3DS安全引导链中持续早期代码执行的Keyshuffling攻击

Keyshuffling Attack for Persistent Early Code Execution in the Nintendo 3DS Secure Bootchain

Matthew McClintic, Devon Maloney, Michael Scires, Gabriel Marcano, Matthew Norman, Aurora Wright

摘要:

我们演示了对任天堂3DS的安全引导链的攻击,以获得早期的代码执行。该攻击利用ECB密码模式的块洗牌漏洞来重新排列任天堂3DS加密密钥库中的密钥。因为混洗密钥将确定性地将加密的固件二进制解密为不正确的明文数据并执行它,并且因为设备的存储器内容在硬重启之间被保持,所以可以可靠地到达到存储器中的有效载荷的分支指令。该有效载荷由于其由特权处理器执行以及其早期执行,能够提取解密设备的加密密钥库所需的硬件秘密的散列,并建立系统的持久利用。

英文摘要:

We demonstrate an attack on the secure bootchain of the Nintendo 3DS in order to gain early code execution. The attack utilizes the block shuffling vulnerability of the ECB cipher mode to rearrange keys in the Nintendo 3DS's encrypted keystore. Because the shuffled keys will deterministically decrypt the encrypted firmware binary to incorrect plaintext data and execute it, and because the device's memory contents are kept between hard reboots, it is possible to reliably reach a branching instruction to a payload in memory. This payload, due to its execution by a privileged processor and its early execution, is able to extract the hash of hardware secrets necessary to decrypt the device's encrypted keystore and set up a persistent exploit of the system.

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

↑