Changing the hardware ID
Changing the hardware ID
Hi,
Several times it happened that I could not run any program due to the fact that the program has detected that it is running on a virtual machine.
Information in DMI (does not work)
How can I change the information:
CPU Type: Unknown, 1733 MHz
Motherboard Name: VirtualBox Virtual Platform
Motherboard Chipset: Intel Natoma 82440FX
BIOS Type: VirtualBox Virtual (06/23/99)
Video Adapter: VirtualBox Graphics Adapter (32 MB)
Disk Drive: VBOX HARDDISK ATA Device (25 GB, IDE)
Optical Drive: VBOX CD-ROM ATA Device (Virtual CD-ROM)
Motherboard ID: <VBox>
Everything is marked in red can somehow change?
Several times it happened that I could not run any program due to the fact that the program has detected that it is running on a virtual machine.
Information in DMI (does not work)
How can I change the information:
CPU Type: Unknown, 1733 MHz
Motherboard Name: VirtualBox Virtual Platform
Motherboard Chipset: Intel Natoma 82440FX
BIOS Type: VirtualBox Virtual (06/23/99)
Video Adapter: VirtualBox Graphics Adapter (32 MB)
Disk Drive: VBOX HARDDISK ATA Device (25 GB, IDE)
Optical Drive: VBOX CD-ROM ATA Device (Virtual CD-ROM)
Motherboard ID: <VBox>
Everything is marked in red can somehow change?
-
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: just about all that run
Re: Changing the hardware ID
No. There are a few programs that won't run in a virtual machine.Pavlinka wrote: …
Everything is marked in red can somehow change?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: Changing the hardware ID
When these values cannot be changed...
Is there a way to disable the hardware information search for a specific software?
Is there a way to disable the hardware information search for a specific software?
-
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: just about all that run
Re: Changing the hardware ID
Not that I know of.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: Changing the hardware ID
Where information is stored, for example, Motherboard ID: <VBox>
I'll try to forcibly change these values...
I'll try to forcibly change these values...
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Changing the hardware ID
You can find some information how to change the DMI information in this thread.
Re: Changing the hardware ID
Martin: Read more write less
Information in DMI (does not work)
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Changing the hardware ID
I don't now how I could write less
If changing the DMI information is not enough, your application is too clever in finding out that it runs in a VM
Of course you could search through the source code to find out where the other information is defined and change it in a self compiled version of Vbox, but I don't think that this would be enough to keep the application from detecting a VM.
If changing the DMI information is not enough, your application is too clever in finding out that it runs in a VM
Of course you could search through the source code to find out where the other information is defined and change it in a self compiled version of Vbox, but I don't think that this would be enough to keep the application from detecting a VM.
Re: Changing the hardware ID
My question remains the same where information is stored (File) "Motherboard ID: <VBox>"
-
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: just about all that run
Re: Changing the hardware ID
The phrase "beating a dead horse" comes to mind.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Changing the hardware ID
The name of VirtualBox devices is stored in the VirtualBox source code.
Speaking as a software developer myself, none of the things you mention would prevent me from detecting that I'm running in a VM. A simple latency test is trivial and almost impossible for a VM to defeat.
Speaking as a software developer myself, none of the things you mention would prevent me from detecting that I'm running in a VM. A simple latency test is trivial and almost impossible for a VM to defeat.
Re: Changing the hardware ID
mpack: I do not understand what you mean...
Like when I change it will not work anyway?
Like when I change it will not work anyway?
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Changing the hardware ID
Yes, I'm saying that the things you are looking at will only solve your problem if the developer was an idiot.
We have a scenario in which a developer specifically tests for being run inside a VM. Do you seriously suppose that he didn't consider what you might do to circumvent his check? Don't you suppose he'd choose a test that you couldn't circumvent? It isn't as if such tests are hard to think of: e.g. reject any platform where there is legacy hardware (like an old network card) combined with a modern CPU. Or, do a latency test, i.e. measure the average response time to some event. VMs will always have higher latency than real hardware.
I probably wouldn't check for "VBOX VGA ADAPTER" etc (a) because I know that string can change, (b) I want a test that works for all VM platforms, not just VirtualBox, and (c) because, as mentioned, I already implemented a simpler and more robust test.
We have a scenario in which a developer specifically tests for being run inside a VM. Do you seriously suppose that he didn't consider what you might do to circumvent his check? Don't you suppose he'd choose a test that you couldn't circumvent? It isn't as if such tests are hard to think of: e.g. reject any platform where there is legacy hardware (like an old network card) combined with a modern CPU. Or, do a latency test, i.e. measure the average response time to some event. VMs will always have higher latency than real hardware.
I probably wouldn't check for "VBOX VGA ADAPTER" etc (a) because I know that string can change, (b) I want a test that works for all VM platforms, not just VirtualBox, and (c) because, as mentioned, I already implemented a simpler and more robust test.