Wilders Security Forums  

Go Back   Wilders Security Forums > Software, Hardware and General Services > sandboxing & virtualization
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old March 6th, 2012, 10:40 AM
berryracer's Avatar
berryracer berryracer is offline
Very Frequent Poster
 
Join Date: Jan 2008
Location: Dubai, UAE
Posts: 1,640
Question Need help setting up a Virtual Box for an OS

I am a n00b at this..

What I want to do is... setup a Virtual OS to run and test some software that will be totally independednt of my current os which is Window 7 Home Premium 64-Bit so that my current OS is not touched in any way and I dont catch any viruses....

1) What software do I need to do this and install that Virtual OS? (I will be installing Windows XP on the virtual machine)

2) How to do it?? I have no clue how this works

3) Will I be safe incase a virus hits that virtual OS? Will my current Windows 7 be totally independednt and not affected by any virus on that new virtual OS incase it gets infected?
__________________
ASUS G75VW-T1086V
CPU: i7-3610QM 2.30/3.30 GHz.
Memory: 16 GB DDR3 1600 Mhz. RAM
Storage: 256GB SSD + 1TB HDD
Graphics: GeForce GTX 670M 3GB
Screen: 17.3' Full HD LED Screen
  #2  
Old March 6th, 2012, 11:31 AM
Victek123's Avatar
Victek123 Victek123 is offline
Very Frequent Poster
 
Join Date: Nov 2007
Location: USA
Posts: 2,722
Default Re: Need help setting up a Virtual Box for an OS

I use Oracle Virtual Box - it's free and works just fine. First install VB. Then run VB and create a Virtual Machine (VM). Last install the OS in the VM. Note that when you create the VM make it large enough as the size cannot be changed afterward (other parameters, such as memory and cpu cores can be changed going forward).

Virtual Box will run better if there is hardware support in the BIOS. Check the BIOS and turn on Virtualization if the option is available.

The OS in the VM will need its own security software. It is largely isolated from the Host OS, but there is interaction such as file sharing so you still have to be careful.

Give it go and post back if you get stuck.
__________________
ut quod ego verus est maioribus quam ut quod est sanctus
  #3  
Old March 6th, 2012, 01:49 PM
berryracer's Avatar
berryracer berryracer is offline
Very Frequent Poster
 
Join Date: Jan 2008
Location: Dubai, UAE
Posts: 1,640
Default Re: Need help setting up a Virtual Box for an OS

Thanks for getting me started bro! Ill do that

and yes in BIOS I have Virtualization enabled
__________________
ASUS G75VW-T1086V
CPU: i7-3610QM 2.30/3.30 GHz.
Memory: 16 GB DDR3 1600 Mhz. RAM
Storage: 256GB SSD + 1TB HDD
Graphics: GeForce GTX 670M 3GB
Screen: 17.3' Full HD LED Screen
  #4  
Old March 6th, 2012, 05:41 PM
berryracer's Avatar
berryracer berryracer is offline
Very Frequent Poster
 
Join Date: Jan 2008
Location: Dubai, UAE
Posts: 1,640
Default Re: Need help setting up a Virtual Box for an OS

Just installed XP in VirtualBox and I only have access to C:\ in XP, which is good!

I dont see how can a trojan/virus which infects my XP, affect my local files and my Windows 7 since there is no access to that drive in XP


please correct me if Im wrong
__________________
ASUS G75VW-T1086V
CPU: i7-3610QM 2.30/3.30 GHz.
Memory: 16 GB DDR3 1600 Mhz. RAM
Storage: 256GB SSD + 1TB HDD
Graphics: GeForce GTX 670M 3GB
Screen: 17.3' Full HD LED Screen
  #5  
Old March 6th, 2012, 06:11 PM
lodore lodore is offline
Incredibly Massive Poster
 
Join Date: Jun 2006
Posts: 8,876
Default Re: Need help setting up a Virtual Box for an OS

Quote:
Originally Posted by berryracer
Just installed XP in VirtualBox and I only have access to C:\ in XP, which is good!

I dont see how can a trojan/virus which infects my XP, affect my local files and my Windows 7 since there is no access to that drive in XP


please correct me if Im wrong
Hello,
It is possible for malware in a virtual machine to infect the host but its unlikely.
If you setup file sharing to the host and the malware was executed on the host it would infect the host. So dont enable file sharing to the host.

If a vulnerability existed in virtualbox and the malware knew how to exploit the vulnerability then it could infect the host.
__________________
useful tools:cure it SAS Hitman Pro mbam KL Eset windows defender offline Sophos

Last edited by lodore : March 6th, 2012 at 06:16 PM.
  #6  
Old March 6th, 2012, 06:49 PM
berryracer's Avatar
berryracer berryracer is offline
Very Frequent Poster
 
Join Date: Jan 2008
Location: Dubai, UAE
Posts: 1,640
Default Re: Need help setting up a Virtual Box for an OS

Quote:
Originally Posted by lodore
Hello,
It is possible for malware in a virtual machine to infect the host but its unlikely.
If you setup file sharing to the host and the malware was executed on the host it would infect the host. So dont enable file sharing to the host.

