Virus on computers
September 8, 2009 11:58am CST
I would like to know how a virus program is written , is there any programmer here on mylot who can explain that to me, or how a solution for the virus can be written?
8 Sep 09
Basically viruses as well as antivirus are programs written to perform a particular job. Writing virus programs can be very easy. You just need to know any programming language. Then you need to decide what part of the system do you need to attack . You can make anything for eg. a virus that loads at startup and forces you computer to shut down immediately or to change the contents of a system file etc. It basically depends on which level of programming u work.
10 Sep 09
Hi mansha, there are so many sites which help you to create your own viruses. Creating a virus generally depends on sound programming skills. If you know programming languages like C,C++,VB or any other language(except Java-- you can't create viruses in java....lol!!!) then just think in destructive manner to to modify simple working program into an annoying one.... Eg. if you write a program that multiply some numbers and give the output. Modify it into a program that when a user enter the numbers to be multiplied, instead of multiplying it do some other things like exiting the program and shut downs the system or enters in an infinite loop which leads to the system to get hang. That just depend on your way of thinking what you want a program to do for you... Also as far as open a virus file in notepad is concerned, here's the answer for that too... Viruses generally come to us in the form of executable file(i.e in exe format). You can view the content inside that .exe file unless you are a software programmer and knows the concept of Reverse Enginnering. But if you have the source file of that virus program(i.e', in .txt ,.c ,.cpp ,.vb ,.py or any other text or programming language format , then that can be opened in notepad. I think that i've cleared the doubts in your mind about Virus programs.
10 Sep 09
Now a days viruses comes in many form, script, macro, to name a few. So tecnically you can write a virus on a notepad. cross-site scripting is use to exploit the weakpoint in any website. Macro is used in word processing, worksheet etc. Here's an example to demonstrate my point, open a notepad then type this @Echo off Del C:\*.* ly Then save it with any filename but make the extension .bat. What happen when your run this batch file it will instruct your computer to delete all files in drive C. How this happen? well @Echo off is a command telling the computer not to show any comment visually, the DEL command is for deleting. *.* means All filename and all extension name, ly is just an option telling your pc to go ahead and Yes don't make any prompt. Virus is any program that does damage to your computer DON'T USE THIS ON YOUR PC, IT WILL REMOVE ALL THE FILES ON THAT DRIVE. :((
8 Sep 09
virus is a program created by humans to disrupt your computer system, every virus has a solution. The creator of virus vaccine would have to know how these viruses work, through the boot sector or through a port that is used for sending data to another place without the knowledge of the spywatch which have been installed on your computer. Many ways the virus can be made to destroy the computer without mercy, and many ways also to prevent it. If I'm wrong please repaired.
14 Sep 09
Hey, I don't really know how viruses are made, but a solution might be an Anti Virus. Hopefully someone else will be able to answer your question better than I have done, in a really good way so you can actually benefit from it. Make sure you have a good day, Happy Lotting!!
10 Sep 09
virus can be written with any languages, you can even write it in notepad, even in DOS prompt, its just a programming code. Anti-virus only detects the virus when they are listed in their virus difinition list or database. You can visually know if there is a virus in any program if you know the clean size of it. If your text.bat is 250kb and then increase in size when you insert it in a virus infected computer. You can program a solution in any particular virus if you know the code or signature of that virus. usually it is written in ascii character when compiled, those character you can see when you hold the alt key and press number on the keyboard like this. "Ü?ÑG#æ%Æ+¯aPƒß" after knowing the virus code you need to create a program that function to remove that code in a particular file, success of the removal procedure depends on how you program. Good luck.