将后门攻击逻辑拆分到硬件与模型间,实现隐蔽攻击。
HAMLOCK: HArdware-Model LOgically Combined attacK
- 攻击逻辑分置软硬件:模型仅微调少数神经元激活值。
- 触发时硬件检测异常激活并篡改输出,成功率接近100%。
- 极低资源开销且绕过现有防御,适合研究硬件安全者。
第三方硬件加速器(如FPGAs、ASICs)在深度神经网络中的广泛应用带来了新的安全漏洞。传统模型级后门攻击仅通过污染模型权重使特定触发输入误分类,但因攻击逻辑全嵌入于软件中,存在可追踪的逐层激活路径,易被检测。本文提出硬件-模型逻辑协同攻击(HAMLOCK),将攻击逻辑分布于硬件-软件边界。模型仅微调少数神经元的激活值,在触发输入下产生独特高激活;恶意硬件木马通过监测对应神经元的最高位或8位指数,检测异常激活,并触发另一硬件木马直接篡改最终输出logits以实现误分类。该解耦设计高度隐蔽,因模型本身无完整后门激活路径,外观完全正常。实证表明,无论MNIST、CIFAR10、GTSRB还是ImageNet,HAMLOCK均达近完美攻击成功率,且干净准确率下降可忽略。更重要的是,无需自适应优化即可绕过当前最先进的模型级防御。硬件木马面积与功耗开销低至0.01%,远低于工艺与环境噪声,难以察觉。研究揭示了硬件-软件接口处的关键脆弱性,亟需跨层防御机制应对这一新兴威胁。
原文摘要 · Abstract (English)
The growing use of third-party hardware accelerators (e.g., FPGAs, ASICs) for deep neural networks (DNNs) introduces new security vulnerabilities. Conventional model-level backdoor attacks, which only poison a model's weights to misclassify inputs with a specific trigger, are often detectable because the entire attack logic is embedded within the model (i.e., software), creating a traceable layer-by-layer activation path. This paper introduces the HArdware-Model Logically Combined Attack (HAMLOCK), a far stealthier threat that distributes the attack logic across the hardware-software boundary. The software (model) is now only minimally altered by tuning the activations of few neurons to produce uniquely high activation values when a trigger is present. A malicious hardware Trojan detects those unique activations by monitoring the corresponding neurons' most significant bit or the 8-bit exponents and triggers another hardware Trojan to directly manipulate the final output logits for misclassification. This decoupled design is highly stealthy, as the model itself contains no complete backdoor activation path as in conventional attacks and hence, appears fully benign. Empirically, across benchmarks like MNIST, CIFAR10, GTSRB, and ImageNet, HAMLOCK achieves a near-perfect attack success rate with a negligible clean accuracy drop. More importantly, HAMLOCK circumvents the state-of-the-art model-level defenses without any adaptive optimization. The hardware Trojan is also undetectable, incurring area and power overheads as low as 0.01%, which is easily masked by process and environmental noise. Our findings expose a critical vulnerability at the hardware-software interface, demanding new cross-layer defenses against this emerging threat.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。