HAMLOCK: HArdware-Model LOgically Combined attacK
Sanskar AmgainDLDaniel LoboACAtri Chatterjee
Swarup BhuniaFSFnu Suya Sanskar Amgain
DLDaniel Lobo
ACAtri Chatterjee

Swarup Bhunia
FSFnu Suya
+5
HAMLOCK introduces a stealthy backdoor attack on DNNs, distributing attack logic across hardware and software. The model is minimally altered: a trigger causes a few neurons to produce abnormally high activations. A hardware Trojan detects these unique activations (e.g., via the most significant bit or exponent bits) and triggers another Trojan to directly manipulate output logits for misclassification. This decoupled design lacks a complete backdoor path in the model, evading model-level defenses. Experiments on MNIST, CIFAR10, GTSRB, and ImageNet achieve near-perfect attack success with negligible accuracy drop, and the hardware Trojan incurs area/power overhead as low as 0.01%, remaining undetectable.

arXiv ·
· October 22, 2025