Giter Club home page Giter Club logo

secwired / vboxcloak Goto Github PK

View Code? Open in Web Editor NEW

This project forked from d4rksystem/vboxcloak

0.0 0.0 0.0 10 KB

๐’œ ๐’ซ๐‘œ๐‘ค๐‘’๐‘Ÿ๐’ฎโ„Ž๐‘’๐‘™๐‘™ ๐‘ ๐‘๐‘Ÿ๐‘–๐‘๐‘ก ๐‘กโ„Ž๐‘Ž๐‘ก ๐‘Ž๐‘ก๐‘ก๐‘’๐‘š๐‘๐‘ก๐‘  ๐‘ก๐‘œ โ„Ž๐‘’๐‘™๐‘ ๐‘š๐‘Ž๐‘™๐‘ค๐‘Ž๐‘Ÿ๐‘’ ๐‘Ž๐‘›๐‘Ž๐‘™๐‘ฆ๐‘ ๐‘ก๐‘  โ„Ž๐‘–๐‘‘๐‘’ ๐‘กโ„Ž๐‘’๐‘–๐‘Ÿ ๐‘ค๐‘–๐‘›๐‘‘๐‘œ๐‘ค๐‘  ๐’ฑ๐‘–๐‘Ÿ๐‘ก๐‘ข๐‘Ž๐‘™๐ต๐‘œ๐‘ฅ ๐’ฒ๐‘–๐‘›๐‘‘๐‘œ๐‘ค๐‘  ๐’ฑ๐‘€'๐‘  ๐‘“๐‘Ÿ๐‘œ๐‘š ๐‘š๐‘Ž๐‘™๐‘ค๐‘Ž๐‘Ÿ๐‘’ ๐‘กโ„Ž๐‘Ž๐‘ก ๐‘š๐‘Ž๐‘ฆ ๐‘๐‘’ ๐‘ก๐‘Ÿ๐‘ฆ๐‘–๐‘›๐‘” ๐‘ก๐‘œ ๐‘’๐‘ฃ๐‘Ž๐‘‘๐‘’ ๐‘Ž๐‘›๐‘Ž๐‘™๐‘ฆ๐‘ ๐‘–๐‘ . ๏ฝฅยฐห–โœง

License: GNU General Public License v2.0

PowerShell 100.00%

vboxcloak's Introduction

VBoxCloak

A PowerShell script that attempts to help malware analysts hide their VirtualBox Windows VM's from malware that may be trying to evade analysis. Guaranteed to bring down your pafish ratings by at least a few points ;)

The script accomplishes this by doing the following:

  • Renames several registry keys that malware typically uses for VM detection.
  • Kills VirtualBox processes (VBoxService and VBoxTray, etc.).
  • Deletes VirtualBox driver files (this will not crash VirtualBox, since these drivers are loaded into memory anyway!).
  • Deletes or renames VirtualBox supporting files in System32 and SysWOW64 directories.

For more info, see my blog post here: https://securityliterate.com/hiding-virtual-machines-from-malware-introducing-vmwarecloak-vboxcloak/

Note: This script will not cover ALL VM detection techniques! There are a lot of ways to detect a VM, and many of these cannot be fixed with a simple Powershell script. For example, techniques such as RDTSC and timing detection are not covered, neither is CPUID detection.

Tested on Windows 7 and Windows 10 - Probably works on Windows XP and Windows 11 as well.

Spot any bugs? Let me know!

Usage

  1. Simply run VBoxCloak.ps1 as Administrator on your Windows VirtualBox VM.
  2. Detonate your malware. Profit.
  3. When done, reset your VM to clean state.

Usage examples:

Make registry changes, remove VBox files, and kill VBox processes:

  • "VBoxCloak.ps1 -all"

Just make registry modificaitons:

  • "VBoxCloak.ps1 -reg"

Just remove VBox files:

  • "VBoxCloak.ps1 -files"

Just kill VBox processes:

  • "VBoxCloak.ps1 -procs"

Warnings & Disclaimers

  • This code is in Beta. I know I could have coded it better, but sometimes quick and dirty is best.
  • Use at your own risk! Use only in a VM, and NOT on your host.
  • Ensure to make a snapshot of your VM before running this.
  • Using the "files" and/or "procs" command line arguments may result in lower VM performance. This is because this script removes several files that are required for supporting functions such as graphics, keyboard input, etc. Just revert VM to clean state if this messes anything up.

vboxcloak's People

Contributors

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