Is there a way for the guest operating system to find out what operating system is running on the VM host?
Nmap os fingerprinting perhaps? Or is there something less fancy?
Can a guest find out its host operating system?
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Can a guest find out its host operating system?
Hmmm... Quite an interesting question. My 0.02€ says that it should not, otherwise what would be the role of the abstraction layer? You can definitely identify if you are within a VM, just not sure if (let's say, in my case) you're running under OSX 10.6.8 or 10.7.5. Or is this too much info and simply a Win32 vs Win64 would do? If I may ask so, why???Emile wrote:Is there a way for the guest operating system to find out what operating system is running on the VM host?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Site Moderator
- Posts: 5229
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Can a guest find out its host operating system?
AFAIK this is not possible, as socratis said, being the whole point of the abstraction.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: Can a guest find out its host operating system?
Yes, for example with virt-what.socratis wrote:You can definitely identify if you are within a VM,
A simple Windows or Mac or Linux etc. would do.socratis wrote:Or is this too much info and simply a Win32 vs Win64 would do?
For the software project we're working on (Whonix), we believe some host operating systems aren't the right tool for several reasons. Detecting that inside the VM and information about that would be a nice improvement.socratis wrote:If I may ask so, why???
I was afraid there is no such way. Thank you for confirmation.noteirak wrote:AFAIK this is not possible, as socratis said, being the whole point of the abstraction.