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

How do most IRC bots work?

I'm curious how most IRC bots work, specifically these "perl bots" everyone is talking about.
In all honestly, I'm way too lazy to look through the source code and would like someone to simply break it down for me.
From what I understand, this is how they work:

- An exploit is used to breach the machine in question and malware is installed.
- Said malware connects to the C&C server and joins a preset channel, usually setting its nickname to contain information about the compromised machine such as it's operating system.
- Once in a channel, the malware listens for commands. If it recognizes a command, it checks if the user who initiated the command has sufficient privileges e.g. if they're an administrator and if they are then perform the task that corresponds with the command.

Is that it? Or is there other stuff to it as well?
Anything I missed out on or should know about?
Additionally, what are the pros and cons of using desktop computers as bots vs using rooted servers? Thanks for your help.

EDIT: Also, what's all the fuss about bots written in perl? What makes perl better than C?
well some bots use proxies or tor to connect to the C&C to help hide the servers location, also rooted servers usually run on linux and servers usually have a desent bandwith speeds so they have stronger ddos, however it is easier to get lots of desktop computers then it is to get rooted servers (usually).


Possibly Related Threads...
Thread / Author Replies Views Last Post
by CyberErrorFeb 15, 2016 08:50 PM 3 245 Feb 15, 2016 08:50 PM
Last Post: freeNwild
by JmunnayAug 4, 2015 12:48 PM 3 297 Aug 4, 2015 12:48 PM
Last Post: Gigabot
by Black ScorpionMay 6, 2015 03:15 PM 12 376 May 6, 2015 03:15 PM
Last Post: Black Scorpion