GithubHelp home page GithubHelp logo

iamasbcx / memoryranger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from igorkorkin/memoryranger

0.0 1.0 0.0 46.79 MB

MemoryRanger protects kernel data and code by running drivers and hosting data in isolated kernel enclaves using VT-x and EPT features.

Home Page: https://igorkorkin.blogspot.com

C++ 62.02% C 21.09% Assembly 0.07% Objective-C 0.05% Batchfile 0.01% CMake 0.12% Makefile 0.35% Python 3.07% Java 3.94% Shell 0.08% OCaml 2.29% Smalltalk 6.04% C# 0.87%

memoryranger's Introduction

Updated MemoryRanger: Hijacking Is Not An Option

Updated MemoryRanger prevents the following new attacks:

  • Hijacking of NTFS structures gains an unauthorized access to files opened without shared access by patching Stream Control Block structures;
  • Handle Hijacking Attack provides illegal access to exclusively open files via patching handle table entries;
  • Token Hijacking Attack is designed to elevate the process privileges without using token-swapping technique;

News:

  • Demos with Handle Hijacking and Token Hijacking as well as their prevention on newest Windows 10 1903 are below.
  • Demos with Hijacking of NTFS structures will be soon.
  • Updated MemoryRanger implements special memory enclave to protect the sensitive kernel data, e.g. Token Structures, from being tampered with all drivers, the scheme is below.

Handle Hijacking Attack and its Preventing are here:

Handle Hijacking Attack The Prevention of Handle Hijacking

Token Hijacking Attack and its Preventing are here:

Handle Hijacking Attack The Prevention of Handle Hijacking

MemoryRanger

MemoryRanger hypervisor moves newly loaded drivers into isolated kernel spaces by using VT-x and EPT. MemoryRanger has been presented at Black Hat Europe 2018 and CDFSL 2019. MemoryRanger runs driver inside separate enclaves to protect the following kernel-mode areas:

  • allocated data, drivers code, and EPROCESS.token fields (BlackHat 2018);
  • FILE_OBJECT structures (CDFSL 2019).

MemoryRanger at the CDFSL 2019:

  • demonstration of illegal access to an exclusive open file via FILE_OBJECT hijacking;
  • prevention of FILE_OBJECT hijacking;
  • paper, slides, demos are here.

The Hijacking Attack The Attack Prevention

MemoryRanger at the Black Hat Europe 2018

alt text

  • demonstration of illegal access to allocated data, drivers code, and EPROCESS.token field;
  • protection of the dynamically allocated data;
  • preventing newly loaded drivers to escalate process priviledges;
  • paper, slides, demos are here.

The Attack The Attack Prevention

Details

MemoryRanger hypervisor is based on these projects:

memoryranger's People

Contributors

igorkorkin avatar

Watchers

James Cloos 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.