ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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.
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)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.