[SOLVED] Dual booting systems and ransomware

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
MrT
Level 3
Level 3
Posts: 143
Joined: Tue Jun 20, 2017 3:21 pm

[SOLVED] Dual booting systems and ransomware

Post by MrT »

I was wondering if anyone could explain to me what could potentially happen to someone who has a dual booting system (Windows 10 and Linux Mint) in case Windows 10 disk is attacked by a Ransomware "virus". I would expect that it should not be able to reach the Mint partitions that Windows cannot read. But, what happens to grub? Or are there other issues that I am not even seeing at the moment? I tend to keep a copy of my most relevant documents on both systems and I have 90% of my relevant software running on Linux Mint as well, just in case (some cost me a bit to get a second license, but better safe than sorry; however, most are free). It is just I always assumed that doing this I was basically "invincible" and someone wrote that I would be, but only to some extent.

Thank you.
Last edited by MrT on Thu Jul 02, 2020 7:15 pm, edited 1 time in total.
iain_33
Level 3
Level 3
Posts: 147
Joined: Sat Dec 22, 2018 11:29 am
Location: UK

Re: Dual booting systems and ransomware

Post by iain_33 »

If your files are on a Linux partition like ext4, they're untouchable by Windows or any Windows virus, unless the virus corrupts the partition table - and even then they're recoverable, with some time and effort.

If a virus messes with grub, you could just boot from a Live USB and fix it. Heck, nevermind viruses, Windows messes with grub.
Linux Mint 19.3 Cinnamon on Lenovo Legion Y540 laptop (2020)
Linux Mint 19.3 Mate on HP G70 laptop (2009)
ZakGordon
Level 5
Level 5
Posts: 866
Joined: Thu Feb 12, 2015 11:07 am

Re: Dual booting systems and ransomware

Post by ZakGordon »

iain_33 wrote:
Mon Jun 29, 2020 2:31 pm
If a virus messes with grub, you could just boot from a Live USB and fix it. Heck, nevermind viruses, Windows messes with grub.
Windows 10 especially hates any other OS. I would not trust it in a dual-boot setup because it IS going to break your dual-boot at some point.
Laptop overheating? Check link here:itsfoss guide . A move from Cinnamon to XFCE can give a -5 to -10 degrees C change on overheating hardware.

Build a modern dual-boot Ryzen Win7/Linux Mint PC:Tutorial
iain_33
Level 3
Level 3
Posts: 147
Joined: Sat Dec 22, 2018 11:29 am
Location: UK

Re: Dual booting systems and ransomware

Post by iain_33 »

I'd just add that whether or not you could lose your stuff to ransomware, it's just as likely that you could lose it to HDD failure. Backup, backup, backup!
Linux Mint 19.3 Cinnamon on Lenovo Legion Y540 laptop (2020)
Linux Mint 19.3 Mate on HP G70 laptop (2009)
User avatar
BG405
Level 8
Level 8
Posts: 2382
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: Dual booting systems and ransomware

Post by BG405 »

I wonder exactly how difficult it would be for these ransomware "authors" to include code which can access ext partitions? ... I wouldn't take the chance, myself. As Iain_33 said - backup!
Dell Inspiron 1525 - LM17.3 CE 64-------------------Lenovo T440 8GB - Manjaro KDE with Mint VMs
Toshiba NB250 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Two ROMS don't make a WRITE ...
powerhouse
Level 6
Level 6
Posts: 1097
Joined: Thu May 03, 2012 3:54 am
Location: Israel
Contact:

Re: Dual booting systems and ransomware

Post by powerhouse »

Run Windows in a passthrough VM. It's challenging to set up, but once done, you will probably never look back.

See viewtopic.php?f=231&t=212692 and there is a newer one I wrote using Pop_OS, but it works with Linux Mint too, except that you need to use grub and not this rather sh!tty kernelstub.
Gigabyte Aorus X570 Pro, AMD Ryzen 3900X CPU, 2x32GB Corsair DDR4, water cooler, GTX 970 + Quadro 2000 GPU, Asus Xonar Essence STX, Samsung 500GB + 1TB NVMe + Samsung Evo 1TB SSD + 4 HDD, Corsair 500R, SeaSonic 660W Gold X PS https://heiko-sieger.info
User avatar
Kadaitcha Man
Level 10
Level 10
Posts: 3254
Joined: Mon Aug 27, 2012 10:17 pm

Re: Dual booting systems and ransomware

Post by Kadaitcha Man »

MrT wrote:
Mon Jun 29, 2020 1:37 pm
... I always assumed that doing this I was basically "invincible" and someone wrote that I would be, but only to some extent.
No system is invincible.If you give Windows access to your linux files then malware can damage them either via a Windows ext4 add-on or a network share. If you want to be as safe as possible then the solution is to install something like VirtualBox and run Windows in a virtual Machine. You can then make a directory on your linux system and share it with the Windows VM. When you need files from linux to be available to the VM, you simply copy them to the shared directory. This will protect the rest of your filesystem from Windows malware.
It's pronounced kad-eye-cha, not kada-itcha.
Post Reply

Return to “Other topics”