Giter VIP home page Giter VIP logo

eaglevm's Introduction

EagleProtect

Playground for generating virtual machine protected x64 assembly.

EagleVM

Main protection application that virtualizes code.

EagleVMSandbox

Project for future testing on full binaries.

EagleVMStub

This is a DLL which is used in a project that needs to be protected. The EagleVM protector application searches for the usages of the stub imports to hollow the marked code sections and create virtualized code.

How it Works

Imports

Todo

Code Sections

Todo

PE VM Section

Todo

Wishlist / Flaws

  • Improve the system for which encryption/decryption routines are created for entering the virtual machine. Currently it is the same rol, add, ror routine. In the future this should be random and custom for each VMENTER. Ideally, when a protected function needs to enter the virtual machine, it will push a virtual address which contains a unique encryption routine in the VM section. So that during VMENTER routine, the other constant which was pushed to the stack can be decrypted uniquely.
  • Everything in the VM section of the PE is in a linear order. This makes reverse engineering the application fairly easy. This will be difficult but some kind of algorithm needs to be developed to create a PE section for the virtual machine first and then at the end fill the addresses which depend on one another.
  • Full project refactor? Project might become extremely messy after the item above gets added. Maybe some thinking needs to be done
  • Obfuscation (duh) since a VM is not going to carry all the weight of making the generated VMs difficult to reverse engineer.
  • For chunks of virtualized instructions, a VM enter could decrypt them using some kind of algorithm at runtime. Would hinder reverse engineering statically

Resources

  • r0da - Inspiring this project with VMP3 Virtulization analysis.
  • Iizerd - Help with general understanding of code virtualization.
  • _xeroxz - Detailed anaylsis of VMP2.
  • hasherezade - Creating PE-Bear for help with understanding, creating, and parsing PE headers.

eaglevm's People

Contributors

mrexodia avatar notpidgey 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.