1.3.0 is about to be released. Because of this, the site will be in constant change as wiki pages are rewritten to match the new functionality.
If you are setting up a new botnet, please wait until after the release.


Follow me on twitter

Updating

Updating is very simple and straight forward.

You should always have a backup client opped in all of your channels just in case the upgrade goes bad.

Binary preparations

Updating

  • If updating from a version before 1.2.16: Kill off and remove crontab of all althubs. After all leaf bots are updated, you can start the althubs back up and let them update as well.
  • Pick a hub that should distribute the binaries to the botnet. (high bandwidth allowed)

Shell operations for hub

  • Eg. If you keep your hub in ~username/hub/
  • Change to your ~username/hub/ directory before you do any of the following.
  • Do not skip any of these steps; skipping steps leads to confusion later.
  1. Login to the shell for the hub and change into the hub's directory.
  2. mkdir bins/ (only needed if not already there)
  3. cd bins/
  4. wget all of your tar.gz packages that you created above.
  5. Untar the packages. (tar -zxf package.tar.gz)
  6. rm -f *.tar.gz
  7. Copy the unzipped binary to ../newhub cp wraith.Linux-1.2.10 ../newhub
  • Nothing else should be done. Do not rename your hub or recreate it. Stop here and move on to the next section.

Example directory structure

Your hub directory should look like this:

$ ls -al
total 1384
drwx------   5 bryan  bryan      512 May 22 23:37 ./
drwx-----x  17 bryan  bryan     1024 May 19 03:52 ../
drwx------   2 bryan  bryan      512 May 22 00:00 .../
-rwx------   1 bryan  bryan   193504 May 22 23:21 .u*
drwxr-xr-x   2 bryan  bryan      512 May 19 03:51 bins/
-rwx------   1 bryan  bryan  1187724 May 19 03:51 hub*
-rwx------   1 bryan  bryan  1187724 May 19 03:51 newhub*
drwx------   2 bryan  bryan      512 May 22 23:37 tmp/
$ ls -al bins/
total 2628
drwxr-xr-x  2 bryan  bryan      512 May 19 03:51 ./
drwx------  5 bryan  bryan      512 May 22 23:37 ../
-rwx------  1 bryan  bryan  1187724 May 19 03:48 wraith.FreeBSD-1.2.10-rc1*
-rwx------  1 bryan  bryan  1447696 May 19 03:49 wraith.Linux-1.2.10-rc1*

If it doesn't look like this, start over again. Extra .tar.gz files or old binaries can be ignored, but are not necessary. Just don't touch the current hub binary.

Botnet operations on hub

  1. Enable cleartext linking in case the encryption algorithm has changed.
    .set link_cleartext 1
    
  2. Disable cookies for all channels.
    .chanset * +fastop
    
  3. Tell the main hub to start sharing out the new binaries
    .chattr THEHUB +u
    
  4. Update the hub itself with the name of the NEW-BINARY you created above.
    .update NEW-BINARY
    
  5. The hub will now restart; Telnet back in.
  6. Grab a  beer, some guacamole and chips.
  7. Check status of update with .netver
  8. Once the entire update is done be sure to disable the cleartext botlink
    .set link_cleartext 0
    
  9. Re-enable cookies for selected channels.
    .chanset * -fastop
    

Notes on updating

  • One bot is sent the binary at a time.
  • The first bot listed in each binary will download the new binary, and then will restart its child bots.
  • After a few minutes, that bot will restart itself.
  • Bots will cycle channels as they restart. This cycling will be eliminated in 1.3 most likely.

Error: Failed to load processor Poll
No macro or processor named 'Poll' found

Error: Failed to load processor TagIt
No macro or processor named 'TagIt' found