Monday, 14 March 2011

windows Virtual Machines

Virtual machine(VM) as the name suggests is a software implementation of a programmable machine running inside another machine i.e an OS running inside another OS e.g. Linux running inside Windows. 
The Host machine on which the Virtual Machine Monitor/Software runs is called the Host Machine or Host OS and the Virtual Machine is called The Guest Machine or Guest OS.




Why Virtual Machines



There are a plenty of reasons why you want to run Virtual Machines..
  1. Very easy and less time consuming to set up.
  2. Can be used for testing and evaluating performance of some software on different OSes.
  3. Virtual Machines Supports Drivers
  4. Used for OS Debugging i.e Debugging of Operating System Code by itself.
As an example.

we downloaded a code or a Exploit's source code and wanted to test that, but we don't trust the author and wanted to know if its a Exploit or a Trojan.

What to do???

You can make virtual machine and test it. This would save a lot of time and need for extra hardware without damaging the real work environment OS.





How Virtual Machines Work?



The Virtual Machine Monitor(VMM) runs in Kernel Mode(The most Privileged mode) and exports hardware level abstractions to Guest OS using emulated hardware..Thus the Virtual Machine actually interacts with the virtual Hardware the same as it would with the real hardware...

A VMM supports many Oses because of multiplexing(several signals are combined into one).. And isolates all data of a VM through redirection...

The VM software must create Virtual Hardware Devices , such as Chipsets , Network cards etc...So as to handle the request of the Guest OS...

Each OS vendor has specific and different devices its product will emulate . The software then translates these emulated devices To a device that is present on the Physical Hardware.....

No comments:

Post a Comment