Code injection attacks on harvard-architecture devices

By Aurélien Francillon, Claude Castelluccia. Conference on Computer and Communications Security, 2008

317 citations recorded by the source corpus.

Harvard architecture CPU design is common in the embedded world. Examples of Harvard-based architecture devices are the Mica family of wireless sensors. Mica motes have limited memory and can process only very small packets. Stack-based buffer overflow techniques that inject code into the stack and then execute it are therefore not applicable. It has been a common belief that code injection is impossible on Harvard architectures. This paper presents a remote code injection attack for Mica sensors. We show how to exploit program vulnerabilities to permanently inject any piece of code into the program memory of an Atmel AVR-based sensor. To our knowledge, this is the first result that presents a code injection technique for such devices. Previous work only succeeded in injecting data or performing transient attacks. Injecting permanent code is more powerful since the attacker can gain full control of the target sensor. We also show that this attack can be used to inject a worm that can propagate through the wireless sensor network and possibly create a sensor botnet. Our attack combines different techniques such as return oriented programming and fake stack injection. We present implementation details and suggest some counter-measures.

Subfields: Artificial Intelligence, Computer Networks and Communications, Signal Processing

View Paper: https://www.semanticscholar.org/paper/d823ee4fa7ca844624fc3eee68202f032270b9d2

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Ahmad-Reza Sadeghi
  2. Lucas Davi
  3. Marcel Winandy
  4. Alexandra Dmitrienko
  5. Xuxian Jiang
  6. Karim Eldefrawy
  7. Zhenkai Liang
  8. Vincent W. Freeh

In Computer Networks and Communications

  1. Ahmad-Reza Sadeghi
  2. Lucas Davi
  3. Karim Eldefrawy
  4. Zhenkai Liang
  5. Xuxian Jiang
  6. Vincent W. Freeh
  7. Tyler K. Bletsch
  8. Hovav Shacham

In Signal Processing

  1. Ahmad-Reza Sadeghi
  2. Lucas Davi
  3. Marcel Winandy
  4. Alexandra Dmitrienko
  5. Xuxian Jiang
  6. Karim Eldefrawy
  7. Aurélien Francillon
  8. Gene Tsudik

Citations in the corpus