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 06-18-2021, 04:25 PM   #1
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Rep: Reputation: Disabled
Windows 7 host, Linux Guest; how Secure?


I have to still use Windows 7 for software reasons, but I keep that machine offline by default, and only go online briefly, disconnecting the WiFi as soon as I close my browser.

If I run a Linux distro in Virtual Box, with this Windows 7 system as host, how secure is it? more secure than if I go online with Windows? Or just the same, since Windows 7, which is unsupported, is host? I do run paid AV on Windows, and it never finds anything. But as time goes on, I find myself worrying more when going online. The attacks may become more nasty, so I want to make sure I'm safe.
 
Old 06-18-2021, 04:58 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
There has been some speculation on how secure it is versus what is proven. To be safe, one can build a latest Windows or Linux version and run some virtual machine. The latest windows is free at least for some amount of time.

The term for security is best practices for the most part. The more you learn and the more you do the safer you are.

I have a single usb ssd that I make and keep updates for access to financial sites. Almost no secure by default distro's so you may have to configure them.

I always get a big kick out of distro's made to hack/crack and press says they are secure. Why would anyone think a hackers distro is secure? https://www.ubuntupit.com/most-secur...-and-security/

Last edited by jefro; 06-18-2021 at 05:05 PM.
 
Old 06-18-2021, 08:28 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,329
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
If you use the VirtualBox default NAT networking for the guest, your host will not be able to see the guest and vice-versa. If you configure your Linux guest with a proper firewall, AV, etc., it should be even safer than the unsupported Windows 7 host.
 
1 members found this post helpful.
Old 06-18-2021, 08:51 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,715

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
The guest is still sharing the network adapter with NAT the host would technically still be vulnerable as far as I know. If you use a USB Ethernet adapter connected to the guest the network would be isolated from the host in theory.
 
Old 06-19-2021, 04:17 AM   #5
remmilou
Member
 
Registered: Mar 2010
Location: Amsterdam
Distribution: MX Linux (21)/ XFCE
Posts: 211

Rep: Reputation: 69
Have you ever thought about changing your Windows 7 into a VM and run that on a decent, recent, updated more secure host (like a good administered Linux distro)?
Also give you the possibility of snapshotting your Windows machine and revert easily in case of problems.
 
1 members found this post helpful.
Old 06-19-2021, 11:39 AM   #6
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
There has been some speculation on how secure it is versus what is proven. To be safe, one can build a latest Windows or Linux version and run some virtual machine. The latest windows is free at least for some amount of time.

The term for security is best practices for the most part. The more you learn and the more you do the safer you are.

I have a single usb ssd that I make and keep updates for access to financial sites. Almost no secure by default distro's so you may have to configure them.

I always get a big kick out of distro's made to hack/crack and press says they are secure. Why would anyone think a hackers distro is secure? https://www.ubuntupit.com/most-secur...-and-security/
I agree that the biggest factor in security is the behavior of the user. We do our sensitive stuff, like finances, on Linux. I have my wife using Zorin. she only occasionally goes on Windows 7, mainly for occasional Zoom meetings. I have set up her Dell laptop as a dual-boot.
 
Old 06-19-2021, 11:41 AM   #7
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
If you use the VirtualBox default NAT networking for the guest, your host will not be able to see the guest and vice-versa. If you configure your Linux guest with a proper firewall, AV, etc., it should be even safer than the unsupported Windows 7 host.
Thanks, that sound encouraging. If running W7 in a virtual system on a Linux host is even marginally safer, it makes sense to do so.
 
Old 06-19-2021, 11:43 AM   #8
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
The guest is still sharing the network adapter with NAT the host would technically still be vulnerable as far as I know. If you use a USB Ethernet adapter connected to the guest the network would be isolated from the host in theory.
If most attacks are directed at Windows, wouldn't it be safer inside Linux? Or would it be better to sandbox it?
 
Old 06-19-2021, 11:46 AM   #9
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by remmilou View Post
Have you ever thought about changing your Windows 7 into a VM and run that on a decent, recent, updated more secure host (like a good administered Linux distro)?
Also give you the possibility of snapshotting your Windows machine and revert easily in case of problems.
I would but it wouldn't work in this case. The software I need is Sonar, a DAW, or music creation program. The plugins I use, especially orchestral libraries, would not do well in a virtual system, unless I had an incredibly powerful computer. even then, the graphics alone would make it undesirable.
 
Old 06-19-2021, 01:19 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,715

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
By using VirtualBox with a USB network adapter your Windows host would remain offline and be unable to connect to the internet. If you need to copy something from linux to Windows you could use a shared folder.

A VirtualBox NAT uses the same network adapter as your Windows system but then adds software to create a simple firewall/router. Your Windows system would still be online. You can select no adapter or internal adapter to completely isolate guest.

