SleepWalk:利用上下文切换与剩余功耗开展物理侧信道攻击
SleepWalk: Exploiting Context Switching and Residual Power for Physical Side-Channel Attacks
AI总结:
本研究提出SleepWalk物理侧信道攻击方法,利用系统睡眠函数触发的上下文切换功耗尖峰,结合剩余功耗特征,仅需单尖峰幅值即可在BCM2711上实现AES、SIKE的密钥恢复,简化了攻击流程。
摘要:
操作系统利用上下文切换在应用程序间切换执行上下文,该过程需保存并恢复多个寄存器的状态、执行流水线刷新以清除所有预取指令,因此瞬时功耗高于常规程序执行。本文提出一种物理功耗侧信道泄漏源,其利用系统内核内置睡眠函数触发的上下文切换期间观测到的功耗尖峰。我们发现,该功耗尖峰与上下文切换期间的功耗、此前执行程序的剩余功耗均直接相关。值得注意的是,此前工作负载残留的功耗特征会持续存在,这拓展了该侧信道的作用范围,使其不仅限于提取上下文切换期间寄存器内的数据。与需要分析完整功耗轨迹、执行复杂预处理或依赖外部同步触发信号的传统方法不同,这项新技术仅利用单个功耗尖峰的幅值,大幅简化了攻击流程。我们构建了一个功耗模型,以说明利用睡眠诱导的功耗尖峰实施端到端侧信道攻击的可行性。实验评估表明,我们的框架可在Broadcom BCM2711芯片上,成功对AES和SIKE两种实现方案执行密码密钥恢复。
英文摘要:
Context switching is utilized by operating systems to change the execution context between application programs. It involves saving and restoring the states of multiple registers and performing a pipeline flush to remove any pre-fetched instructions, leading to a higher instantaneous power consumption compared to typical program execution. In this paper, we introduce a physical power side-channel leakage source that exploits the power spike observed during a context switch, triggered by the inbuilt sleep function of the system kernel. We observed that this power spike directly correlates with both the power consumption during context switching and the residual power consumption of the previously executed program. Notably, the persistence of residual power signatures from previous workloads extends the scope of this side-channel beyond extracting the data in registers during the context switch. Unlike traditional approaches that require analyzing full power traces, applying complex preprocessing, or relying on external synchronization triggers, this novel technique leverages only the amplitude of a single power spike, significantly simplifying the attack. We developed a power model to illustrate the feasibility of mounting end-to-end side-channel attacks using the sleep-induced power spikes. Experimental evaluation demonstrates that our framework can successfully perform cryptographic key recovery for both AES and SIKE implementations on Broadcom BCM2711.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。