arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.19145cs.CRcs.LG
收藏

HAMLOCK: 基于硬件-模型逻辑结合的攻击

HAMLOCK: HArdware-Model LOgically Combined attacK

Sanskar Amgain, Daniel Lobo, Atri Chatterjee, Swarup Bhunia, Fnu Suya

AI总结:

HAMLOCK是一种新型攻击,通过在硬件-软件边界分布攻击逻辑,利用硬件 Trojan 操纵输出 logits 实现隐秘的模型后门攻击,无需修改模型权重,且能绕过现有防御措施。

摘要:

随着第三方硬件加速器(如FPGA、ASIC)在深度神经网络(DNN)中的广泛应用,引入了新的安全漏洞。传统模型级后门攻击仅通过篡改模型权重来使特定触发器下的输入误分类,但其攻击逻辑嵌入在模型中(即软件),导致逐层激活路径可追溯。本文提出了HArdware-Model Logically Combined Attack(HAMLOCK),一种更为隐蔽的威胁,将攻击逻辑分布在硬件-软件边界。软件(模型)现在仅通过调整少数神经元的激活以产生唯一高激活值来实现,恶意硬件 Trojan 通过监控对应神经元的最高有效位或8位指数来检测这些独特激活,并触发另一个硬件 Trojan 直接操纵最终输出logits以实现误分类。这种解耦设计极具隐蔽性,因为模型本身不包含完整的后门激活路径,因此看起来完全无害。实证表明,在MNIST、CIFAR10、GTSRB和ImageNet等基准上,HAMLOCK实现了几乎完美的攻击成功率,同时清洁准确率下降微小。更重要的是,HAMLOCK能够绕过最先进的模型级防御措施,无需任何自适应优化。硬件 Trojan 也难以检测,其面积和功耗开销仅为0.01%,可轻易被工艺和环境噪声掩盖。我们的发现揭示了硬件-软件接口的关键漏洞,要求新的跨层防御以应对这一新兴威胁。

英文摘要:

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.

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

↑