GithubHelp home page GithubHelp logo

umap-1's Introduction

umap

Windows UEFI bootkit that loads a generic driver manual mapper without using a UEFI runtime driver.

Usage

  1. Setup a FAT32 formatted flashdrive with the following filesystem structure: \EFI\Boot\bootx64.efi where bootx64.efi is the compiled bootkit.

  2. Boot from the flashdrive.

  3. Use the usermode program umap to manually map a driver. The driver must be designed to function without a real driver object. However, in place of the driver object parameter is a pointer to the pool allocated for the driver if needed.

    • For example: umap test.sys

Compiling

The mapper and umap projects can both be compiled using standard Visual Studio (with WDK for mapper). Keep in mind that any changes to mapper must be updated in its corresponding bootkit resource. One could also just replace mapper with their own driver (make sure to undo the bootkit hook), which renders the usermode component irrelevant. By default, the mapper's DriverEntry is called before the boot-time driver acpiex.sys is initialized (typically the 2nd driver in the load order after WDF). This can be easily changed if needed.

The bootkit by default expects an edk2 directory in the repository's root with the EDK2 header and library files combined. You can use VisualUEFI for both of these, then simply combine the directories. Or, change the project layout to fit your UEFI development environment.

Note

This PoC was only tested on Windows 10 1803, 1809, 1903, 1909, and 2004.

umap-1's People

Contributors

afulsamet avatar btbd avatar

Watchers

 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.