LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-09-2007, 05:42 PM   #1
andy.l
Member
 
Registered: Feb 2007
Location: Scandinavia
Distribution: Centos/Redhat
Posts: 97

Rep: Reputation: 15
Question Windows virus in heterogeniouse network


Hi

I'm quite new with Linux, so please help me.
Are there any way a Windows virus can be running on Linux, or infect windows machines on a lan through Linux?
These days it's quite easy to have variuse exe dailers, or trojans downloaded on a windows machine if you enter the wrong url when uou're surfint the web. But if you're surfing from a Linux host, can this exe file infect windows machines on the same network?
Or are Linux machines considered "safe" from this kind of files?
At work we are setting up a Linux workstation for a consultant , but we're a bit uncertain if we need to install a virus scanner on the machine. This machine's only connection with the rest of the lan is that it will be located on the same subnet as our windows clients. There will not be any samba client or other integration with our Windows servers and workstations.

Please help

/Andy
 
Old 02-09-2007, 05:56 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Typically I would install a virus scanner because although the virus won't be active on linux, he could pass it to you through email, or if he dumps files on a public share drive, etc.

But if he downloads a windows virus, it won't run on linux and infect the other machines as if it was downloaded on windows. He would have to explicitly send it to someone and that person would then have to run it.
 
Old 02-09-2007, 06:29 PM   #3
andy.l
Member
 
Registered: Feb 2007
Location: Scandinavia
Distribution: Centos/Redhat
Posts: 97

Original Poster
Rep: Reputation: 15
OK

So, in our case where the user has no access to Windows servers, no communication to other host on the internal network, only web access for websurfing, there are no treaths for our internal machines if he where to download either a virus through javascrips, or click on a link that would download any kind of dialer?
Since the software would simply NOT execute on Linux.

/A.
 
Old 02-09-2007, 06:31 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
That's been my (somewhat limited) experience...
 
Old 02-09-2007, 06:51 PM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
It sounds like even a Windows box wouldn't be a threat to the rest of your network with that setup. It would only be a threat to itself.

In this case, Linux applications are much less of a threat to themself than Windows apps are (it's still possible for application level exploits though, especially via web content--Firefox for instance, has had dozens of security flaws).
 
Old 02-09-2007, 07:03 PM   #6
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
andy.s,
I think windows virus may run under wine(Some linux automatic run exe file with wine), cxoffice. Please be carefull for some virus under exe file. I personally saw how hacker combine virus into a exe file and escape from norton antivirus.
Regards,
Ks
 
Old 02-10-2007, 04:13 AM   #7
andy.l
Member
 
Registered: Feb 2007
Location: Scandinavia
Distribution: Centos/Redhat
Posts: 97

Original Poster
Rep: Reputation: 15
OK, so that could be a risk.
But the machine we're setting up is a plain FC6 with no spesiall add-ons execpt NEssus and Nmap. I'll guess that Wine or cxoffice is NOT a part of this setup, so again, the machine should not pose a risk.
Correct?

/A.
 
Old 02-10-2007, 06:36 AM   #8
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
Even with WINE the exe/virus would be restricted to the rights of the user account. In fact, all disk access would be resitriced to that user's /home dir even, as the entire emulated Windows "C" drive exists as a hidden dir there. So basically there's really nothing a compiled binary Windows virus could do. Interpreted cross-platform code (i.e. PHP, JavaScript) poses a much greater threat, IMVHO.
 
Old 02-10-2007, 07:54 AM   #9
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
I think the practical answer is:
You probably don't need anti-virus, but you should be careful to enable the security features in the OS. Make sure it has a firewall configured, and make sure any unnecessary services are disabled. Any web browsing done from the machine should not be done as "root". Ideally the web browsing should go through your corporate proxy (if you have one) to ensure that it has the same restrictions applied as your normal users get.

By the way, I have to ask: If you're installing Nessus & NMAP on the machine (pen-testing tools), are you sure that the machine doesn't have any access to the rest of your network? What are they going to pen-test with no access? If they're going to test only your external network, then the machine should be patched into a switch at the perimeter of your network and at that point it's basically no different (from your prospective) than a computer in someone's house on DSL.
 
  


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
Anti-Virus on a network -alf- Linux - Networking 1 01-30-2007 12:37 AM
Is Windows a Virus? alagenchev General 5 04-26-2005 02:07 PM
are there any tools for scaning windows partition with windows virus... hkl8324 Linux - Newbie 1 08-04-2004 02:23 PM
Boot virus or Anti-Virus? AVG Free Anti-Virus Software problems SparceMatrix Linux - Security 9 08-02-2004 02:35 PM
virus problem on windows network - need help coolamit78 General 5 06-22-2004 07:38 PM

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

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