How I Extracted My ISP Router's PPPoE Password by Spoofing a Server

Finding your ISP router's credentials

How I Extracted My ISP Router's PPPoE Password by Spoofing a Server

After switching ISPs, the author needed the PPPoE credentials to replace the ISP router with their own. The ISP's own fiber director didn't know the password. The solution: connect the router to a controlled machine, run a fake PPPoE server, and capture the PAP authentication exchange in Wireshark. The password is sent in plaintext, making the ISP's security excuse laughable. An automated tool is also mentioned.

Even if your router uses CHAP, the password can easily be cracked by modern hardware. I actually don't think the latter is necessarily dangerous even though it's obviously insecure. You need to have physical access to a router to do any damage and, as far as I know, there aren't many recorded cases of customers getting their devices hijacked through this route. Which makes me even angrier that ISPs say they can't give you that password for safety purposes. Bullshit.
  1. nicholasjarnold

    Love seeing stuff like this here. I recall back in the very early days of DOCSIS, before it was encrypted, one could use Ethereal[0] with a NIC that supported promiscuous mode and simply inspect traffic from all devices connected to your neighborhood peering point. This was before TLS or even SSL was common, so most people's traffic was in the clear. It wasn't morally correct, but as a teen it was a lot of fun.

    You could also determine the IP address of the TFTP server that your ISP was using to serve the modem's config files to the various nodes in your local area. Using Ethereal, again, you could dump the bytes of the config file, edit it in a text editor and then serve it from a TFTP server you had setup on a box in your home. Then you simply changed your IP address to the TFTP server's IP address, plugged the modem directly into your box and BOOM, you now turned your 8Mbps connection into a 100Mbps connection...until the next modem reboot. Good times...

    [0] https://www.wireshark.org/news/20060607.html

  2. mrweasel

    Fortunately my ISP encourage getting your own router. It saves them money and they argue that you might already have one, so environmentally it just makes sense to allow you to use that. They'll happily send you one, but it's not going to be good.

    A previous ISP didn't exactly encourage using your own router, but they also didn't hide the information you needed. I really didn't want to have both their router and an access point, so I got a 3Com router with wifi built in (yes, this was a while ago). I used that thing for 12 years, before the ISP reached out letting me know that the router they originally sent me was getting really old and that they'd need to send me a new one (which was better than the old 3Com one).

    If the ISPs really want to dictate which router you have, they should really provide much nicer ones. I don't get why they also have to be the shittiest one on the market. Even when they advertise "best wifi router on the market" they just mean that it sucks less than the one I get from the competitor. It's always some weird Chinese brand you've never heard of, or Zyxel.

  3. DominoTree

    Ages ago I actually had to dump the flash from a Pace 8256AC router AT&T provided, and then do a bit of firmware disassembly and custom squashfs variant rewriting so that I could recover and unlock the 802.1x cert needed to use a third-party router.

    This got more complicated because their 802.1x cert was actually significantly malformed (not a remnant of how I extracted it) - there were a number of places where they were using ASCII strings of hex values, rather than the hex values themselves, causing fields to overrun their maximum sizes.

    OpenSSL did not like this, and I assume it is a bug in how they were cutting these certs to begin with.

    The cert ended up being locked based on a permutation of the device serial number - but getting another device to unlock and use this malformed cert was an entirely different effort - I ended up just using OpenBSD.

    After a week or two I got it all working, and it was a fun project, but it was an insane amount of effort for something so trivial.

  4. throw0101c

    Somewhat related for GPON-based ISPs, instead using your ISP's ONT, you can now get "ONT sticks" which you can program to log into your ISP, but which can be inserted into the SFP(+) port of your own router so you can use its functionality:

    * https://pon.wiki

  5. YCombinedBob

    FYI: Fritzboxes have a built in packet capture feature which makes this possible. Also comes in handy if you forgot your ISP credentials and can't retrieve them from the UI.

    I think it is http://fritz.box/html/capture.html on your local box...

  6. tzs

    > If you're lucky enough to have an ISP using DOCSIS, you can likely get away with setting your ISP modem to bridge mode and just connect your own router on the other end and everything will just work

    I've heard people suggest that instead of doing that go ahead and leave the ISP modem/router in router mode, connect your router to it, and put your router in the ISP router's DMZ.

    Put all of your devices on your router.

    The advantage of this approach is that people who use bridge mode often report that if there is any network problem the ISP tries to blame it on your router. Same for people who replace the ISP modem/router with their own.

    The DMZ approach makes your setup look like a normal consumer setup to the ISP, so you just have to deal with customer supports hoops normal consumers have to deal with.

    Note: I'd assume this also works with ISPs that don't use DOCSIS. It just requires that the ISP router supports a DMZ.

  7. doyoon_123

    fwiw this is just illegal in germany now. routerzwang got killed aug 1 2016, the isp has to hand over the access data so you can plug in your own router, safety excuse or not https://de.wikipedia.org/wiki/Routerzwang

  8. autkuc

    I had a gut feeling this was in Türkiye! Such a good resource, I had found my router's MITM guide posted 3 months back on a random dev blog when I wanted to switch routers a few years back. Funny how the router policy is almost universal in Türkiye.

More from this day

2026-12-02