Home | About Us | Projects | People | Documents | Courses | Internal
 
Document Details: Harbor: Software-based Memory Protection...
TITLE
 

Harbor: Software-based Memory Protection System for Sensor Nodes

In 2006 , 0 pages , November 2006.

NESL Technical Report #: TR-UCLA-NESL-200611-01

ABSTRACT
 

Many sensor nodes contain resource constrained microcontrollers where user level applications, operating system components and device drivers reside within single address space with no form of memory protection. Programming errors in one application can easily corrupt the state of the operating system and other applications on the node. In this paper, we propose Harbor, a memory protection system that prevents corruption of state by buggy applications. We use software based fault isolation (“sandboxing”) to restrict memory accesses and control flow of applications to protection domains within the address space. Limited memory on sensor nodes precludes static partitioning of the address space into different domains. We have designed Memory map, a flexible and efficient data structure for recording ownership and layout information of entire address space. Control flow integrity is preserved by maintaining a safe stack that stores return addresses in a protected memory region. Cross domain calls perform low overhead domain switch within single address space. Checks are introduced in an application through a re-write of the compiled binary. The sandboxed binary is verified on sensor node before it is admitted for execution. Sensor nodes only need to trust the correctness of the verifier in the overall system. We have implemented and tested Harbor on SOS operating system. Our experiments were able to detect and prevent memory corruption caused due to programming errors in application modules that have been in use for several months. Our evaluations show that despite high overhead, Harbor does not degrade application level performance of the system under typical workloads.

AUTHORS
 

Ramkumar Rengaswamy
Eddie Kohler
Mani B Srivastava


DOWNLOADS
 

PDF file of paper

RELATED PROJECTS
 

SOS : A dynamic operating system for sensor networks

TYPE
 

Report

© 2008 by Networked & Embedded Systems LaboratoryUniversity of California, Los Angeles
(Developed using Ruby on Rails, hosted on Mac OS X, and best viewed without Internet Explorer!)
Maintained by Mani Srivastava