194,6667,6660-7000 - Pentesting IRC
Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE) Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)
Basic Information
IRC, initially a plain text protocol, was assigned 194/TCP by IANA but is commonly run on 6667/TCP and similar ports to avoid needing root privileges for operation.
A nickname is all that's needed to connect to a server. Following connection, the server performs a reverse-DNS lookup on the user's IP.
Users are divided into operators, who need a username and password for more access, and regular users. Operators have varying levels of privileges, with administrators at the top.
Default ports: 194, 6667, 6660-7000
Enumeration
Banner
IRC can support TLS.
Manual
Here you can see how to connect and access the IRC using some random nickname and then enumerate some interesting info. You can learn more commands of IRC here.
You can, also, atttempt to login to the server with a password. The default password for ngIRCd is wealllikedebian
.
Find and scan IRC services
Shodan
looking up your hostname
Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE) Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)
Last updated