If a vulnerability existed in virtualbox and the malware knew how to exploit the vulnerability then it could infect the host.

Right, but what if the Host (which is my Windows 7 Pro 64 bit) is running Kaspersky Internet Security 2012 FTW + MBAM PRO ?? Im safe I guess right?
__________________
ASUS G75VW-T1086V
CPU: i7-3610QM 2.30/3.30 GHz.
Memory: 16 GB DDR3 1600 Mhz. RAM
Storage: 256GB SSD + 1TB HDD
Graphics: GeForce GTX 670M 3GB
Screen: 17.3' Full HD LED Screen
  #7  
Old March 6th, 2012, 10:11 PM
Victek123's Avatar
Victek123 Victek123 is offline
Very Frequent Poster
 
Join Date: Nov 2007
Location: USA
Posts: 2,722
Default Re: Need help setting up a Virtual Box for an OS

Quote:
Originally Posted by berryracer
Right, but what if the Host (which is my Windows 7 Pro 64 bit) is running Kaspersky Internet Security 2012 FTW + MBAM PRO ?? Im safe I guess right?

Relatively speaking you're very safe. We're just pointing out that a virtual machine is not perfectly isolated. As lodore said, just don't enable file sharing between the guest and host and you should be fine.

Are you intending to use the VM to throw malware at security software?
__________________
ut quod ego verus est maioribus quam ut quod est sanctus
  #8  
Old March 6th, 2012, 10:23 PM
berryracer's Avatar
berryracer berryracer is offline
Very Frequent Poster
 
Join Date: Jan 2008
Location: Dubai, UAE
Posts: 1,640
Thumbs up Re: Need help setting up a Virtual Box for an OS

Quote:
Originally Posted by Victek123
Are you intending to use the VM to throw malware at security software?

You hit the nail on the head

Thanks a lot for the quick responses guys! I've setup Windows XP Pro isolated on the VM
__________________
ASUS G75VW-T1086V
CPU: i7-3610QM 2.30/3.30 GHz.
Memory: 16 GB DDR3 1600 Mhz. RAM
Storage: 256GB SSD + 1TB HDD
Graphics: GeForce GTX 670M 3GB
Screen: 17.3' Full HD LED Screen
  #9  
Old March 6th, 2012, 10:37 PM
Victek123's Avatar
Victek123 Victek123 is offline
Very Frequent Poster
 
Join Date: Nov 2007
Location: USA
Posts: 2,722
Default Re: Need help setting up a Virtual Box for an OS

Quote:
Originally Posted by berryracer
You hit the nail on the head

Thanks a lot for the quick responses guys! I've setup Windows XP Pro isolated on the VM

You're welcome. Good luck with your tests. Here's a thread that you may find interesting.

http://www.wilderssecurity.com/showt...guest+security
__________________
ut quod ego verus est maioribus quam ut quod est sanctus
  #10  
Old March 7th, 2012, 08:21 AM
treehouse786's Avatar
treehouse786 treehouse786 is offline
Very Frequent Poster
 
Join Date: Jun 2010
Location: Lancashire
Posts: 1,050
Default Re: Need help setting up a Virtual Box for an OS

Quote:
Originally Posted by lodore
If you setup file sharing to the host and the malware was executed on the host it would infect the host. So dont enable file sharing to the host.
this

very important
__________________
Active@ Disk Image | 10 On-Demand Scanners

  #11  
Old March 7th, 2012, 02:54 PM
kjdemuth's Avatar
kjdemuth kjdemuth is offline
Very Frequent Poster
 
Join Date: Jul 2005
Location: Boston, MA
Posts: 2,349
Default Re: Need help setting up a Virtual Box for an OS

I have my host system running in shadow mode and appguard running in lock down. If something gets through that, It must be nasty.
__________________
Realtime:
WSA AV (Maxed Settings), Sandboxie Paid ( Dropmyrights and Browsers sandboxed) Lifetime license, NVT EXE Radar Pro (Lockdown mode). K9 Web protection. (malware, phishing and HTTPS force) Norton DNS.
On-Demand:
MBAM+EAM
Hitman pro (Scans daily)
  #12  
Old May 6th, 2012, 09:11 AM
Ashanta Ashanta is offline
Frequent Poster
 
Join Date: Aug 2007
Location: Europe
Posts: 417
Default Re: Need help setting up a Virtual Box for an OS

Is it possible with VB or VM ware to virtualize our current OS without installing a new OS ?
__________________
Realtime
AppGuard + Private Firewall + Exploit Shield free version

On Demand:
Shadow Defender, Hitman Pro 3.7, TDS Killer, Vba32 Anti-Rootkit, Rogue Killer, Combofix
  #13  
Old May 6th, 2012, 09:25 AM
Seer's Avatar
Seer Seer is offline
Very Frequent Poster
 
Join Date: Feb 2007
Location: Singidunum
Posts: 1,578
Default Re: Need help setting up a Virtual Box for an OS

