LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-08-2015, 07:51 AM   #1
Faoppawn
LQ Newbie
 
Registered: Jan 2015
Posts: 2

Rep: Reputation: Disabled
Viruses


Hello,
I have a friend who is thinking about switching to linux, but he asked me an interesting question, which I was hoping someone could answer. Let's say we have a usb stick. Let's say that the files inside that usb stick have viruses because they came from a windows machine. Now, I know nothing will happen to the linux machine, but if he transfers those files on the linux machine, formats his usb, puts the files back and puts them on a windows machine that has no antivirus, will it get infected? If so, how can one cleanse those files on linux, I've found something called ClamTK, but I'm not 100% sure what it is.
Hope to hear an answer soon, thanks in advance.
 
Old 01-08-2015, 08:12 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,792

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
yes, that is possible, but - of course - it depends on the virus itself.
There are cleaners available on linux too, they work quite similar as on windows.
http://www.linux.org/threads/malware...or-linux.4455/

Last edited by pan64; 01-08-2015 at 08:14 AM.
 
1 members found this post helpful.
Old 01-08-2015, 09:09 AM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Clamav only detects infected files but doesn't cleans them.
 
1 members found this post helpful.
Old 01-08-2015, 09:09 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Moderator response

Moved: This thread is more suitable in <Linux - Security> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
1 members found this post helpful.
Old 01-08-2015, 11:04 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,642
Blog Entries: 4

Rep: Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933
It's best to start such discussions by getting rid of biology-terms ... like "virus" or "infected."

A "virus" is something that you, as a biological organism, can "catch" just by walking into the wrong elevator, i.e. after somebody sneezed.

Malware is – a computer program. It's executing on your computer, using your identity and credentials, without your knowledge or consent. And, it's trying to do nasty things. But first, it must run. And then, it must succeed.

The "biology analogy" sold a lot of "anti-virus" (sic) software. It was so lucrative to M$ that they deliberately sold millions of machines with password-free Administrative users and fairly-buried (or, simply did not supply, in "Home Editions") the tools necessary to properly secure the machine. Apple (and Linux) had a field-day with this, and even though those systems are not necessarily that much more secure by-default, the presence ... of anything ... versus the total absence ... of everything ... has made the difference.

Above all, malware seeks crimes of opportunity. They're the "pizza-delivery cat-burglar," walking down the deserted street trying front-doors and finding most of them to be unlocked and unattended. If the door falls open, they waltz in and do their mischief. If not ... basically, if anything opposes them ... they'll go on to the next house. Malware can't do anything that you, yourself, can't do.
 
2 members found this post helpful.
Old 01-08-2015, 12:22 PM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Whether a utility to clean files is run from Linux, Windows, MAC, or some other OS, what it needs to do is detect incorrect content and remove it. Therefore if files have some sort of invasive problem coupled in/with/to them whatever utility you use to clean the files must then be capable of detecting and resolving the problem. Otherwise in the original case, Linux may ignore this part or not be affected by it because it's a script, macro, or executable which can't be run within the Linux OS; but it likely will not sanitize the file so that it could then be safely used in Windows.

I submit that whatever viruses, malware, or other infections you have, you really need an effective detect and clean utility. I would add that IMHO getting a good utility that runs under Linux may be desired because the operating environment itself stands to be free of intrusive programs. That seems to be the biggest virus/malware problem is that they are so prolific that under Windows you see these massive problems so you get/download a cleaner, many of which may also be malware, and either case you run it from within Windows which may already be affected by malware/viruses.
 
1 members found this post helpful.
  


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
viruses someone Awesome Ubuntu 2 05-23-2009 04:30 PM
viruses? firedance Linux - Security 5 04-16-2007 07:45 PM
viruses devit Programming 4 04-13-2004 05:01 PM
Viruses nick_krym Linux - Newbie 6 04-02-2004 08:00 AM
Viruses teyesahr Linux - Newbie 2 09-09-2003 11:55 AM

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

All times are GMT -5. The time now is 11:36 PM.

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