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

现代公有云中末级缓存侧信道攻击是可行的(扩展版)

Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public Cloud (Extended Version)

Zirui Neil Zhao, Adam Morrison, Christopher W. Fletcher, Josep Torrellas

AI总结:

该研究针对公有云侧信道噪声多、FaaS场景攻击窗口短的问题,提出多项缓存侧信道攻击新技术,在Google Cloud Run中实现了跨租户ECDSA密钥窃取,验证了末级缓存侧信道攻击在现代公有云的可行性。

摘要:

末级缓存侧信道攻击大多在高度受控、无干扰的本地环境中得到验证,因此尚不清楚此类攻击在生产云环境中是否可行。在云中,侧信道会充斥着来自其他租户活动的噪声,而且在函数即服务(FaaS)工作负载中,攻击者发起攻击的时间窗口非常有限。本文中我们证明,这类攻击在实际中是可行的,但需要采用新技术。我们在公有FaaS环境Google Cloud Run中,针对一个存在漏洞的ECDSA实现开展了端到端的跨租户攻击。我们提出了多项新技术,以改进攻击的每个步骤:首先,为加快驱逐集的生成,我们提出了L2驱动的候选地址过滤方法,以及一种基于二分搜索的地址剪枝算法;其次,为以高时间分辨率监控受害者的内存访问,我们提出了并行探测(Parallel Probing)技术;最后,我们利用信号处理中的功率谱密度,在频域中轻松识别受害者的目标缓存组。总体而言,借助这些机制,我们平均在19秒内,从受害者容器中提取了81%的ECDSA秘密随机数(nonce)比特的中位数值。

英文摘要:

Last-level cache side-channel attacks have been mostly demonstrated in highly-controlled, quiescent local environments. Hence, it is unclear whether such attacks are feasible in a production cloud environment. In the cloud, side channels are flooded with noise from activities of other tenants and, in Function-as-a-Service (FaaS) workloads, the attacker has a very limited time window to mount the attack. In this paper, we show that such attacks are feasible in practice, although they require new techniques. We present an end-to-end, cross-tenant attack on a vulnerable ECDSA implementation in the public FaaS Google Cloud Run environment. We introduce several new techniques to improve every step of the attack. First, to speed-up the generation of eviction sets, we introduce L2-driven candidate address filtering and a Binary Search-based algorithm for address pruning. Second, to monitor victim memory accesses with high time resolution, we introduce Parallel Probing. Finally, we leverage power spectral density from signal processing to easily identify the victim's target cache set in the frequency domain. Overall, using these mechanisms, we extract a median value of 81% of the secret ECDSA nonce bits from a victim container in 19 seconds on average.

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

↑