Finding your ISP router's credentials
Frustrated with ISP-provided routers and their locked-down settings, a user embarks on a quest to liberate their network. This deep dive details how to sniff out PPPoE credentials using a man-in-the-middle attack with Wireshark and a controlled device like pfSense. It's a satisfying read for anyone who believes their home network should truly be their home network.
The Lowdown
The author, a homelab enthusiast, recounts their journey to overcome ISP limitations and replace a mandatory provider router with their own. After moving and encountering deceptive "fiber" marketing and unhelpful ISP support regarding router credentials, they took matters into their own hands, meticulously detailing the process of extracting the necessary authentication information.
- The Problem: After upgrading their internet, the author found their new ISP unwilling or unable to provide the PPPoE username and password required to use a third-party router, hindering their homelab setup.
- Why Other Methods Fail: Direct router UI access is often locked down, hacking is too much effort, and TR-069 typically only reveals the username, not the password.
- The Solution: MITM Attack: The core strategy involves connecting the ISP router to a device controlled by the user (e.g., a pfSense machine) and intercepting its communication during the authentication process.
- PPPoE Deep Dive: The article explains the Point-to-Point Protocol over Ethernet (PPPoE) handshake sequence (PADI, PADO, PADR, PADS, PADT) and the difference between CHAP and the less secure PAP authentication.
- Packet Capture: Using
tcpdumppiped into Wireshark, the author demonstrates how to capture the router's negotiation packets as it attempts to authenticate with a simulated PPPoE server. - Extracting Credentials: The crucial step is identifying the
Authenticate-Requestpacket (specifically in PAP), which openly transmits the username and password. Additionally, the MAC address and VLAN ID are extracted from the Ethernet and 802.1Q frames. - Configuration: The captured credentials (username, password, MAC address, VLAN ID) are then used to configure a personal router (illustrated with pfSense) to successfully connect to the ISP's network.
- Tooling: For those unwilling to dive deep into Wireshark, the author offers a free and open-source desktop application that automates the credential extraction.
This guide empowers technically inclined users to bypass ISP restrictions, enabling full control over their home networking hardware and configurations, even when providers are less than cooperative.