LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2013, 01:17 PM   #1
Amanda_L
LQ Newbie
 
Registered: Oct 2013
Posts: 21

Rep: Reputation: Disabled
Could I get infected?


Hello.

My brother installed Ubuntu 12 and he said that I shouldn't plug this hard drive along with the Windows one because if the Windows drive is infected it could "damage" the drive that has Linux installed.
So I though maybe I would unplug the Linux one and plug the Windows one to play a game. Should this be safe? Using just one drive at a time? Then after I use Windows, I turn off the machine, unplug the Windows drive, plug the Linux one and then turn the computer on again.

Thanks.

Last edited by Amanda_L; 10-14-2013 at 03:12 PM.
 
Old 10-14-2013, 01:29 PM   #2
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
it is nonsense

but if your brother were to detail their thinking I might change my mind.
 
Old 10-14-2013, 01:41 PM   #3
Amanda_L
LQ Newbie
 
Registered: Oct 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
Hi, this is Amanda's brother. Couldn't a virus on the Windows drive copy itself to the Linux drive or even delete data on the Linux drive?

I think we're safer if we plug one drive at a time, as she said above.
 
Old 10-14-2013, 01:57 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by Amanda_L View Post
Couldn't a virus on the Windows drive copy itself to the Linux drive or even delete data on the Linux drive?
No.
 
Old 10-14-2013, 01:58 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,685

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by Amanda_L View Post
Hi, this is Amanda's brother. Couldn't a virus on the Windows drive copy itself to the Linux drive or even delete data on the Linux drive?

I think we're safer if we plug one drive at a time, as she said above.
If you're running Linux and plug in a Windows hard drive, you're safe. Windows is NOT Linux...Windows programs do not run on Linux, period. This includes viruses. And, since Linux uses privilege separation, the chances of a virus having RIGHTS to actually damage anything (even if it COULD run), are tiny.

You can no more have a Windows virus on Linux, as you could on a Mac.
 
Old 10-14-2013, 01:59 PM   #6
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 97
I think that would be highly unlikely. Windows viruses don't run on Linux, so the Windows disk would need to contain some Linux-specific malware. Even then, malware sitting on disk doesn't any harm, unless something runs it. Linux systems don't have the autorun functionality that used to help viruses spread on Windows systems, so either the user would need to run it deliberately, or you would have needed to set something up do to this (or the Linux system is already infected).

Last edited by Robhogg; 10-14-2013 at 02:00 PM.
 
Old 10-14-2013, 02:03 PM   #7
Amanda_L
LQ Newbie
 
Registered: Oct 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
So I should be safe using both HD's at the same time?
 
Old 10-14-2013, 02:03 PM   #8
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Quote:
Originally Posted by Amanda_L View Post
Couldn't a virus on the Windows drive copy itself to the Linux drive or even delete data on the Linux drive?
A virus for Windows will have no effects on Linux so you should be fine. However if you have windows in your computer you should spend some cash to buy an anti virus program such as Kaspersky, Norton, or Trend Micro Titanium. All these anti virus software combined with good online habits and common sense usually are good. Licensing for these programs are good for a year then you have to buy the license again for another year.

Programs like spy-bot search and destroy, windows essentials,McAfee and others usually dont work. So don't rely on them.

You will be fine in Linux, install programs that are made to run for the linux flavor you are using and grant root access only software you trust and you will be rock solid on your system.

Good luck to you guys.
 
1 members found this post helpful.
Old 10-14-2013, 02:05 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Couldn't a virus on the Windows drive copy itself to the Linux drive or even delete data on the Linux drive?
NO


Microsoft dose NOT support any non patented and copyrighted ( by MS ) drive formats
Windows will NEVER ( out of the box) be able to read and write to a ext3 or ext4 or btfs or even apples hfs+ partition formats

Windows "sees" the linux install as a broken file system in need of fixing
( and will" fix it for you " ,if you let it )

now the other way " Might have issues"

while running a Nix OS and you download a Virus infected windows program
and save it to the windows drive
or on a dvd and then access it using MS windows
that can infect the windows OS

but windows can not AUTOMATICALLY infect a linux install
unlike the AUTOMATIC download and install viruses on Windows
( you know the ones where all you need to do is "mouse OVER -- NO CLICKING NEEDED " a advertisement and the virus is auto installed on windows )
 
Old 10-14-2013, 02:17 PM   #10
Amanda_L
LQ Newbie
 
