Detecting Virtual Machine using Java 03-17-2014, 12:01 AM
#1
Hello there, I'm new on this forum and that will be my first thread here ^^
Do you have in mind any way to detect if the Java Application is running inside a Virtual Machine?
I could as well code using languages for Windows, Mac, Linux and run using JNI, but that'd be a lot of work.
But what's the principle of detecting the Virtual Machine?
From my studies, the windows has some non used input op-codes that are reused by the Virtual Machine,
so if by using those op-codes no error is returned, means that the software is running inside a Virtual Machine environment?
There's a process which is always being executed on VMWare and PC Box?
Thanks.
Do you have in mind any way to detect if the Java Application is running inside a Virtual Machine?
I could as well code using languages for Windows, Mac, Linux and run using JNI, but that'd be a lot of work.
But what's the principle of detecting the Virtual Machine?
From my studies, the windows has some non used input op-codes that are reused by the Virtual Machine,
so if by using those op-codes no error is returned, means that the software is running inside a Virtual Machine environment?
There's a process which is always being executed on VMWare and PC Box?
Thanks.
(This post was last modified: 03-17-2014, 12:02 AM by v33x.)

![[+]](https://sinister.li/images/modern/collapse_collapsed.png)
![[Image: 2YpkRjy.png]](http://i.imgur.com/2YpkRjy.png)
![[Image: OilyCostlyEwe.gif]](http://fat.gfycat.com/OilyCostlyEwe.gif)