Skip to content

lauw70/node-vm-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows VM detection based on pafish

This addon wraps a copy of pafish for easy detection if you're running in a VM or not.

Currently the following features/vendors are supported:

  • basic CPU information
  • RDTSC timing attack
  • vmware
  • virtualbox
  • qemu
  • wine
  • sandboxie

Get started

This node addon only works on Windows for now. No effort is made to even attempt to support MacOS or Linux.

In order to compile this addon, you'll need the following:

  • Visual Studio 2017 or later
  • The windows visual C++ libraries
  • python
  • Node 12+ (prefer LTS versions over current and uneven releases)

From there, just run:

$ npm install
$ npm run build
$ npm run test

For more examples, take a look at test.js on how the API can be used.