Giter Club home page Giter Club logo

sandbox-research's Introduction

sandbox-research

This repository contains my study on sandboxing and Windows internals, originally done for an academic research. The driver component of this project can be found here: aCursedComrade/sandbox-driver

overview

Building the solution

Following are build dependencies required to build the project:

  • MS Build Tools and Windows Driver Kit are required to compile the project including the driver. Read the documentation to setup the environment.
  • Protobuf compiler - protoc used to compile Protobuf source files to be consumed by gRPC servcies.

Once built appropiately, you can run the bundle.ps1 which simply copies over necessary files into a directory, "TheBox". The directory structure is expected to be as follows:

  • TheBox/
    • BoxDrv/
      • BoxDrv.cat
      • BoxDrv.inf
      • BoxDrv.sys
    • utils/
      • hooked.dll
      • whisper.exe
    • box_broker.exe
    • box_ui.exe
    • setup.ps1

Running the solution

The existence of a private signed (or test signed) driver requires the Windows system to allow test signing and optionally turn on on debug mode for debug logging. Complete documentation for manual driver deployment can be found in Microsoft Knowledge Base. Or you can simply execute the following in an elevated prompt:

  • To enable the testsigning feature:
    • bcdedit /set TESTSIGNING ON
  • Optionally, for debug logs:
    • bcdedit /set DEBUG ON

Additionally, the user-mode components also require Visual C++ Redistributles 2015-2022 to run. After, you have gone through the dependencies, you can then run the setup.ps1 script (in an elevated prompt) to setup the services of associated with the broker and the driver.

Finally, you can start interacting with the solution by executing the box_ui.exe binary.

sandbox-research's People

Contributors

acursedcomrade avatar

Stargazers

 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.