In this demo, we're going to explore the Hive Mind feature in LOIC.
This feature enables us to connect multiple LOIC instances to an IRC channel and
then control them all using commands from the same channel.
We'll walk through this process over the next two demos. For this first demo,
we're going to set up an IRC server to control LOIC.
We will quickly discuss the Hive Mind feature and then connect
multiple LOIC instances to an IRC channel.
Once our devices are connected, we'll be ready for the next demo
where we will carry out the attack. Let's head over to the lab and
get started. If you installed the lab using the Vagrantfile, I
already installed an IRC server and client on the LOIC host that we
use for the rest of the demos.
If not,
you can install any IRC server and client for these exercises. From Host 1,
you can start the ICC server using this icon from the desktop to start
InspIRCd. You won't see any notification on the screen, but we can check to
see that it's running in the terminal.
Just run ps ‑eaf and grep for inspircd. Once you
verify that the server is running,
you can connect to the IRC server using this chat client.
Once the chat client is open, type /connect followed
by the IP address of your host.
Once you've connected to the server,
join the LOIC channel using the command /channel #loic. From here, we
can manage the LOIC instances that connect to our server using Hive
Mind. From the LOIC interface, we connect to our IRC channel by typing
our IP in the block for IRC server.
Then we click this bubble to go into IRC mode. In the top right here,
you'll see that it's connected if it was successful, and if we look at
our channel, we'll see that our LOIC host has joined. Since we're just
controlling the same single host, this doesn't get us much, so let's
connect another host to the same server. As I mentioned earlier, I
have a Kali Linux machine on this network and I've installed LOIC for
this course.
I'll start LOIC by navigating to the directory and running ./LOIC/loic.sh run.
Once it's open,
we follow the same process to connect it to our IRC server. And it's connected.
Let's go back to our IRC channel, and we see that our Kali
Linux machine has also joined the channel.
Now that it's connected,
we can control both of these machines from the single chat
window and execute an attack on the same target.
In this demo, we activated Hive Mind mode to connect two
computers running LOIC to an IRC channel.
This sets us up for the next demo where we'll enter commands into the IRC
channel to execute another attack against our remote network