LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-13-2004, 10:54 AM   #1
devit
Member
 
Registered: Jan 2004
Distribution: Slackware 9.1
Posts: 82

Rep: Reputation: 15
viruses


I search all over the Internet for documentation about viruses(Win or Linux). What the viruses are, what they do, and the most important how they work?, how could I remove a virus? I am not a stranger to assembler or C/C++. Could you give me some directions!

Thanks!
 
Old 04-13-2004, 11:19 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Viruses are software that spread like real biological viruses do. They, at least, spread from computer to computer. They can also do other things, like delete you files. They work by taking advantage of some weakness (human or machine) to help them spread. They basically make copies of themselves, figure out a way to get from machine to machine (sometimes by tricking people into copying them), and figure out a way to do this undetected untill it's too late (hiding in other programs).

As for dealing with them, there aren't many viruses in Linux, so I'm not sure exactly what you should do. But in Windows, you just get an antivirus program to get rid of it. The AV program basically just searches all the files for traces of a virus, and deletes files with viruses hiding in them. It should also fix whatever Windows settings the virus may have changed, but I have seen some recent & popular AV programs that don't do this.
 
Old 04-13-2004, 12:57 PM   #3
aluser
Member
 
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 43
There is The Little Black Book of Computer Viruses and The Giant Black Book of Computer Viruses. I think they are supposed to be fairly technical. (Familiarity with x86 assembly assumed)
 
Old 04-13-2004, 02:20 PM   #4
kooch
Member
 
Registered: Mar 2004
Location: Upstate NY
Distribution: Slackware/YDL
Posts: 77

Rep: Reputation: 15
Take a look at securityfocus they have lots of good info. Also of interest might be this guide to reverse engineering.


As always the best way to learn anything is to hack around with it.
 
Old 04-13-2004, 05:01 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
A virus is a program that modifies and executable file in such a way, that the virus code is included and run when the program's started.
To remove the virus you need to find its code in the executable and remove it. It may be sometimes impossible (or nearly impossible). And you need, of course, good knowledge of the executable format you're trying to remove the virus from.
 
  


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? firedance Linux - Security 5 04-16-2007 07:45 PM
viruses need help citizen_x Linux - Security 6 04-29-2004 11:57 PM
Viruses teyesahr Linux - Newbie 2 09-09-2003 11:55 AM
viruses nautilus_1987 Linux - General 5 10-04-2002 11:30 PM
Viruses? Will Linux - Security 2 11-08-2001 12:04 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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