Coder Social home page Coder Social logo

iot-remote-attestation's Introduction

Remote Attestation Testbed

About

We build a IoT testbed to experiment with vulnerability exploitation and remote attestation of IoT devices. Right now, we are working on Raspberry Pi model 3 B+ (OS: Raspbian Buster) There are two primary files:

  1. A testbed server that starts and terminate different IoT projects
  2. A Client (Attacker) that exploits particular vulnerable project by sending payload remotely

There are four IoT projects:

  1. Irrigation Server
  2. Smart Home
  3. Remote control monitor car
  4. DNS server raspberry

And all these projects can be exploited using:

  1. Stack-based buffer overflow (TCP bind shell)
  2. Stack-based buffer overflow (TCP reverse shell)
  3. Heap Overflow (TCP bind shell)
  4. Heap Overflow (TCP reverse shell)
  5. Ret-to-libc (TCP bind shell)
  6. Ret-to-libc (TCP revese shell)
  7. Injecting Code using Mprotect()

Setup

To run the testbed, we need the following requirements:

  1. disable ASLR
  2. Install necessary libraries for IoT projects
  3. compile the main file of the projects enabling execution in stack and disabling stack protector

Prerequisite

Run the following commands to meet project and environment dependencies:

chmod +x compile.sh
./compile.sh

Simulation

Primary Interface

You can download the interface.sh file in any Linux machine and run it to access both the server and the client. Note: You must have the University of Houston VPN installed in your computer.

user@local:~$ ./testbed.sh

It will prompt users to start the server, client, and the verifier.

Note: For now, Verifier Node is not included.

Run Server Side

Select any of the included projects after running the server

$ ./server.sh

Run Client Side

Select particular project and related exploit after running the client

$ ./client.sh

Utilities

In the utility folder we include the utility files and programs. Included resources are:

  1. Shellcode Generators
  2. Basic Server and Client program
  3. Thumb Mode Instructions
  4. Shellcode Testers
  5. Used NOP instruction
  6. Example Bind Shell
  7. Example Reverse Shell

iot-remote-attestation's People

Contributors

salahuddin975 avatar shantoroy avatar han0nly avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar Aron Laszka avatar  avatar Ning Zhang avatar

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.