Deep Neural Networks (DNN) are vulnerable to adversarial perturbations-small changes crafted deliberately on the input to mislead the model for wrong predictions. Adversarial attacks have disastrous consequences for deep learning-empowered critical applications. Existing defense and detection techniques both require extensive knowledge of the model, testing inputs, and even execution details. They are not viable for general deep learning implementations where the model internal is unknown, a common 'black-box' scenario for model users. Inspired by the fact that electromagnetic (EM) emanations of a model inference are dependent on both operations and data and may contain footprints of different input classes, we propose a framework, EMShepherd, to capture EM traces of model execution, perform processing on traces and exploit them for adversarial detection. Only benign samples and their EM traces are used to train the adversarial detector: a set of EM classifiers and class-specific unsupervised anomaly detectors. When the victim model system is under attack by an adversarial example, the model execution will be different from executions for the known classes, and the EM trace will be different. We demonstrate that our air-gapped EMShepherd can effectively detect different adversarial attacks on a commonly used FPGA deep learning accelerator for both Fashion MNIST and CIFAR-10 datasets. It achieves a 100% detection rate on most types of adversarial samples, which is comparable to the state-of-the-art 'white-box' software-based detectors.
Detecting RAG Extraction Attack via Dual-Path Runtime Integrity Game
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Beijing University of Post and Telecommunications(北京邮电大学);Stanford University(斯坦福大学);North China Electric Power University(华北电力大学);AI Sec Lab, Beijing Chaitin Technology Co.,Ltd(北京长亭科技有限公司AI安全实验室)
Rosita++: Automatic Higher-Order Leakage Elimination from Cryptographic Code
侧信道攻击是对加密实现的安全性的主要威胁,特别是对于在对手的物理控制下的小型设备。虽然存在几种防止侧信道攻击的策略,但由于CPU内部深层值之间的意外交互,这些策略在实践中通常会失败。为了检测和防止侧信道攻击,最近提出了几种自动化工具;它们的共同限制之一是它们仅支持一阶泄漏。在这项工作中,我们提出了第一个自动化的工具,用于检测和消除高阶泄漏的加密实现。Rosita++提出了基于统计和软件的工具,以实现高性能的高阶泄漏检测。然后,它使用Rosita的代码重写引擎(Shelton et al. NDSS 2021)来消除检测到的泄漏。为了实用起见,我们评估Rosita++对二阶和三阶泄漏,但我们的框架不仅限于这些订单。我们评估了Rosita++对二阶泄漏的影响,包括两个密码的三个共享实现,PRESENT和Xoodoo,以及二阶布尔到算术掩码,这是许多加密原语(包括SHA-2,ChaCha和Blake)的掩码实现的核心构建块。我们展示了有效的二阶泄漏消除,Xoodoo的性能成本为36%,PRESENT为189%,布尔到算术掩码为29%。对于三阶分析,我们使用对应于典型四共享处理的四共享合成示例来评估Rosita++对三阶泄漏的影响。Rosita++正确地识别了此泄漏并应用了代码修复。
Detecting speculative leaks with compositional semantics
CISPA Helmholtz Center for Information Security(CISPA赫尔姆霍兹信息安全中心);University of Trento(特伦托大学);IMDEA Software Institute(IMDEA软件研究所);Azure Research, Microsoft(微软Azure研究);Saarland University(萨尔兰大学);Amazon(亚马逊)
随着如今数据的规模和大小显著增加,用于高性能计算和机器学习的联邦学习(Bonawitz et al.[2019])比以往任何时候都更加重要(Abadi et al.[2016])。人们过去认为,共享梯度似乎是安全的,以隐藏在训练阶段的本地训练数据。然而,Zhu等人[2019]证明了可以通过检测梯度从模型训练数据中恢复原始数据。它们使用生成的随机虚拟数据,并最小化它们与真实数据之间的距离。Zhao et al.[2020]进一步推动了收敛算法。通过用交叉熵损失代替原有的损失函数,获得了更好的保真度阈值。在本文中,我们建议在将数据馈送到分类器之前使用额外的dropout(Srivastava et al.[2014])层。它在防止原始数据泄漏方面非常有效,因为即使在5,800个epoch之后,训练数据也不能收敛到小的RMSE,其中丢弃率设置为0.5。
Argus: A Multi-Agent Sensitive Information Leakage Detection Framework Based on Hierarchical Reference Relationships
Guangdong Provincial Key Laboratory of Ultra High Definition Immersive Media Technology, Shenzhen Graduate School, Peking University(超高清沉浸媒体技术广东省重点实验室,北京大学深圳研究生院);University of Electronic Science and Technology of China(电子科技大学);Tencent Security Platform Department(腾讯安全平台部);China Unicom (Guangdong) Industrial Internet Co., Ltd(中国联通(广东)工业互联网有限公司)
Enhancing Security in LLM Applications: A Performance Evaluation of Early Detection Systems
School of Information Technologies(信息科技学院);Tallinn University of Technology(塔林技术大学);School of Informatics, Computing, and Cyber Systems(信息学、计算与网络安全学院);Northern Arizona University(北亚利桑那大学)