LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-19-2004, 06:18 AM   #1
red118a
Member
 
Registered: Nov 2003
Location: Decatur, Georgia
Distribution: Oracle Solaris 10, Fedora 14
Posts: 39

Rep: Reputation: 15
Virus concerns: Can windows viruses affect linux, vice versa


I have googled the subject for a couple days now and still need more information or recources on Linux viruses. Can a virus that a windows computer carries infect a linux computer? Can a Linux virus damage a Windows PC? I thought that viruses could not affect *nix based OSs because of the way the file system is designed. please share any information and recources you have

thank you for your time.
 
Old 04-19-2004, 06:42 AM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
There are the possibility to make viruses for any OS, regardless of design. Question is how easy it is or how many the give it a try.

The greatest chance of a virus destroying anything for another OS is on dual boot systems, since they share hardware. It can destroy but not infect the other OS, unless it's some kind of cross platform virus carrying several pay loads for a set of OS. For this to work it would need to first infect one of the OSes and inject a malicious code in the other OS, which would then be run on next boot to the second OS.

Viruses that spread and infect using the network, very popular these days, utilize a bug in the software. Since it uses bugs it is targeted for a specific OS/software.
 
Old 04-19-2004, 06:59 AM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Viruses from different os's are unlikely to infect each other, although they can damage each other (like in a dualboot). The damage of a virus should be minimal on *nix based os's because most of the files are read-only for regular users by default (assuming you don't often run as the root user).
 
Old 04-19-2004, 08:51 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
A more general term used is mal-ware. This includes viruses, worms, trojan horses and spy-ware. In a networked environment, it is important to keep on top of installing security updates. An infected windows machine on the network may be designed to try various exploits, including against linux machines. It may report back to the hacker if it finds that your computer is vulnerable.
 
Old 04-19-2004, 09:07 AM   #5
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
One of the main things I've seen regarding Windows viruses on Linux is infected windows boxes writing to a Linux Samba share. In fact that can be hard to diagnose, as you can clean all the Windows systems, but the Samba shares can act as vectors if viral code is stored there. The viral code itself is normally harmless to linux, so you don't see anything abnormal on the linux box.

Technically there actually is proof-of-concept code for viruses that can infect both linux and windows, but I think in reality you'll be hard presses to find an example of it in the wild (for now at least). IMO, those viruses kind of "cheat", by having two completely different subroutines on infection, one set of windows code and one for linux. So it's more like two viruses packaged together.
 
Old 04-19-2004, 09:41 AM   #6
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
There are examples of windows viruses that carry two routines for infection for different windows versions w2k/XP. They have been picking randomly between the two when trying to infect a machine.
 
Old 04-19-2004, 04:04 PM   #7
red118a
Member
 
Registered: Nov 2003
Location: Decatur, Georgia
Distribution: Oracle Solaris 10, Fedora 14
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Capt_Caveman
the Samba shares can act as vectors if viral code is stored there. The viral code itself is normally harmless to linux,

Wow thanks for the responses people!


So in this sense the samba share would simply be a place where other windows machines could get infected?

Would linux AVP pick up windows viruses?

Basically what I am asking with my second question is, In this senerio, the with the samba share would I disinfect the samba share from a MSbox like running anti virus on the share from my windows box ooooor removing the windows virus from the samba share in linux with linux AV software?

I hope I am not confusing anyone including myself.

I am still out looking for answers to my questions so I can post the info I find
 
Old 04-19-2004, 04:44 PM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Yes, you're right. In that case Samba will be just a place with inected files.
Linux antivir programs don't usually protect from Linux viruses (as their number is very low). They're used to scan mail, Samba shares and so on in search fro Windows viruses.
 
Old 04-20-2004, 03:05 AM   #9
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
Hey, people can build multi-platform programs

why not multi-platform viruses,

viruses are programs , right???????
 
Old 04-20-2004, 04:59 AM   #10
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Yeah, but they work because there are a common base, like a java enginge.
They doesn't run on multiple platforms just like that, there are lots of work to implement this common library or interpreter. The library is different on different platforms and need to be installed first.

Viruses are program that do what they shouldn't be able to do. Because of that they have to find the weaknesses and bugs in their target host. Different OS has different bugs.
 
  


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
Can Windows Viruses Affect My Linux Partitions? ixus_123 Linux - Security 11 12-19-2004 10:02 PM
ssh from windows to linux and vice versa pyromania Linux - Networking 6 04-14-2004 03:17 PM
Linux talking to Windows and vice versa tripweed Linux - Networking 4 04-07-2004 08:47 AM
seeing windows files in linux and vice versa shycalais Linux - Newbie 5 09-10-2003 09:05 AM
Installing packages on linux clients thru windows server or vice-versa balpeck Linux - General 1 09-01-2003 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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