GithubHelp home page GithubHelp logo

jaredwright / chipsec_integration_tests Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 154 KB

Chipsec-based integration tests for the Bareflank Hypervisor project

License: MIT License

CMake 17.99% Python 46.31% C++ 35.70%

chipsec_integration_tests's Introduction

Chipsec-based integration tests for the Bareflank Hypervisor

BareflankLovesChipsec

This repository contains a Bareflank extension that aims to prove-out the concept of using chipsec as an integration testing tool for Bareflank-based VMMs.

The chipsec_modules directory contains python modules for the Chipsec framework. Each module represents one integration test that verifies a specific behaviour of a loaded VMM.

The chipsec_vmms directory contains small VMM implementations to be tested with the chipsec modules.

WARNING

Do not build or run this extension on a production environment! Chipsec is intended to be a testing tool that intentionally opens massive security holes in your platform to perform invasive testing.

Usage

This extension requires CMake version > 3.12, Python 2.7, and some chipsec-specific dependencies:

apt-get install build-essential python-dev python-setuptools python gcc
apt-get install linux-headers-$(uname -r) nasm

To build and run:

git clone --recursive https://github.com/JaredWright/chipsec_integration_tests
mkdir build; cd build
cmake ../chipsec_integration_tests/hypervisor -DCONFIG=<full/path/to/this/repo>/config.cmake
make -j<#-of-cores>
make chipsec_test

chipsec_integration_tests's People

Contributors

jaredwright avatar

Stargazers

 avatar Scott Davis avatar

Watchers

James Cloos avatar  avatar

chipsec_integration_tests's Issues

chipsec integration

I plan to make a change to chipsec_main functionality which will allow you to pass arguments through to all modules (opposed to only an individually called module). Pull Request.

I can make a pull request here to when it's merged into chipsec.

The changes should simplify the main.py file located under chipsec_modules/bareflank.

Here is an example of the changes if you use the Pull Request referenced above:

from sys import argv
from os.path import abspath

from chipsec_main import *

margs = ",".join(argv[1:])
this_dir = abspath(os.path.dirname(__file__))

cs = ChipsecMain(["-I", this_dir, "-t", "BAREFLANK", "-a", margs])
cs.main()

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.