Live Trojan Attacks on Deep Neural Networks

Robby Costales, Chengzhi Mao, Raphael Norwitz, Bryan Kim, Junfeng Yang
4/22/2020
cs.CRcs.LGstat.ML

Official code: robbycostales/live-trojans (9 stars, Python, last commit 2020-05-08).

Abstract

Like all software systems, the execution of deep learning models is dictated in part by logic represented as data in memory. For decades, attackers have exploited traditional software programs by manipulating this data.

Show full abstract

We propose a live attack on deep learning systems that patches model parameters in memory to achieve predefined malicious behavior on a certain set of inputs. By minimizing the size and number of these patches, the attacker can reduce the amount of network communication and memory overwrites, with minimal risk of system malfunctions or other detectable side effects. We demonstrate the feasibility of this attack by computing efficient patches on multiple deep learning models. We show that the desired trojan behavior can be induced with a few small patches and with limited access to training data. We describe the details of how this attack is carried out on real systems and provide sample code for patching TensorFlow model parameters in Windows and in Linux. Lastly, we present a technique for effectively manipulating entropy on perturbed inputs to bypass STRIP, a state-of-the-art run-time trojan detection technique.

View on arXivView PDF

Code Implementations(1)

Code for "Live Trojan Attacks on Deep Neural Networks" paper

92Python, C++Jul 9, 20196 years ago

Similar Papers

Cite this paper

@article{costales2020live,
  title  = {Live Trojan Attacks on Deep Neural Networks},
  author = {Robby Costales and Chengzhi Mao and Raphael Norwitz and Bryan Kim and Junfeng Yang},
  year   = {2020},
  eprint = {2004.11370},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.11370}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2004.11370.svg)](https://codeofpaper.com/paper/2004.11370)

Discussion