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

SCARE:面向逆向工程的存内计算的侧信道攻击

SCARE: Side Channel Attack on In-Memory Computing for Reverse Engineering

Sina Sayyah Ensan, Karthikeyan Nagarajan, Mohammad Nasim Imtia Khan, Swaroop Ghosh

摘要:

存内计算体系结构提供了一种急需的解决方案,以解决由于处理器和存储器之间的数据移动而由冯-诺依曼计算造成的能效障碍。在这种内存架构中实现的功能通常是专有的,并构成机密的知识产权。我们的研究表明,使用RRAM实现的IMC容易受到侧信道攻击。与旨在从加密实现中泄漏私钥的传统SCA不同,SCARE可以揭示内存中实现的敏感IP。因此,攻击者不需要执行侵入性逆向工程来解锁功能。我们证明SCARE最近的IMC架构,如DCIM和MAGIC作为测试用例。仿真结果表明,AND、OR和“或非”门(复杂函数的构建块)根据输入数量产生不同的功率和时序特征,使其容易受到SCA的影响。虽然过程的变化可以混淆的签名,由于显着的重叠,我们表明,对手可以使用统计建模和分析,以确定所实现的功能的结构。SCARE可以通过测试有限数量的模式来找到实现的IP。例如,与对+bc函数的蛮干攻击相比,所提出的技术将模式的数量减少了64%。此外,分析表明,由于DCIM和MAGIC的电源电压的对抗性变化,SCARE检测模型得到了改进。我们还提出了对策,如冗余输入和扩大文字。冗余输入可以屏蔽25%面积和20%功率开销的IP。然而,通过更大的RE努力可以找到功能。字面量的扩展导致36%的功率开销。然而,它强加了对手的蛮力搜索,RE努力增加了3.04倍。

英文摘要:

In-memory computing architectures provide a much needed solution to energy-efficiency barriers posed by Von-Neumann computing due to the movement of data between the processor and the memory. Functions implemented in such in-memory architectures are often proprietary and constitute confidential Intellectual Property. Our studies indicate that IMCs implemented using RRAM are susceptible to Side Channel Attack. Unlike conventional SCAs that are aimed to leak private keys from cryptographic implementations, SCARE can reveal the sensitive IP implemented within the memory. Therefore, the adversary does not need to perform invasive Reverse Engineering to unlock the functionality. We demonstrate SCARE by taking recent IMC architectures such as DCIM and MAGIC as test cases. Simulation results indicate that AND, OR, and NOR gates (building blocks of complex functions) yield distinct power and timing signatures based on the number of inputs making them vulnerable to SCA. Although process variations can obfuscate the signatures due to significant overlap, we show that the adversary can use statistical modeling and analysis to identify the structure of the implemented function. SCARE can find the implemented IP by testing a limited number of patterns. For example, the proposed technique reduces the number of patterns by 64% compared to a brute force attack for a+bc function. Additionally, analysis shows improvement in SCAREs detection model due to adversarial change in supply voltage for both DCIM and MAGIC. We also propose countermeasures such as redundant inputs and expansion of literals. Redundant inputs can mask the IP with 25% area and 20% power overhead. However, functions can be found by greater RE effort. Expansion of literals incurs 36% power overhead. However, it imposes brute force search by the adversary for which the RE effort increases by 3.04X.

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

↑