使用性能监视计数器检测针对AES的时间分段缓存攻击
Detecting time-fragmented cache attacks against AES using Performance Monitoring Counters
摘要:
缓存定时攻击使用多核处理器中的共享缓存作为侧通道来从受害进程提取信息。这些攻击在云基础设施中特别危险,其中部署的对策会导致性能损失和能耗增加方面的附带影响。我们建议使用一个独立的监测(检测器)过程,不断测量选定的性能监测计数器(PMC)检测攻击的存在,以监测受害者进程。只有在出现这种危险情况时才能采取特别反措施。在我们的例子中,受害者进程是AES加密算法,攻击是通过随机加密请求来执行的。我们证明,PMC是一个可行的工具来检测攻击,并在高频率采样PMC是比采样在较低的频率在检测能力,特别是当攻击是碎片化的时间,试图隐藏检测。
英文摘要:
Cache timing attacks use shared caches in multi-core processors as side channels to extract information from victim processes. These attacks are particularly dangerous in cloud infrastructures, in which the deployed countermeasures cause collateral effects in terms of performance loss and increase in energy consumption. We propose to monitor the victim process using an independent monitoring (detector) process, that continuously measures selected Performance Monitoring Counters (PMC) to detect the presence of an attack. Ad-hoc countermeasures can be applied only when such a risky situation arises. In our case, the victim process is the AES encryption algorithm and the attack is performed by means of random encryption requests. We demonstrate that PMCs are a feasible tool to detect the attack and that sampling PMCs at high frequencies is worse than sampling at lower frequencies in terms of detection capabilities, particularly when the attack is fragmented in time to try to be hidden from detection.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。