5 Replies - 703 Views - Last Post: 16 October 2012 - 08:04 AM

#1 cgren72  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 35
  • Joined: 29-August 12

If I use linux, can I get a virus in Windows?

Posted 15 October 2012 - 09:06 AM

I use linux and windows on my laptops, and would like to install linux on my desktop in a partition on the same disk as windows 7. My desktop(windows 7) is strictly offline, and is used for music composition. I don't want to install an antivirus program. In linux, I would access the internet on that machine.

My question though, which may be a dumb/ignorant one, is:

Can I get a virus on my windows partition from being online on my linux partition?

Is This A Good Question/Topic? 0
  • +

Replies To: If I use linux, can I get a virus in Windows?

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8371
  • View blog
  • Posts: 31,101
  • Joined: 12-June 08

Re: If I use linux, can I get a virus in Windows?

Posted 15 October 2012 - 09:09 AM

Typically no... but there has been instances of dual infections.

http://news.softpedi...nux-21268.shtml

Quote

I don't want to install an antivirus program.

Why not on your linux box? A software firewall should be there as well.
Was This Post Helpful? 1
  • +
  • -

#3 no2pencil  Icon User is offline

  • Head MFIC
  • member icon

Reputation: 5063
  • View blog
  • Posts: 26,437
  • Joined: 10-May 07

Re: If I use linux, can I get a virus in Windows?

Posted 15 October 2012 - 09:12 AM

Off the top of my head I would say no. Because :

1.) Linux can not execute Windows binary files, thus if you download a windows infected file onto a Linux file system, the Linux OS will not execute the file.
2.) Windows is very restricted to the file systems that it can read/write. Generally Linux will use a ext (journaling is optional) file system, & Windows will only offer read/write access to fat, fat32, or NTFS file systems.

So the only way to get your Windows partition infected would be if you download a Windows infected file, & store it on a file storage system that Windows can read from, such as a shared partition, or a thumbdrive. But from the sounds of your setup, I would say you are safe if you keep the Linux & Windows partitions separate in usage, 100%.
Was This Post Helpful? 1
  • +
  • -

#4 jimblumberg  Icon User is offline

  • member icon


Reputation: 3845
  • View blog
  • Posts: 11,735
  • Joined: 25-December 09

Re: If I use linux, can I get a virus in Windows?

Posted 15 October 2012 - 10:24 AM

If your primary goal is to secure your Windows system you should never download a file in Linux to your Windows partition. And if possible don't mount the Windows partition on boot up, only mount this partition when and if you actually need it, then use it and immediately unmount it. Also unless absolutely necessary don't install Wine, or any other Windows emulator that runs from Linux.

Jim
Was This Post Helpful? 0
  • +
  • -

#5 Lemur  Icon User is offline

  • Pragmatism over Dogma
  • member icon



Reputation: 1335
  • View blog
  • Posts: 3,398
  • Joined: 28-November 09

Re: If I use linux, can I get a virus in Windows?

Posted 15 October 2012 - 09:59 PM

The absolute biggest thing to remember: Linux does not make you invincible. It still gets viruses, and still has issues, it's just a lot harder and the people using it are normally far more adept at finding these issues.
Was This Post Helpful? 0
  • +
  • -

#6 cgren72  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 35
  • Joined: 29-August 12

Re: If I use linux, can I get a virus in Windows?

Posted 16 October 2012 - 08:04 AM

Thanks for the replies! And I have an ext4 file system, but Linux can still write to nfts if the drive is mounted. I was concerned with a virus infecting windows from linux, not the other way around. Anyway my question is answered, thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1