arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.00918cs.CR
收藏

一个(线程)可以保持(PRNG)秘密,但两个不行

One (Thread) Can Keep a (PRNG) Secret, but not Two

The Hebrew University(希伯来大学);Bar Ilan University(巴伊兰大学)

Ehood Porat, Amit Klein, Benny Pinkas

AI总结:

本文利用XNU内核IPv6片段ID生成算法中的竞态条件漏洞,通过密码分析破解伪随机数生成器的内部状态,实现片段ID预测和IPv6片段欺骗攻击,并展示了针对NFS和HTTP的远程修改攻击。

摘要:

我们提出了一种针对XNU(Apple产品如macOS和iOS使用的内核)的IPv6片段ID生成算法的新型实用攻击。该攻击利用算法伪随机数生成器(PRNG)中的竞态条件漏洞,通过密码分析破解并学习生成器的内部状态,从而预测片段ID,进而实现IPv6片段欺骗攻击。据我们所知,这是第一个基于利用竞态条件的密码分析攻击。通过片段欺骗,可以部分操纵UDP数据报和TCP段。我们展示了一种针对NFS(UDP)的新型攻击,其中路径外攻击者在文件写入时修改文件,以及一种针对HTTP(TCP)的攻击,其中路径外攻击者修改HTTP请求。Apple将此漏洞分配为CVE标识符CVE-2024-27823,并修补了所有基于XNU的产品以防御该攻击。

英文摘要:

We present a novel, practical attack on the IPv6 Fragment ID generation algorithm of XNU, which is the kernel used by Apple products such as macOS and iOS. This attack exploits a race-condition vulnerability in the algorithm's pseudorandom number generator (PRNG) to cryptanalytically break, learn the internal state of the generator, and consequently predict fragment IDs, which, in turn, facilitates an IPv6 fragment spoofing attack. As far as we know, this is the first cryptanalytic attack that is based on exploiting race-conditions. With fragment spoofing, it is possible to partially manipulate UDP datagrams and TCP segments. We showcase a new type of attack on NFS (UDP) where an off-path attacker modifies a file as it is written, and an attack on HTTP (TCP) where an off-path attacker modifies an HTTP request. Apple assigned this vulnerability the CVE identifier CVE-2024-27823 and patched all its XNU-based products against the attack.

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

↑