Hacking into guest OS files

Discussions about using Linux guests in VirtualBox.
Post Reply
newSara
Posts: 4
Joined: 21. Dec 2012, 19:56

Hacking into guest OS files

Post by newSara »

I have exported an ova file to be used on multiple machines. The ova is an appliance that has Ubuntu, apache, mysql and my application is installed on var/www.
If a user gets access to the ova file and imports it using virtual box, can he by any means break-in to access my source files in var-www within the image?
I understand that after importing, only the attributes of the image can be modified, but there will be no access into the OS and application installed within the image. Pl clarify.

There is a level of security in the guest OS itself, I dont give root access to the users of the appliance when they log in to guest ubuntu itself. Want to make sure , there is no other way to hack into the source files within my app in var-www?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Hacking into guest OS files

Post by noteirak »

Simply consider the ova file like a hard drive with some stickers on it.
If you give a hard drive, and boot it, you'll get the system back, with the appropriate permissions, etc.
But nothing stops someone from not booting your OS and boot its own OS instead and directly read the content of the drive and ignoring permissions.
There is no difference between virtualbox and a real hard drive on this matter.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
newSara
Posts: 4
Joined: 21. Dec 2012, 19:56

Re: Hacking into guest OS files

Post by newSara »

thank you.
However, can this avoided if I try to encrypt the harddisk image using Truecrypt?
Can you suggest other methods to secure the harddrive image?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Hacking into guest OS files

Post by noteirak »

Any way that would be acceptable using a real hard drive will be acceptable using Virtualbox.
If Truecrypt fits your requirements if this was a real hard drive, then yes.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
harshita
Posts: 1
Joined: 23. Sep 2013, 12:00

Re: Hacking into guest OS files

Post by harshita »

Is there exist some tool that can encrypt virtual disk images and booting can be possible on encrypted images..?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Hacking into guest OS files

Post by mpack »

There is no such feature included in VirtualBox, therefore as Noteirak says, any suitable 3rd party tool will do. We don't endorse any particular tool.
Post Reply