Quote:
Originally Posted by Ashanta
Is it possible with VB or VM ware to virtualize our current OS without installing a new OS ?

-http://www.vmware.com/products/converter

Starter (standard) edition is free of charge.
__________________
Nick
  #14  
Old May 6th, 2012, 04:57 PM
Ashanta Ashanta is offline
Frequent Poster
 
Join Date: Aug 2007
Location: Europe
Posts: 417
Default Re: Need help setting up a Virtual Box for an OS

Thanks Seer, but what I wan't is to virtualize my laptop from himself, not from a distant machine.

Any others programs ?
__________________
Realtime
AppGuard + Private Firewall + Exploit Shield free version

On Demand:
Shadow Defender, Hitman Pro 3.7, TDS Killer, Vba32 Anti-Rootkit, Rogue Killer, Combofix
  #15  
Old May 7th, 2012, 10:14 AM
Victek123's Avatar
Victek123 Victek123 is offline
Very Frequent Poster
 
Join Date: Nov 2007
Location: USA
Posts: 2,722
Default Re: Need help setting up a Virtual Box for an OS

Quote:
Originally Posted by Ashanta
Thanks Seer, but what I wan't is to virtualize my laptop from himself, not from a distant machine.

Any others programs ?

It's not clear what you're wanting to do, but maybe this will help:

http://www.addictivetips.com/windows...ox-virtual-pc/
  #16  
Old May 7th, 2012, 06:32 PM
Ashanta Ashanta is offline
Frequent Poster
 
Join Date: Aug 2007
Location: Europe
Posts: 417
Default Re: Need help setting up a Virtual Box for an OS

Quote:
Originally Posted by Victek123
It's not clear what you're wanting to do, but maybe this will help:

http://www.addictivetips.com/windows...ox-virtual-pc/

Thanks for the link !

What I want is to virtualize my laptop (with all my programs) to test programs without damage my HD. I've been alredy tried Rollback Rx. But I want to try this time, a real virtualization program.

According to what I read before on this post, VirtualBox is not the one I need, because one of the requisite is to install a new OS before running the virtual machine.

VM Converter seems good to convert my machine into a virtual, but the link you gave me, told that I need also one of the following programs, VMware Workstation, VMware Player, VMware Server or VMware Fusion. So, two programs are needed to create a virtual machine of my laptop.
__________________
Realtime
AppGuard + Private Firewall + Exploit Shield free version

On Demand:
Shadow Defender, Hitman Pro 3.7, TDS Killer, Vba32 Anti-Rootkit, Rogue Killer, Combofix
  #17  
Old May 7th, 2012, 07:31 PM
Victek123's Avatar
Victek123 Victek123 is offline
Very Frequent Poster
 
Join Date: Nov 2007
Location: USA
Posts: 2,722
Default Re: Need help setting up a Virtual Box for an OS

Quote:
Originally Posted by Ashanta
Thanks for the link !

According to what I read before on this post, VirtualBox is not the one I need, because one of the requisite is to install a new OS before running the virtual machine.

VM Converter seems good to convert my machine into a virtual, but the link you gave me, told that I need also one of the following programs, VMware Workstation, VMware Player, VMware Server or VMware Fusion. So, two programs are needed to create a virtual machine of my laptop.

You need one program to convert your current OS into a virtual machine. Then you need one of the others as the container to run the virtual machine in. What you would do is boot your computer, start Virtual Box or VMware Player, and then run the virtual machine. Basically, you would be running a copy of your OS (a guest) inside your OS (the Host).
  #18  
Old May 8th, 2012, 02:41 PM
Ashanta Ashanta is offline
Frequent Poster
 
Join Date: Aug 2007
Location: Europe
Posts: 417
Default Re: Need help setting up a Virtual Box for an OS

Big thanks Victek !

All in all, it will take a lot of space on my HD, to run my laptop as virtual machine as my OS will be on my HD and on my virtual machine.

So, I would need to think about alternative programs to Rollback Rx (instant recovery programs).
__________________
Realtime
AppGuard + Private Firewall + Exploit Shield free version

On Demand:
Shadow Defender, Hitman Pro 3.7, TDS Killer, Vba32 Anti-Rootkit, Rogue Killer, Combofix
  #19  
Old May 9th, 2012, 07:24 PM
Victek123's Avatar
Victek123 Victek123 is offline
Very Frequent Poster
 
Join Date: Nov 2007
Location: USA
Posts: 2,722
Default Re: Need help setting up a Virtual Box for an OS

Quote:
Originally Posted by Ashanta
Big thanks Victek !

All in all, it will take a lot of space on my HD, to run my laptop as virtual machine as my OS will be on my HD and on my virtual machine.

So, I would need to think about alternative programs to Rollback Rx (instant recovery programs).

Yes, you would want to shrink the virtual machine quite a bit - that's doable but I don't know of any software that automates it. Someone else here may have a suggestion.

Using a program like Rollback Rx would certainly be easier.
 

Wilders Security Forums > Software, Hardware and General Services > sandboxing & virtualization « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:39 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums