Giter VIP home page Giter VIP logo

e-boot's Introduction

E-BOOT Linux kernel patch

Description

This kernel patch is a proof of concept implementation of E-BOOT for Linux v5.3. This feature allows hypervisors to provide high-quality randomness to guest kernels through a pre-reserved memory area. This randomness can be used at the earliest stages of the boot process to satisfy the entropy demand of kernel components requiring high-quality entropy (e.g., to initialize the CSPRNG). E-BOOT is particularly designed to overcome the boot-time entropy starvation problem in virtualized environments, which can produce potential security risks and long delays in the startup of some userland applications.

For more details, please refer to this research article. It provides a comprehensive description and analysis of the problem and a detailed discussion of the proposed solution.

This feature can be enabled under:

-> Processor type and features
   -> Linux guest support
      -> Enable Hypervisor-provided Boot-Time Entropy

How to compile

Compiler used: GCC 8.4.0

Download the Linux kernel source v5.3:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/snapshot/linux-5.3.tar.gz

Decompress the source:

$ tar xf linux-5.3.tar.gz

Apply the patch:

$ cd linux-5.3/
$ patch -p1 < ../e-boot.patch 

Prepare the kernel source:

$ make x86_64_defconfig ; make kvmconfig

Compile it:

make -j $(nproc)

Reference

E-BOOT: Preventing Boot-Time Entropy Starvation in Cloud Systems

Authors: Fernando Vano-Garcia && Hector Marco-Gisbert

e-boot's People

Contributors

fervagar avatar

Watchers

 avatar  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.