Embedded systems are parts of our daily life and used in many fields. They can be found in smartphones or in modern cars including GPS, light/rain sensors and other electronic assistance mechanisms. These systems may handle sensitive data (such as credit card numbers, critical information about the host system and so on) which must be protected against external attacks as these data may be transmitted through a communication link where attackers can connect to extract sensitive information or inject malicious code within the system. This work presents an approach to protect communications in multiprocessor architectures. This approach is based on hardware security enhancements acting as firewalls. These firewalls filter all data going through the system communication bus and an additional flexible cryptographic block aims to protect external memory from attacks. Benefits of our approach are demonstrated using a case study and some custom software applications implemented in a Field-Programmable Gate Array (FPGA). Firewalls implemented in the target architecture allow getting a low-latency security layer with flexible cryptographic features. To illustrate the benefit of such a solution, implementations are discussed for different MPSoCs implemented on Xilinx Virtex-6 FPGAs. Results demonstrate a reduction up to 33% in terms of latency overhead compared to existing efforts.
PICASSO: Scaling CHERI Use-After-Free Protection to Millions of Allocations using Colored Capabilities
Ericsson Security Research(爱立信安全研究);DistriNet, KU Leuven(鲁汶大学 DistriNet 研究中心);University of Waterloo(滑铁卢大学);University of Cambridge(剑桥大学);KTH Royal Institute of Technology(瑞典皇家理工学院);Ericsson Product Security(爱立信产品安全)
MaskedNet: The First Hardware Inference Engine Aiming Power Side-Channel Protection
差分功耗分析(Differential Power Analysis,DPA)是近二十年来研究的一个活跃领域,它通过功耗测量来研究从密码实现中提取秘密信息的攻击及其防御。不幸的是,到目前为止,对功率侧信道的研究主要集中在分析诸如AES、DES、RSA和最近的后量子密码学原语(例如,晶格)。与此同时,机器学习,特别是深度学习应用正在变得无处不在,其中机器学习模型是需要保密的知识产权的几种场景。然而,将侧信道分析扩展到机器学习模型提取在很大程度上是未探索的。本文将DPA框架扩展到神经网络分类器。首先,它显示DPA攻击在推理过程中提取秘密模型参数,如神经网络的权重和偏差。其次,通过对$\textit{masking}$的扩充,提出了针对这些攻击的$\textit{first countermeasures}$.由此产生的设计使用新的掩蔽组件,如掩蔽加法器树的全连接层和掩蔽整流器线性单元的激活函数。在SAKURA-X FPGA板上进行的实验表明,对未受保护的实现的一阶DPA攻击仅需200条迹线即可成功,并且我们的保护分别将延迟和面积成本增加了2.8倍和2.3倍。