Skip to content
IRC
Service

IRC

IRC is a chat protocol. Attackers enumerate channels and users, exploit server flaws, use it as a C2 channel, exfiltrate data, and establish persistence via bots or backdoors

:6667 :6697 2 guides 2 phases
2 min read Created: Apr 4, 2026 Updated: Sep 14, 2026

IRC (Internet Relay Chat) is a text-based communication protocol used for real-time group and private messaging. It runs on TCP port 6667 for plaintext and TCP port 6697 for TLS-encrypted connections. Nmap identifies the service as irc. Common IRC server software includes UnrealIRCd, InspIRCd, and ngIRCd.

IRC servers have historically been used as command-and-control (C2) channels for botnets, making their presence on a network worth investigating. From a pentesting perspective, IRC services can expose user information, internal channel conversations, and server configuration details. Backdoored versions of IRC servers (notably UnrealIRCd 3.2.8.1 with a hardcoded backdoor) have provided trivial remote code execution. Weak or missing authentication on operator accounts and services (NickServ, ChanServ) are common findings.

Enumeration starts with connecting to the server and gathering version info via the VERSION command. Channel listing (LIST) reveals active channels and their topics. Nmap's irc-info script extracts server details, user count, and channel information. Testing for known backdoors, operator credential brute-forcing, and checking for information leakage in channel topics and MOTD messages are standard assessment steps.

Enumeration

Enumerate IRC ports, identify versions, list channels, harvest creds

1

IRC Enumeration

Techniques for enumerating IRC services, extracting server info, channels, users, and configurations using tools like Nmap, netcat, and IRC clients.

Sep 14, 2026 • 3 min read

Exploitation

Exploit UnrealIRCd 3.2.8.1 backdoor for reverse shell access

1

UnrealIRCd 3.2.8.1 Backdoor Exploitation

Exploiting the hardcoded backdoor in UnrealIRCd 3.2.8.1 via the AB command prefix to achieve unauthenticated remote code execution on IRC servers.

Sep 14, 2026 • 2 min read