Page 1 of 1
(Un)Detecting virtualized OS
Posted: 24. Nov 2016, 03:35
by massula
Hi all!
So, VirtualBox and other hypervisors change some characteristics of the guest system (I'm talking specifically about Windows), like Manufacturer, Model and so on.
And some programs can detect this, and can change their normal behavior, or even not work at all.
I'm wondering if is possible mask these system parameters, making the guest looks like a bare metal install, preventing these programs to know they are running inside an virtualized OS.
Hints?
Re: (Un)Detecting virtualized OS
Posted: 24. Nov 2016, 03:39
by socratis
The answer is simple: No.
Several like you have had this idea before. It can't be done if a program does not want to run in a virtual machine. Search these forums for similar answers/attempts. It's not a matter of how, it's a matter of no way.
There are some parameters that you can change, but not the fact that you're inside a VM.
Re: (Un)Detecting virtualized OS
Posted: 24. Nov 2016, 03:46
by massula
Thanks, Socratis.
I've searched the forums, but didn't found any answer about this specific topic.
I will take a look again.
Re: (Un)Detecting virtualized OS
Posted: 24. Nov 2016, 03:48
by socratis
You can also take a look at Ch. 9.12 of the
user manual: Configuring the BIOS DMI information.
Re: (Un)Detecting virtualized OS
Posted: 24. Nov 2016, 03:53
by massula
Good tip! I will try something from there.
Thanks again!
Re: (Un)Detecting virtualized OS
Posted: 24. Nov 2016, 11:22
by mpack
Configuring the BIOS DMI information will be pointless. Applications which specifically test if they are running in a VM obviously know about VMs and know that the DMI information is fake by definition. It will rely on detection methods that can't be faked, such as latency, presence of legacy devices, modern CPUs with fewer than expected cores, processor features not available etc.
Re: (Un)Detecting virtualized OS
Posted: 24. Nov 2016, 12:16
by socratis
Yeap, I already told the OP that if the programmer doesn't want you to run in a VM, you won't run in a VM. Period. I even remember that a coupon-printing software caught wind of that and it doesn't allow it anymore...