Giter VIP home page Giter VIP logo

diskripper's Introduction

Diskripper

Analyze and extract files from a disk file

N|Solid

Build Status

Diskripper is a tool which can analyze and extract files from a disk file (currently supports only vmdk). What makes this tool special, is the fact that it can do this without needing to download the whole disk file. This also means that Diskripper accepts network paths as to where the disk file is located. During pentests for example, you could find a disk file on a share that could be as big as a couple hunderd gigabytes.

The challenge with this is that downloading the disk file takes time and storage, both of which that can be quite limited when performing a pentest. This tool has been made during an internship to solve that problem.

Features

  • Check whether the given vmdk file is encrypted with Bitlocker or not
  • Output a directory listing of the disk file
  • Output the contents of Program Files and Program Files (x86) directories with just one command
  • Copy a file from the disk file
  • Copy file(s) from a provided txt file with the full paths of the desired files to be copied
  • Copy the SAM, SYSTEM and SECURITY files in one command

Usage

Diskripper can be used with the following commands

  • --command dir, which can make a directory listing of the provided disk file.
    Example:
    diskripper --command dir --source "C:\VM\Win10\Win10.vmdk" --directory
  • --command pf, which can show the contents of the directories Program Files and Program FIles (x86) with one command.
    Example:
    diskripper.exe --command pf --source "C:\VM\Win10\Win10.vmdk"
  • --command cp, which can copy a specified file from the provided disk file. A destination has to be provided.
    Example:
    diskripper.exe --command cp --source "C:\VM\Win10\Win10.vmdk" --file2copy \Windows\System32\calc.exe --destination "C:\Users\Public\calc.exe"
  • --command cpfile, which can copy files that are specified in a provided txt file.
    Example:
    diskripper.exe --command cpfile --source "C:\VM\Win10\Win10.vmdk" --file "C:\Users\Public\\filelist.txt" --destinationdir "C:\Users\Public\Output"
  • --command sam, which will copy the SAM, SYSTEM and SECURITY files, that can be used to extract password hashes to crack them.
    Example:
    diskripper.exe --command sam --source "C:\VM\Win10\Win10.vmdk"
Credits

The base of this tool has been written by leftp. The original tool can be found here. When I tried to use the original tool it initially didn't work, so I fixed it and added the previously mentioned functions.

NOTE: Diskripper has been tested with a Windows 10 vmdk file that has been created in VMware. Other disk file formats are currently not yet supported. Use at your own risk!

Code is pretty messy, because my programmingskills arent't the best, but I tried to make it as 'readable' as possible and, most importantly, it works ¯\(ツ)

diskripper's People

Contributors

skixie avatar

Stargazers

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