Registered: Oct 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Microsoft dose NOT support any non patented and copyrighted ( by MS ) drive formats
Windows will NEVER ( out of the box) be able to read and write to a ext3 or ext4 or btfs or even apples hfs+ partition formats
Yes, but I was worried that a virus could somehow delete data of "sda", "sdb" etc, regardless if Windows can or can't see ext4 partitions.
Quote:
and will" fix it for you " ,if you let it
That's a problem. It "fixes" things that aren't broken.
Thank Zeus Ubuntu has a BootRecover tool that I can run on the LiveCD.
Quote:
while running a Nix OS and you download a Virus infected windows program
and save it to the windows drive
or on a dvd and then access it using MS windows
that can infect the windows OS
Thanks. I'm already aware of this possibility.
Quote:
but windows can not AUTOMATICALLY infect a linux install
This is good news, it can't infect Linux installs. But let's put our tinfoil hats and at least consider the possibility of data destruction.

Or am I being too paranoid to think that a Windows virus could delete data on any drive (with a command that would be the equivalent of "dd")?
 
Old 10-14-2013, 02:47 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Yes, but I was worried that a virus could somehow delete data of "sda", "sdb" etc, regardless if Windows can or can't see ext4 partitions.
viruses do not delete partitions
now "ransomware" might try to encrypt it first
but without being able to read the data in the first place ......

for "data destruction"
a person (a real person ! ) would be needed to be attacking YOU
you are not a fortune 500 CEO, nor the nsa,cia , or any other "three letter origination( TLO)"

so a real person ( non bot) would not be attacking you
-- unless you royally bleeped off some teens ( script kiddies ) over at 4-chan

even then a script kiddie will not be able to do much ,after all they ARE NOT A "TLO"
 
Old 10-14-2013, 03:08 PM   #12
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by Amanda_L View Post
So I should be safe using both HD's at the same time?
In general, if you've booted Linux, it'd be able to ``see'' the Windows drive but the executables (.exe), self-extracting Zip files, etc. wouldn't run on Linux. If you've booted Windows, the likelyhood of the OS even being able to ``see'' the Linux drive to go about damaging data is pretty low.

I would have the following caveats, though: a.) A Windows executable could conceivably be run on Linux using Wine so a certain amount of care should be observed in what you double click on (I haven't found much, if anything from Windows World that I want to run under Linux so I think I'm safe. YMMV). b.) For the time being, Windows doesn't understand how to interpret the contents of a Linux filesystem. That doesn't mean that some virus/worm-writing bozo couldn't go out and try to corrupt all drives available on the system. I think the more dangerous of the two scenarios is when you're running Windows. To screw up things up when you're running Linux requires that you deliberately run the nasty Windows executables.

If these two disks are USB-connected, the more paranoid among us would go ahead and disconnect the non-native disk when booting a given operating system. And, at all times, have a good backup of both environments. (Well, you don't need to be paranoid for that to be a good practice.)

Good luck.

--
Rick
 
1 members found this post helpful.
Old 10-14-2013, 03:12 PM   #13
Amanda_L
LQ Newbie
 
Registered: Oct 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rnturn View Post
In general, if you've booted Linux, it'd be able to ``see'' the Windows drive but the executables (.exe), self-extracting Zip files, etc. wouldn't run on Linux. If you've booted Windows, the likelyhood of the OS even being able to ``see'' the Linux drive to go about damaging data is pretty low.

I would have the following caveats, though: a.) A Windows executable could conceivably be run on Linux using Wine so a certain amount of care should be observed in what you double click on (I haven't found much, if anything from Windows World that I want to run under Linux so I think I'm safe. YMMV). b.) For the time being, Windows doesn't understand how to interpret the contents of a Linux filesystem. That doesn't mean that some virus/worm-writing bozo couldn't go out and try to corrupt all drives available on the system. I think the more dangerous of the two scenarios is when you're running Windows. To screw up things up when you're running Linux requires that you deliberately run the nasty Windows executables.

If these two disks are USB-connected, the more paranoid among us would go ahead and disconnect the non-native disk when booting a given operating system. And, at all times, have a good backup of both environments. (Well, you don't need to be paranoid for that to be a good practice.)

Good luck.

--
Rick
Thank you very much
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Server is infected with rootkit or something rewesh Debian 7 10-14-2011 10:32 AM
My system is infected with a rootkit or something rewesh Linux - Security 12 10-13-2011 06:14 PM
vsftpd infected sycamorex Linux - Security 1 07-05-2011 09:46 PM
rootkit: infected??? help synaptical Linux - Security 4 05-16-2005 07:11 PM
clamav infected file emetib Linux - Software 1 04-11-2004 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 AM.

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