How to recover ISP router credentials using PPPoE sniffing
A new technical guide explains how to use packet sniffing to find hidden PPPoE credentials. Learn why ISPs withhold passwords and how to bypass them.
Source: Hacker News — front pageUsers can bypass ISP restrictions to retrieve their own router credentials by intercepting network traffic through a process known as a Man-in-the-Middle (MITM) attack. This method allows individuals to replace provider-issued hardware with their own equipment, even when ISPs claim they cannot provide the necessary login details.
Why do ISPs withhold router credentials?
Many Internet Service Providers (ISPs) provide custom routers that use proprietary firmware. According to a report by Xetera, these custom interfaces often restrict user control, such as disabling custom DNS settings for censorship or management purposes. In many cases, the web user interface (UI) may contain a "write-only" field for passwords, meaning the plaintext credentials are never displayed to the user.
Furthermore, some ISPs claim they cannot provide PPPoE (Point-to-Point Protocol over Ethernet) passwords for security reasons. However, the technical reality often suggests otherwise. The report notes that even when using CHAP (Challenge Handshake Authentication Protocol), which is more secure than the older PAP (Password Authentication Protocol), the credentials can often be recovered using modern hardware due to the use of aging encryption methods like MD5.
How does the PPPoE authentication process work?
PPPoE is an older protocol frequently used by fiber-to-the-building (FTTB) providers to manage session authentication. When a router attempts to connect to the internet, it undergoes a specific sequence of discovery and connection steps.
According to the technical breakdown provided by Xetera, the exchange involves several key packet types:
- PADI (PPPoE Active Discovery Initiation): The router broadcasts a packet to find a PPPoE server.
- PADO (PPPoE Active Discovery Offer): The server responds to the broadcast with a session cookie and server name.
- PADR (PPPoE Active Discovery Request): The router requests to establish a connection using the session information.
- PADS (PPPoE Active Discovery Session-confirmation): The server acknowledges the request, allowing configuration to begin.
- PADT (PPPoE Active Discovery Terminate): A packet used to end the session.
By monitoring these packets, a user can observe the authentication attempt as it happens.
Can you find credentials through the router UI?
While checking the router's web interface is the simplest first step, it is frequently unsuccessful. Many ISPs ship routers with firmware that hides the plaintext password. Another option mentioned is using the TR-069 protocol, which is a management interface used by ISPs. However, the report suggests that even with access to TR-069, a user might only be able to retrieve their username rather than the actual password.
For those who wish to avoid complex vulnerabilities or "hacking" the router directly, the MITM approach is presented as a more reliable alternative. This involves connecting the ISP router to a device that the user controls, rather than connecting the router directly to the internet source.
What is the technical method for sniffing the password?
To successfully capture the credentials, a user must run a PPPoE server on their own machine to trick the ISP router into attempting a login. This creates the necessary environment for the router to "yell" its secrets during the authentication phase.
According to the guide, a common workflow involves using a tool like Wireshark to capture network traffic on a specific interface. For instance, a user might use a command to pipe tcpdump output directly into Wireshark to inspect the packets in real-time. By observing the exchange between the router and the local PPPoE server, the user can intercept the authentication data. If the ISP uses the older PAP method, the credentials are sent in plaintext. If CHAP is used, the challenge-response can still be subjected to cracking attempts.
How can researchers study these network protocols?
Understanding the intricacies of network handshakes and legacy protocols requires deep dives into technical documentation and packet captures. For researchers and developers looking to analyze complex technical papers or documentation regarding network security and protocol vulnerabilities, specialized tools can help parse the information.
While Grafy does not offer a dedicated network sniffing tool, researchers can use Reader to upload technical whitepapers or documentation regarding PPPoE, CHAP, or MD5 encryption. This allows for deep questioning of the material to understand the mathematical foundations of these protocols or the specific packet structures involved in modern networking.
Frequently asked questions
Can I find my PPPoE password in my router settings?
You may be able to find it if your ISP uses standard firmware that displays the password in plaintext. However, many providers use custom firmware that hides the password in a write-only field or disables the ability to view it entirely through the web interface.
Does using CHAP make my password safer than PAP?
nCHAP is technically more secure than PAP because it uses a three-way handshake and a challenge/salt mechanism rather than sending the password in plaintext. However, because many implementations rely on older algorithms like MD5, the credentials can still be vulnerable to modern cracking techniques.
Is it necessary to run a PPPoE server to find the password?
Yes, you must run a PPPoE server on a device you control to capture the credentials. Without a server to respond to the router's initial discovery packets, the router will not proceed to the authentication stage where the username and password are exchanged.
Source: Hacker News — front page — Finding your ISP router's credentials


