Code injection attacks on harvard-architecture devices

Aurelien Francillon 1 Claude Castelluccia 1
1 PLANETE - Protocols and applications for the Internet
Inria Grenoble - Rhône-Alpes, CRISAM - Inria Sophia Antipolis - Méditerranée
Abstract : 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.
Type de document :
Communication dans un congrès
CCS '08: Proceedings of the 15th ACM conference on Computer and communications security, Oct 2008, Alexandria, Virginia, United States. ACM, pp.15--26, 2008, 〈10.1145/1455770.1455775〉
Liste complète des métadonnées

Littérature citée [20 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/inria-00355202
Contributeur : Aurélien Francillon <>
Soumis le : jeudi 22 janvier 2009 - 14:20:34
Dernière modification le : mercredi 11 avril 2018 - 01:55:55
Document(s) archivé(s) le : mardi 8 juin 2010 - 21:04:21

Fichiers

new.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

Collections

Citation

Aurelien Francillon, Claude Castelluccia. Code injection attacks on harvard-architecture devices. CCS '08: Proceedings of the 15th ACM conference on Computer and communications security, Oct 2008, Alexandria, Virginia, United States. ACM, pp.15--26, 2008, 〈10.1145/1455770.1455775〉. 〈inria-00355202〉

Partager

Métriques

Consultations de la notice

493

Téléchargements de fichiers

381