Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Virtual PC

Vista - How to tell if app runs in virtual PC ?

Reply
 
Old 4 Weeks Ago   #1 (permalink)
Hotmail_H_


 
 

How to tell if app runs in virtual PC ?

Hi,

is it somehow possible an application to know whether it runs in a virtual
PC or on a 'normal' physically existing PC ?
What would be the best method to detect a virtual PC ?

thanks



My System SpecsSystem Spec
Old 4 Weeks Ago   #2 (permalink)
Bo Berglund


 
 

Re: How to tell if app runs in virtual PC ?

On Fri, 30 Oct 2009 23:29:47 +0200, "Hotmail_H_" <harpo_@newsgroup>
wrote:
Quote:

>Hi,
>
>is it somehow possible an application to know whether it runs in a virtual
>PC or on a 'normal' physically existing PC ?
>What would be the best method to detect a virtual PC ?
>
That is actually very difficult, but there are methods that might
work, at least for the majority of cases.
One is to use WMI calls to Windows and read things like the BIOS
name/version, the Disk maker etc.
For example if you ask for Win32_DiskDrive in a VMWare virtual machine
you will get this as Model: VMWare Virtual IDE Hard Drive
Win32_BIOS reports: VMWare + a long string of hex code

This is a clue to the fact that you are running in a virtual machine.

There are also other ways, for example you can get a more direct way
of detection by reading this:
http://www.invisiblethings.org/papers/redpill.html

I used this and made a detection application that properly detects
both VPC2007 and VMWare Workstation guests.

--

Bo Berglund (Sweden)
My System SpecsSystem Spec
Old 4 Weeks Ago   #3 (permalink)
VanguardLH


 
 

Re: How to tell if app runs in virtual PC ?

Hotmail_H_ wrote:
Quote:

> is it somehow possible an application to know whether it runs in a virtual
> PC or on a 'normal' physically existing PC ?
> What would be the best method to detect a virtual PC ?
Yes, a process can detect if it is running in VirtualPC. While VMs make
good platforms to test untrusted software, some malware can detect they
are running inside a VM, a sandbox, or under reduced permissions (which
are not defined in the OS but instead by other security software, like
GeSWall). They can then choose to remain quiescent to not expose
themselves. So you don't see the pest engage in its activity inside the
VM but once it is outside and on your host OS then its activates. There
isn't a lot of malware that detects if it is running inside a VM but
there is some.

http://taviso.decsystem.org/virtsec.pdf
http://www.seclab.tuwien.ac.at/papers/detection.pdf
http://www.eecs.umich.edu/virtual/papers/king06.pdf

VMs are primarily designed for isolation. They provide good
anti-malware protection when testing unknown software but they are not
perfect protection. Same pretty much goes for all security software.
If the security software completely prohibited the introduction of
malware, the host would be unusable to you as a general-purpose
computing platform.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Vista Home Premium .. Can't install Virtual Server.. so how do Iautomatically start a Virtual PC without a login? Virtual PC
Can we run ESX Server on a virtual machine that runs on Hyper V Virtual Server
computer updates runs reboots and runs again help Windows Updates
How To: Windows Performance Monitor Virtual Switch Port instance IDto Virtual NIC or VM Virtual Server
CHKDSK runs and runs... General Discussion


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46