LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 09-04-2012, 10:19 AM   #1
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Rep: Reputation: 61
Encrypted LVM on Windows in VMware? Worth it?


Hey LQ,

I'm trying to have a secure location on my Windows laptop to store a text file of passwords, among other things and I thought having an Encrypted LVM and Encrypted Swap inside of a VM would be a marvelous way to achieve this but I'm not sure how Encryption and Virtualization work together and if that defeats the purpose of encryption.

What I would like to know is if this is a good way of keeping files safe from spyware and malware and also if I potentially lose or my laptop gets stolen if this would be a good way to protect data from prying eyes.

Any tips would be greatly appreciated.
 
Old 09-04-2012, 10:37 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You might want to instead just install gvim and use the encryption vim provides. You can get the download for Windows at:
http://www.vim.org/download.php

The article below talks about the strong encryption in vim (if enabled). After reviewing it once before I verified the gvim install I have on Windows 7 has it enabled.
http://www.techrepublic.com/blog/sec...-blowfish/4870

A VM for this purpose would suck up a lot of resources (especially memory when running) so I'd likely not go that route just for encrypting a few files unless I felt file name should also be encrypted.

So far as I know there ARE other encryption technologies you can use for Windows partitions but I haven't used any. You might want to investigate that. Alternatively an in between solution might be to install Cygwin which is Linux on top of Windows rather than a VM and see if it has capabilities to create an encrypted space.
 
Old 09-04-2012, 10:46 AM   #3
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Quote:
Originally Posted by MensaWater View Post
You might want to instead just install gvim and use the encryption vim provides. You can get the download for Windows at:
http://www.vim.org/download.php

The article below talks about the strong encryption in vim (if enabled). After reviewing it once before I verified the gvim install I have on Windows 7 has it enabled.
http://www.techrepublic.com/blog/sec...-blowfish/4870

A VM for this purpose would suck up a lot of resources (especially memory when running) so I'd likely not go that route just for encrypting a few files unless I felt file name should also be encrypted.

So far as I know there ARE other encryption technologies you can use for Windows partitions but I haven't used any. You might want to investigate that. Alternatively an in between solution might be to install Cygwin which is Linux on top of Windows rather than a VM and see if it has capabilities to create an encrypted space.
Those are good tips. Would you happen to know if spyware or malware could access data in memory from the Virtual machine while running the Encrypted LVM?
 
Old 09-04-2012, 11:03 AM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Kind of a lot of issues here.

One is physical access and one is remote or on time access.

The physical access issue could be protected by any number of cryptographic schemes. Windows upper level versions have a very good encryption that is unlikely to be broken by any common hacker. Maybe some countries could break in to it. Third party apps like truecrypt are also considered secure. Even pgp is mostly considered secure.

The second issue is when you yourself has access to the data. A VM tends to be considered a bit safer from the main OS. The idea of a cross platform bug is reduced. On would have to create the VM without any guest additions and without networking to at least have a start of security. There has only been one hole that I have heard about where a vm could be exposed.

Now one might be able to hack into that and boot up your vm so the question then exists about how one secures data on a linux system so you'd need to again decide if you want disk file system encryption and or file encryption. As to if the data could be exposed over the host by any means may only be by some host screen access.
 
Old 09-04-2012, 11:07 AM   #5
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Thank you for your advice. Wouldn't whole system and disk encryption be better than file encryption?
 
Old 09-04-2012, 04:30 PM   #6
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,679

Rep: Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713
Encryption

It really depends upon what you want to achieve.
Personally, I would install TRUCRYPT and make an encrypted volume and keep my secures data there. It can also encrypt an entire drive, single partition, or single filesystem. One beware: read the FAQs first and do NOT lose your passphrase. IT is virtually impossible to crack and does not play well with grub (or anythign else that wants the MBR) in the full drive option.
 
  


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] Encrypted LVM Phorize Slackware 20 05-18-2011 04:30 PM
[SOLVED] Recovering grub after Windows installation. Encrypted partitions and LVM. 1937 Debian 6 11-04-2010 05:22 PM
Encrypted setup w/ LVM Alexvader Slackware 10 12-21-2009 05:36 PM
Kubuntu 9.04 and Encrypted LVM tmerriam Ubuntu 3 05-02-2009 04:33 PM
Encrypted LVM mashcaster Linux - Security 1 12-19-2008 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:16 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