arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.11336cs.CRcs.AR
收藏

通过细粒度指令重排序减轻功耗攻击

Mitigating Power Attacks through Fine-Grained Instruction Reordering

Yun Chen, Ali Hajiabadi, Romain Poussier, Andreas Diavastos, Shivam Bhasin, Trevor E. Carlson

摘要:

侧信道攻击是一种利用信息泄漏的安全漏洞。他们使用物理参数的测量和分析来进行逆向工程并从系统中提取秘密。特别是功率分析攻击,从计算设备收集一组功率迹线,并使用统计技术将该信息与受攻击的应用数据和源代码相关联。即时编译、随机代码注入和指令去混淆等对策使指令的执行变得模糊,从而降低了安全风险。不幸的是,由于这些解决方案执行的随机性和多余的指令,它们在性能、功率和面积上引入了较大的开销。在这项工作中,我们提出了一种调度算法,动态重新排序的顺序处理器中的指令,以提供混淆的执行和减轻功耗分析攻击,几乎没有影响的性能,功率或处理器的面积。我们利用关键指令的操作数可用性(松弛)之间的时间来创建高性能的随机时间表,而不需要额外的指令或静态预分配。此外,我们使用不同的攻击进行扩展的安全分析。我们强调使用不正确的对抗性假设的危险,这往往会导致错误的安全感。在这方面,我们的高级安全指标显示了34 $\times$的改进,而我们的基本安全评估显示结果高达261 $\times$。此外,我们的系统实现了96%的平均性能,基线未受保护的处理器。

英文摘要:

Side-channel attacks are a security exploit that take advantage of information leakage. They use measurement and analysis of physical parameters to reverse engineer and extract secrets from a system. Power analysis attacks in particular, collect a set of power traces from a computing device and use statistical techniques to correlate this information with the attacked application data and source code. Counter measures like just-in-time compilation, random code injection and instruction descheduling obfuscate the execution of instructions to reduce the security risk. Unfortunately, due to the randomness and excess instructions executed by these solutions, they introduce large overheads in performance, power and area. In this work we propose a scheduling algorithm that dynamically reorders instructions in an out-of-order processor to provide obfuscated execution and mitigate power analysis attacks with little-to-no effect on the performance, power or area of the processor. We exploit the time between operand availability of critical instructions (slack) to create high-performance random schedules without requiring additional instructions or static prescheduling. Further, we perform an extended security analysis using different attacks. We highlight the dangers of using incorrect adversarial assumptions, which can often lead to a false sense of security. In that regard, our advanced security metric demonstrates improvements of 34$\times$, while our basic security evaluation shows results up to 261$\times$. Moreover, our system achieves performance within 96% on average, of the baseline unprotected processor.

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

↑