Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

The Question:
Are there any major security risks I should be concerned about, caused by installing Windows Server 2008 R2 onto a Linux Host in VirtualBox?

I run an Ubuntu box, with a fully-secured iptables setup, which blocks all external traffic except for one or two ports which run an OpenSSH server (which requires key-based authentication only), but am curious as to whether any other security risks are apparent which I should be concerned about.

Info about use of the Windows Server 2008 setup:
This is a dev environment, being set up for SharePoint Foundations, along with full SQL Server 2008 (latest version). Myself and two other machines on my network (which are also owned by me) would be accessing the system from an internal network. No external internet access is necessary, but internal network access is (already handled by an iptables rule to allow connections into the host machine)

share|improve this question
    
In a production environment? Dev environment? What is 2008 hosting? Who would be accessing it? –  Steve Jul 27 '11 at 17:53
    
@SteveS Updated question to include answers. –  Thomas W. Jul 27 '11 at 17:57

2 Answers 2

up vote 4 down vote accepted

Chris is basically there I think.

In my opinion, the best way to treat virtual machines is to not think of them as virtual machines but actual physical computers, with the advantage of being able to image them faster. Ask yourself if you installed another physical windows box on your local LAN what problems it would introduce. Consider that it needs the same defences.

The reason for this is that the temptation is to trust all network communications from a VM and think "it's a VM, so it is secure". Provided you realise you need some level of protection for the VM too as it can attack your host and your host can attack it if either is exploited, mostly, you should be fine.

There is current research into red pill techniques, as in "escaping the matrix". The idea is that if you can exploit a bug in the virtualisation hardware/software from the guest you might be able to exploit the host. Right now, I don't think that is much more than a research/theoretical/lab conditions issue, but I expect given the sheer amount of virtualisation going on, it will eventually be something we have to contend with.

I and others have answered some other points on the question of using virtual machines as a security measure for desktops, which might also interest you.

share|improve this answer
    
Upvotes to both of ya, but because you went into a bunch more detail, Ninefingers, I'm marking your answer as accepted. Thanks for the response. –  Thomas W. Aug 1 '11 at 19:16

In theory anything that adds attack surface is a risk. You're adding attack surface - so adding risk. As you're only accessing the Windows machine from the internal network, the risk is reduced. Your biggest enemy will be viruses that propagate on the LAN from one infected host to another. Unless you start webbrowsing from the Windows server, then you're opening a whole new box of risks.

share|improve this answer
1  
Why would a sharepoint server get a virus? If you did, I'd say you're doing it wrong. Also, I think you may be confused between "virus" and "worm". But still, +1 for the first half of the answer - adding risk by increasing attack surface is really the only answer. –  AviD Jul 27 '11 at 21:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.