In post #7 you indicate that running W7 within a VM makes sense but then #9 post it would not work? If you have other computers running linux why do you need this particular PC to briefly go online at all?
 
Old 06-19-2021, 05:34 PM   #11
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
By using VirtualBox with a USB network adapter your Windows host would remain offline and be unable to connect to the internet. If you need to copy something from linux to Windows you could use a shared folder.

A VirtualBox NAT uses the same network adapter as your Windows system but then adds software to create a simple firewall/router. Your Windows system would still be online. You can select no adapter or internal adapter to completely isolate guest.

In post #7 you indicate that running W7 within a VM makes sense but then #9 post it would not work? If you have other computers running linux why do you need this particular PC to briefly go online at all?
Thanks. I got confused between running windows 7 inside Linux, and running Linux inside windows 7. My intention was to ask if running Linux inside Windows 7 is safer, in terms of going online, than going online in windows 7. Certainly, running windows 7 inside linux is safer.

If I install Linux on that computer, then theoretically I could go online without worrying about updating my Windows AV (Malwarebytes Premium). By using Linux, I would - again, theoretically - be safer than using that same machine to go online in windows. I could also ditch the paid AV, as Linux doesn't need any. that would save me a little money.
 
Old 06-21-2021, 03:15 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
I think it's wrong to suggest most attacks are directed towards Windows. Windows may be the most popular so in that sense it could be attacked.

Smart attackers won't let the OS stop them. They will seek any crack to worm in on.
Don't assume Linux is more secure. Many a high profile issue with Linux in the last 20 years.
 
Old 06-21-2021, 03:35 PM   #13
Bonzoo
Member
 
Registered: Sep 2018
Location: Costa Rica
Distribution: Antix21a2,Parrot rolling,MXfce19.4,Sparky Openbox
Posts: 233

Rep: Reputation: 48
Any reason for EVER taking the Windows online ?
You need 2 ssd's/ A Windows on one and a real os on the other.
Do what ya gotta do(work) in Windows. If it needs sending out or something boot the real os, access the Wdoz hd and attach the work as necessary.

Last edited by Bonzoo; 06-21-2021 at 03:37 PM.
 
Old 06-22-2021, 11:20 AM   #14
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
I think it's wrong to suggest most attacks are directed towards Windows. Windows may be the most popular so in that sense it could be attacked.

Smart attackers won't let the OS stop them. They will seek any crack to worm in on.
Don't assume Linux is more secure. Many a high profile issue with Linux in the last 20 years.
Good point, behavior is by far the most important variable. The one time I know my computer was hacked, I was on a BSD system. I was on a music composing forum, which used the flash player. I had the 'pepper" version, so I falsely assumed I was safer. I went to get a cup of coffee, and when I returned, there was a terminal up and running. I saw "chroot" being typed as I watched. I immediately shut down, wiped the drive with D-Ban, and set it aside. I then posted two threads on the forum for people to get rid of flash. Most did not. I then convinced the admin. to upgrade from Ning 2.0 to 3.0, which finally got rid of flash. So it was my behavior, not the system, that was the problem.
 
Old 06-22-2021, 11:25 AM   #15
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Bonzoo View Post
Any reason for EVER taking the Windows online ?
You need 2 ssd's/ A Windows on one and a real os on the other.
Do what ya gotta do(work) in Windows. If it needs sending out or something boot the real os, access the Wdoz hd and attach the work as necessary.
Convenience, mostly. Not having to shut down, which on my music rig causes my projects to take a long time to open. I usually just put windows to sleep, then the projects open 10X faster. I clear the cache regularly with Wise Cleaner. Also, downloading things I need for my music, like orchestral libraries, plugins, portals etc. Downloading in Linux doesn't work very well. It's quite a process to be able to install them in windows after downloading in Linux.
 
  


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
Kernel-based Virtual Machine (KVM): Switching from KVM guest to host (e.g. Linux Mint) & maximize guest screen fanoflq Linux - Newbie 2 07-13-2016 06:10 PM
How secure is windows XP running as a virtualBox guest on a Slackware 12.2 host garyg007 Slackware 13 07-06-2015 05:54 PM
Guest to Host message passing - guest's memory usage statistics & guest's IP address Prince_Pangeni Linux - Virtualization and Cloud 2 03-03-2012 03:06 AM
Host Fedora14, Windows 7 is running as Virtualbox guest- Mic is not working on Guest mwaheed Linux - Virtualization and Cloud 1 10-20-2011 12:51 PM
[SOLVED] Slackware 64-bit Host, Slackware 32-bit Guest, No VirutalBox Guest Additions? tronayne Slackware 4 03-24-2011 01:08 PM

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

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