LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-28-2010, 02:13 AM   #1
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
Safe to run Windows(r) in Virtualbox?


I'm planning on running Windows in a VM for the purpose of playing
some game (what else). In the past I have experienced Windows
_arbitrarily_ writing to disks which it has no business touching.
IIRC, Windows will write some BS code to a USB stick if only you
just stick it in there.
I have several encrypted partitions spanning a few disks which I'd
like if Windows didn't even know about. I can't risk Windows messing
up those partitions by scribbling some crap about how "this disk is
not yet formatted" or something right on the disk itself.

I have been googling this for a couple days, and the best I can come
up with is a couple anecdotal references about Windows writing to
the MBR of a HDD even if you don't tell it to do so.

Does anyone have experience with this or able to advise?
Many Thanks,
 
Old 09-28-2010, 02:57 AM   #2
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
Hi there,

From my experience, you allow Windows a certain amount of disk space, within a partition, as a VM. It will not have access to anything more than that, unless specified from your Linux server, and mounted in the Windows VM.

I would say go for it, I don't believe it can harm anything.

Cheers
 
Old 09-28-2010, 03:00 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
In the VM you give Windows its own virtual harddisk. It does not see your real hardware. So it should be absolutely safe.
 
Old 09-28-2010, 05:10 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
To some degree you could expose one to the other. First is how you enable networking. It would be as any networked computer. Same degree of exposure. Second is the way VM's allow more integration with the host. They may call it vmtools or other words. That may allow direct access to folders and other ways to transfer any worm or virus.

If one were to disable the network at the construction of the machine and one were to not install tools and one had new VM support in cpu and bios it would be as secure as it could be. The last is sometimes a bios choice. It prevents or tries to prevent any execution in similar spaces. I forget what AMD calls it. Pretty sure intel has similar word.

I use VM's all the time. I consider them secure and safe if one knows how to configure them on supported hardware. I think they all warn about shared folders.

Last edited by jefro; 09-28-2010 at 05:13 PM.
 
1 members found this post helpful.
Old 09-28-2010, 05:39 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
I don't use shared folders, so I don't know. Of course, if you install Windows in a VM and connect it to the Internet you should have protections like antivirus software installed on the Windows. But I don't see the point how a windows virus could damage his linux-box. And I doubt, that a Windows in a VM will see his encrypted drives or alter the MBR over the network connection, or even shared folders.
 
Old 09-28-2010, 07:57 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
I assume there are 300 million crooks out there.
I assume there are 60 million hackers out there that are "just as" to "way smarter" than I am.

But most of all I don't trust them.

If you want secure then plan for it.
 
Old 09-28-2010, 08:13 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Its OK to look for security. But sometimes one can become too paranoid.
But every one must handle this himself.
 
Old 09-29-2010, 04:31 AM   #8
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Original Poster
Rep: Reputation: 242Reputation: 242Reputation: 242
Thanks for all the replies!

I think jefro is right there is always the chance for some exposure
depending on your configurations. For example, I will need Windows
to see the CDROM drive, and use it to install things. I don't know.
I just think I can't trust it. It's not virus or any malware I worry
about, just Windows "accidentally/incidentally" writing to hard drives
and messing up the data there by thinking it's a not-formatted HDD.
Thanks again all!
 
Old 09-29-2010, 06:58 AM   #9
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
The VM for Windows can be configured without access to any of the host's file systems and without networking -- it can be set up as an isolated "sandbox". If you need to attach a CD or DVD to the VM then Windows cannot write to it unless it is writeable. If you attach a USB stick to the VM then Windows can do to the USB stick exactly what a Windows system running on real hardware can do to a USB stick.
 
1 members found this post helpful.
  


Reply



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Run Puppy 5.0 on windows business PCs for non-business internet-Safe against viruses? smfinchmd Linux - Newbie 6 07-28-2010 03:20 AM
[SOLVED] Safe VirtualBox Download? linuxishard Linux - Software 10 07-17-2010 10:22 PM
Cant run Safe Gnome on Ubuntu 8.04 Server CharlieBigley Linux - Newbie 4 11-09-2009 12:18 PM
[SOLVED] Safe mode, it that the same as run level 1 ? crusader7 Slackware 6 07-13-2009 02:29 PM
Safe to run KDE apps in GNOME? hondo Linux - General 6 01-06-2008 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration