Coder Social home page Coder Social logo

sm-access-control's Introduction

Secure SM-grained Resource Sharing

This repository contains the source code accompanying the paper "Secure Resource Sharing for Embedded Protected Module Architectures" which appeared in the 2015 WISTP International Conference on Information Security Theory and Practice.

Van Bulck J., Noorman J., Mühlberg T., Piessens F. Secure resource sharing for embedded protected module architectures. In 9th WISTP International Conference on Information Security Theory and Practice (WISTP 2015), LNCS: Vol. 9311, pp. 71–87, Springer, 2015.

Paper Abstract

Low-end embedded devices and the Internet of Things (IoT) are becoming increasingly important for our lives. They are being used in domains such as infrastructure management, and medical and healthcare systems, where business interests and our security and privacy are at stake. Yet, security mechanisms have been appallingly neglected on many IoT platforms.

In this paper we present a secure access control mechanism for extremely lightweight embedded microcontrollers. Being based on Sancus, a hardware-only Trusted Computing Base and Protected Module Architecture for the embedded domain, our mechanism allows for multiple software modules on an IoT-node to securely share resources. We implement and evaluate our approach for two application scenarios, a shared memory system and a shared flash drive. Our implementation is based on a Sancus-enabled TI MSP430 microcontroller. We show that our mechanism can give high security guarantees at small runtime overheads and a moderately increased size of the Trusted Computing Base.

Source Code Overview

Instructions for building and running the programs are available at https://distrinet.cs.kuleuven.be/software/sancus/wistp2015/. The source code is organized as follows:

  • sfs: contains the Sancus File System (SFS) implementation, a modified Contiki File System (CFS) interface that provides SM-grained access control for a shared protected memory buffer or Contiki's Coffee file system for embedded peripheral flash driver.

  • sfs-benchark: contains a test program measuring and printing the number of CPU cycles needed for the various sfs functions

  • sfs-example: contains a simple test setup and Makefile to compile and use the sfs interface

  • ./benchmark.h and ./common.h are utility headers

sm-access-control's People

Contributors

jovanbulck avatar

Stargazers

 avatar

Watchers

Jan Tobias Muehlberg avatar James Cloos avatar  avatar

sm-access-control's Issues

Implement protected MMIO SPI driver

SFS relies on a protected MMIO SPI driver asm SM to take exclusive ownership over the peripheral flash drive for the Coffee file system. As explained in the paper, this is currently not implemented.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.