Code Monkey home page Code Monkey logo

diskvm's Introduction

diskvm

Create virtual machines from disk images.

Features

  • Create VMs from disk images
  • Supports Windows and Linux disk images
  • Prevent modifications of disk images with VM snapshots
  • Prevent communication with external systems by disabling network connections
  • Automatically detect OS and configure VM accordingly
  • Overwrite Windows and Linux login passwords in VM (log in without knowing the original password)
  • Bypass full disk encryption (BitLocker, VeraCrypt, LUKS) in VM with master keys (without knowing the original password/recovery-key)

Setup

This project requires some external tools. They need to be installed on the host system:

  • VMware Workstation 16.x
  • dislocker-pwreset - only required for bypassing BitLocker (fork of dislocker with additional utilities)
  • Linux filesystem utilities: mount, umount, losetup, cryptsetup, LVM

Install python dependencies:

pip install -r requirements.txt

Usage

Create VM of an unencrypted disk images and boot it. This project needs to run as root to allow mounting the disk image and filesystems in it.

sudo python3 main.py win10-unencrypted.dd --out-dir=./win10-vm/

Create VM of a BitLocker-encrypted disk image and boot it. First extract AES keys from a memory dump of the system. This project tries all extracted keys and finds the correct master key for accessing volumes.

aeskeyfind win10-bitlocker.mem > possible-keys.txt
sudo python3 main.py win10-bitlocker.dd --out-dir=./win10-bde-vm/ --fde-bypass=auto --master-key-file=possible-keys.txt

sudo python3 main.py win10-bitlocker.dd --out-dir=./win10-bde-vm/ --fde-bypass=auto --master-key=0f6d666998f8b4523eacad91245c2f26922bebd5e679de54cfc1bae4b881f9b4

Demo

diskvm_demo.mp4

diskvm's People

Contributors

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