Coder Social home page Coder Social logo

m1lkweed / vmd Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 2.0 99 KB

A small set of functions for RE detection on x86_64 Linux

License: GNU General Public License v3.0

Makefile 18.20% C 81.18% Dockerfile 0.63%
vm-detection anticheat anti-reversing detection

vmd's Introduction

VM Detector build

A small set of functions for RE detection on x86_64 Linux

Functions:

  • vmd_vmdetect() detects virtual machines via descriptor table values, cpuid, and rdtscp
  • vmd_hvdetect() detects hypervisors via cpuid
  • vmd_dbgpresent() detects debuggers via address layout and ptrace
  • vmd_inchroot() detects chroots via inode
  • vmd_hardwaresus() detects virtual machines via uncommonly low-end hardware
  • vmd_incontainer() detects containerization via getpid

To use:

Run make or simply include vmd.h in your project. Define VMD_IMPLEMENTATION somewhere in your program if you aren't using vmd from a library.

Expected output from example:

make test

strace: Debugger detected
ltrace: Debugger detected
qemu: VM detected
Hypervisor detected
Debugger detected
docker: Chroot detected
Container detected
gdb: Debugger detected
valgrind: VM detected
firejail: Debugger detected
Container detected
standalone: Nothing detected

More results:

command result
lldb ./vmd Debugger detected
ddd ./vmd Debugger detected
./x64determiniser ./vmd VM detected Debugger detected
edb --run ./vmd Debugger detected
nemiver ./vmd Debugger detected
radare2 -d ./vmd Debugger detected
rr record -n ./vmd VM detected Hardware has suspicious configuration
wine ./vmd.exe VM detected Debugger detected

vmd's People

Contributors

doggo4242 avatar grostaco avatar m1lkweed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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