Monday 17 September 2012

Virus Engineering

What exactly we think about Virus? The all -ve feeling. Virus is nothing but a program for destruction of our computer, files, memory etc. Here in this post, I am describing something about the Virus Engineering. It is the duty of the programmer but not for the destruction. Virus Engineering is the intellectual property, if you know Virus Engineering you can very well to manage your computer, files, memory etc.

Now its time to learn something about Virus Engineering - (Here I am represents some demo sequences to create one small Virus Program). Before to start the steps for create Virus, the overview of the Virus is necessary.

This virus program is occupied your Hard Drive partition space without any data. Here with this virus creation, you have full control to delete it. It is very simple an you can very easily to control it. I am describing the basic skeleton of this virus program, you can also embedded this step with high end programming tool like VB, Java etc.

Steps -

1. First we need to find the free space of whatever drive where this virus will active. For it, open Command Prompt and type - dir | FIND "free" (if I want to active virus in c:\ then open CMD and c:\dir | FIND "free"). With this command you can get the free space of c: drive.

Ex. - Free space of C: drive is 9056313344 bytes.

2. Now you have to calculate some bytes for creation of virus. The formula is very simple, I have 9056313344 bytes free space, then just reduce 50000 bytes from available free space.

Ex. - Virus_Memory = Available_Free - 50000 -> (9056313344 - 50000) = 9056263344 (Virus_Memory).

3. This is actual virus creation step. You have to write one command with your calculated Virus_Memory.

Ex. - fsutil file createnew c:\virus.txt 9056263344 -> then press enter.

4. Now check your space. In the third step you are actually create one text file which hold your entire free space without any data. To free this space from virus, just delete the file that you have created.

Note - These steps are actually the skeleton for virus program, you can also to do this step with high end programming and create virus with just one click of button as well as to hide the virus file with system mode.



No comments:

Post a Comment