Skip to content

Inspect-Element-Ltd/vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VM Detect

Simple Go library to detect virtual machines.

Usage

go get github.com/Inspect-Element-Ltd/vm
import (
    "fmt"
    "github.com/Inspect-Element-Ltd/vm/vmdetect"
)

vm, vendor, reason := vmdetect.Check()
if vm {
    fmt.Printf("Detected VM (Vendor: %s, Reason: %s)", vendor, reason)
}

TODO

  • Linux support
  • Clean up the horrible code in mac_reg.go

Credits

Heavily inspired by VM-Detection by ShellCode33. Most, if not all, of the Windows code is from VM-Detection but with some detections removed, our use-case doesn't want to flag a system with Sandbox tools installed as a VM.

About

Cross-platform library for detecting virtual machines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages