Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: xp in Virtualbox

  1. #1
    Join Date
    Feb 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    xp in Virtualbox

    Am I correct in my assumption that running Xp in VirtualBox, in a default Ubuntu install, affords xp the same levels of security as Ubuntu? If not can anyone link an article that explains why not? Cheers

  2. #2
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: xp in Virtualbox

    I don't get what you mean to ask.

  3. #3
    Join Date
    Feb 2007
    Location
    Ireland
    Beans
    24
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: xp in Virtualbox

    Naaa, you do not get the protection of Ubuntu.

    The problem is that when you run any OS inside a Virtual Environment, it runs just like the OS would on a actual machine, the Virtual Environment gives it access to the actual hardware of your system using Virtualisation (http://en.wikipedia.org/wiki/Virtualisation).

    So if the OS you are running in virtual box gets a virus, or is compromised in any manner , it is compromised the same way as it is working as an install on your machine.

    However, the best thing is that you can keep a copy of your virtual OS and restore it if anything happens, and then secure it from stuff happening to it in the future. Saves you having to reinstall the OS every time.

    I am running, Windows Server 2008, Windows XP , Dam Small Linux and and Open Solaris in Virtual Box, when I am using them I always assume I need to protect them the same way as I would protect the OS if it was natively installed (i.e on a hard drive partition or a whole hard drive). The comfort comes in the fact that I can just copy back the OS image file from a backup if anything goes wrong.

    I hope this goes some way to answer your question.

  4. #4
    Join Date
    Nov 2007
    Location
    Atlanta, Georgia
    Beans
    494
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: xp in Virtualbox

    Quote Originally Posted by y2kprawn View Post
    Naaa, you do not get the protection of Ubuntu.

    The problem is that when you run any OS inside a Virtual Environment, it runs just like the OS would on a actual machine, the Virtual Environment gives it access to the actual hardware of your system using Virtualisation (http://en.wikipedia.org/wiki/Virtualisation).

    So if the OS you are running in virtual box gets a virus, or is compromised in any manner , it is compromised the same way as it is working as an install on your machine.

    However, the best thing is that you can keep a copy of your virtual OS and restore it if anything happens, and then secure it from stuff happening to it in the future. Saves you having to reinstall the OS every time.

    I am running, Windows Server 2008, Windows XP , Dam Small Linux and and Open Solaris in Virtual Box, when I am using them I always assume I need to protect them the same way as I would protect the OS if it was natively installed (i.e on a hard drive partition or a whole hard drive). The comfort comes in the fact that I can just copy back the OS image file from a backup if anything goes wrong.

    I hope this goes some way to answer your question.
    I second this statement.
    GNU/Linux>Windows

  5. #5
    Join Date
    Feb 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: xp in Virtualbox

    Thankyou for your replies. I meant to ask if the networking aspect of xp is more secure. I have not had the time to read up on network security, but I was under the impression that Ubuntu keeps ports closed by default. Does XP have the ability to open whichever ports it wants via the virtual machine? If it can, does this comprimise Ubuntu in anyway?

  6. #6
    Join Date
    May 2007
    Beans
    7,032
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: xp in Virtualbox

    Running XP in Virtualbox is really no different from running it on a physical machine. The main difference is that you can make system "snapshots," and use these to undo any damage that may have been done. If you wanted, you could use a safe snapshot every time you reboot the virtual machine.
    I am aware of all internet traditions. | Getting the best help | Text formatting codes | My last.fm profile
    Should I PM support questions? NO!

  7. #7
    Join Date
    Feb 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: xp in Virtualbox

    yes that is a great advantage to using a virtualmachine.

    If I understand you correctly, Xp running in the virtual machine makes Ubuntu less secure because it can open whichever ports it likes, (aka "is really no different from running it on a physical machine").

    I understand that running a firewall in Ubuntu would probably prevent Xp from opening random ports. Is it possible to simulate a hardware firewall between virtualbox and the kernel? I would like to choose which ports xp is alowed to open, without having to limit Ubuntu.

  8. #8
    Join Date
    May 2007
    Beans
    7,032
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: xp in Virtualbox

    You can run Firestarter to block commonly-exploited ports. Firestarter is a configuration utility for IPtables, a Linux kernel module that is widely used by hardware firewalls. You can also, of course, learn the IPtables command-line, and do it yourself.

    I'd also suggest just turning off a lot of the automatic services that Windows runs. You don't always need these for a "real" computer, and many of them are completely pointless in a virtual machine (e.g., zeroconf wireless). Not only will this make the VM more secure, but it will improve performance.
    I am aware of all internet traditions. | Getting the best help | Text formatting codes | My last.fm profile
    Should I PM support questions? NO!

  9. #9
    Join Date
    Feb 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: xp in Virtualbox

    The problem with using Firestarter is that it will also limit the ports that the host os Gutsy will be able to use. I want to lock xp down tight, just leaving the online poker ports and the basics. If i used firestarter I would no longer be able to use pop email or ftp etc.. I had assumed that virtualbox would have a configuration utility to allow ports to be blocked between the host and guest. I have had no luck with google.

  10. #10
    Join Date
    Feb 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: xp in Virtualbox

    i found this http://home.nyc.rr.com/computertaijutsu/vboxbridge.html which has answered my questions. Cheers.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •