Finding your ISP router's credentials

Hacker News by 24 min read 15x views
Finding your ISP router's credentials

Share Post

For the former few years, I've been using all the period I don't expend penning new articles environment up a homelab. That includes getting a new small server that I use for home-assistant, a chill admission point, a network switch, and of course, my own router. I've additionally somehow ended up alongside a 100TB Plex gathering now sitting in a data center and thousands of dollars sunk in entirely unnecessary hardware for it. I didn't have to do any of these, but formerly you go downward this rabbit gap there's no coming back.

My setup was operating awesome until I had to move to a new flat and realized that my current ISP couldn't justify gigabit speeds there. I was being demoted from gigabit speeds to a uncomplicated 100mbps, that's 1/10th the speed I was getting at my old place! You can contend I don't need gigabit but.. I average I plainly need gigabit. How am I expected to often run docker drag xetera/abandoned-project alongside a measly 100 mbit/s internet?

I started looking about for a new ISP I could toggle to, and whenever I established one that told me my construction has fiber support, I learned an crucial instruction concerning what "fiber internet" method for ISPs. There's this amazing promotion hype about fiber, as if customers attention what matter their cables are made of. Every neighborhood is being upgraded to fiber connections, and these ISPs are mentioning amazing scientific advancements alongside it. But what they won't inform you, or volition do so reluctantly, is that their fancy new fiber is constricted to asymmetric VDSL speeds. 100 mb/s downward 10 mb/s up. All these companies appear to have established a way to rotate authorities subsidies and a lengthy term cost-saving funding —laying fiber for new customers alternatively of copper— into several hype most group don't equal understand. I certainly didn't at first.

After several additional digging, I saw that an ISP promising gigabit speeds had their brochure hung on my flat entrance the entire period I was doing my small online hunt, alongside alongside the phone figure of the fiber director guy in charge. At that moment, I somehow immediately got complete my millenial fear of making phone calls through sheer willpower alone, and rang the guy up. He stated he could commitment 500mbps speeds, but not item higher since my flat had Fiber to the Building (FTTB) definition there'd have to be a possible lengthy run of ethernet cabling from the ONTs in the basement, reducing top speeds. I'm not certain how I responded to him following that, talking to person alongside specialized cognition alternatively of getting random buzzwords thrown at me remaining me in a haze. By the next day, the guy and his squad were already complete to hook up my internet. Everything was looking great.

Once I had my new net working, I asked this new “director of fiber internet” how I could go concerning getting the PPPoE password of the router so I can toggle it out alongside my own router, the way I did alongside my former ISP by clicking on a clasp on their Android app. His reply was devastating. "Oh I don't know, they don't equal inform me my own router's password. Let me cognize if you fig out how to discover it."

That really frightened me since I had no clue if it was equal imaginable to discover it. But following several digging and experimenting, I ended up figuring it out afterward that day.

Mr. Director of Fiber Internet, if you're study this, here's how.

Changing your router

If you're fortunate adequate to have an ISP using DOCSIS, you can apt get distant alongside environment your ISP modem to extend manner and fair nexus your own router on the another end and everything volition fair work. Not the case for me unfortunately.

Alternatively, your archetypal choice for digging up that password is to fair see if your router shows it to you in its Web UI. A lot of ISPs I'm acquainted alongside container tradition firmware alongside their routers that disable options akin tradition DNS configuration for censorship reasons. And the ones that don't container alongside tradition firmware, frequently have a write-only site for it and don't dispatch the plaintext password to the UI. So I lone citation this choice in passing. It volition likely not work.

You could try to hack the router and use several benevolent of exposure to get admission into it and its configuration, but honestly that appears akin a lot of work. Many ISP routers have a administration interface usable through the protocol TR-069, but in my cognition equal if you get admission to it, you can lone get your username out of it and not the password.

Thankfully, there is a much improved third option, which is to MITM the router and discover out its juicy secrets. For this, alternatively of connecting a equipment you own to your router, you'll be connecting your router to a equipment you control. But to get there, you'll archetypal need to rotate into acquainted alongside the distinct protocols used for getting a router online.

PPPoE

With fiber, the ONT authenticates the bodily nexus to the ISP infrastructure. And particularly if you live in a third earth country, your ISP uses an ancient protocol called Point-to-Point complete Ethernet (PPPoE) for meeting authentication on top of that.

When your router turns on, it broadcasts a packet in command to detect if there's a PPPoE server on the another end to authenticate itself against. This authentication happens alongside a username and password, but ISPs frequently additionally obtain the equipment MAC location into document and won't authorize your equipment if it's coming from a equipment they didn't provision you. There's nearly continually going to be a VLAN alongside particular configuration engaged as well. Mine sets the VLAN tag to 0 for example, which is not equal in the range of valid VLAN IDs.

Asking for the password politely

There are two ways routers authenticate themselves against any they're connected to according to what the server asks for following a meeting has been established complete PPPoE. There's CHAP, anywhere a 3 way handshake between the client and server is used to resolve a challenge, akin to what you'd anticipate from a contemporary login method. In difference there's PAP, anywhere your equipment basically yells all of its secrets into the void and hopes nobody is listening. Similar to a disagreement between two cavemen in 1200 B.C (around whenever PPPoE was archetypal created). This is what we'll use to discover the password. Don't get it twisted though, this is an ancient protocol which method CHAP is barely improved than PAP. Yes the difficulty includes a sodium chloride and makes rainbow tables unusable but it uses MD5 (and sometimes DES)! Even if your router uses CHAP, the password can effortlessly be cracked by contemporary hardware.

I really don't think the second is necessarily hazardous equal although it's evidently insecure. You need to have bodily admission 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 equal angrier that ISPs say they can't provision you that password for safety purposes. Bullshit.

Let's nexus the router to the device you're running. An crucial item to note is you NEED to have a PPPoE server operating on the another end to get to the item anywhere your router is prepared to log in and disclose its credentials. Otherwise you'll lone see packets anywhere the router is looking for a server and nothing more. If you can't do this, peruse until the end for an automated tool that does all of it for you.

I already have an external router operating pfsense, so I've connected the ISP router to the igc3 interface on my pfsense machine. If you're additionally a pfsense user, you can inform which interface you've connected to by going

screenshot of pfsense showing interface assignments

Before the router powers up, we desire to already be dumping all the network communication on that interface alongside wireshark. Assuming you already have ssh admission to your machine, operating this command lets us pipe tcpdump into wireshark and obtain a appearance under the hood.

wireshark -k -i <(ssh [email protected] tcpdump -i igc3 -U -w -)

I personally use 10.0.0.0/8 for my residence subnet since I'm awesome. If you haven't done this benevolent of item before or don't cognize what a subnet is, you're most apt set up alongside 192.168.1.1 by default.

After powering on the router and waiting a bit for it to awaken up, we should commencement seeing PADI packets that the router sends to initiate the PPPoE handshake. We haven't set up a PPPoE server on the another flank yet so these packets falls into the void alongside no response. Most routers are set up to retry finding to forestall falling into a do-nothing state. In my case, you can see it retries all 30 seconds.

screenshot of pfsense showing interface assignments

Here's what the steps of an average conversation complete PPPoE looks like:

  • PADI Your router's broadcast complete the network it's connected to see if there's a server out there.
  • PADO The server reply to the broadcast. This is basically the pong to the router's ping that contains additional data akin the name of the server, and a meeting biscuit used to keep track of the conversation.
  • PADR The petition your router sends to established a association using the existing meeting it received from the former step.
  • PADS The server acknowledgement of PADR packets. After this stage your server can commencement sending PPP configuration packets to negotiate the settings that volition be used to go online.
  • PADT The ending packet. I've seen one of my routers sending this before sending a PADI packet, likely to create certain any possibly existing sessions are dropped? It can additionally be sent by the server if they desire to obtain you offline for any reason.

Here's a complete interactive wireshark toggle between the router and the PPPoE server.

TimeSourceDestinationProtocolInfo
0.000000000TPLink_04:cf:02Ericsson_91:a9:baPPPoEDActive Discovery Terminate (PADT)
Frame 1, 60 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:22.173280000 +03UTC Arrival Time: Aug 4, 2024 01:02:22.173280000 UTCFrame number: 1Frame Length: 60 bytes (480 bits)Capture Length: 60 bytes (480 bits)

Ethernet II, Src: TPLink_04:cf:02 (78:8c:b5:04:cf:02) Dst: Ericsson_91:a9:ba (34:6e:9d:91:a9:ba)

Destination: Ericsson_91:a9:ba (34:6e:9d:91:a9:ba)Source: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Discovery

0001 .... = Version: 1.... 0001 = Type: 1Code: Active Discovery Terminate (PADT) (0xa7)Session ID: 0x000aPayload Length: 0

PPPoE Tags
0.000392000TPLink_04:cf:02BroadcastPPPoEDActive Discovery Initiation (PADI)
Frame 2, 60 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:22.173672000 +03UTC Arrival Time: Aug 4, 2024 01:02:22.173672000 UTCFrame number: 2Frame Length: 60 bytes (480 bits)Capture Length: 60 bytes (480 bits)

Ethernet II, Src: TPLink_04:cf:02 (78:8c:b5:04:cf:02) Dst: Broadcast (ff:ff:ff:ff:ff:ff)

Destination: Broadcast (ff:ff:ff:ff:ff:ff)Source: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Discovery

0001 .... = Version: 1.... 0001 = Type: 1Code: Active Discovery Initiation (PADI) (0x09)Session ID: 0x0000Payload Length: 12

PPPoE Tags

Host-Uniq: 1a:12:00:00

0.000590000SBluetech_11:e9:dfTPLink_04:cf:02PPPoEDActive Discovery Offer (PADO) AC-Name='pfSense.home.arpa'
Frame 3, 74 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:22.173870000 +03UTC Arrival Time: Aug 4, 2024 01:02:22.173870000 UTCFrame number: 3Frame Length: 74 bytes (592 bits)Capture Length: 74 bytes (592 bits)

Ethernet II, Src: SBluetech_11:e9:df (60:be:b4:11:e9:df) Dst: TPLink_04:cf:02 (78:8c:b5:04:cf:02)

Destination: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Source: SBluetech_11:e9:df (60:be:b4:11:e9:df)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Discovery

0001 .... = Version: 1.... 0001 = Type: 1Code: Active Discovery Offer (PADO) (0x07)Session ID: 0x0000Payload Length: 50

PPPoE Tags

AC-Name: pfSense.home.arpaService-Name: *Host-Uniq: 1a:12:00:00AC-Cookie: 00:68:6f:60:00:f8:ff:ff

0.000994000TPLink_04:cf:02SBluetech_11:e9:dfPPPoEDActive Discovery Request (PADR)
Frame 4, 60 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:22.174274000 +03UTC Arrival Time: Aug 4, 2024 01:02:22.174274000 UTCFrame number: 4Frame Length: 60 bytes (480 bits)Capture Length: 60 bytes (480 bits)

Ethernet II, Src: TPLink_04:cf:02 (78:8c:b5:04:cf:02) Dst: SBluetech_11:e9:df (60:be:b4:11:e9:df)

Destination: SBluetech_11:e9:df (60:be:b4:11:e9:df)Source: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Discovery

0001 .... = Version: 1.... 0001 = Type: 1Code: Active Discovery Request (PADR) (0x19)Session ID: 0x0000Payload Length: 24

PPPoE Tags

Host-Uniq: 1a:12:00:00AC-Cookie: 00:68:6f:60:00:f8:ff:ff

0.001034000SBluetech_11:e9:dfTPLink_04:cf:02PPPoEDActive Discovery Session-confirmation (PADS) AC-Name='pfSense.home.arpa'
Frame 5, 69 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:22.174314000 +03UTC Arrival Time: Aug 4, 2024 01:02:22.174314000 UTCFrame number: 5Frame Length: 69 bytes (552 bits)Capture Length: 69 bytes (552 bits)

Ethernet II, Src: SBluetech_11:e9:df (60:be:b4:11:e9:df) Dst: TPLink_04:cf:02 (78:8c:b5:04:cf:02)

Destination: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Source: SBluetech_11:e9:df (60:be:b4:11:e9:df)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Discovery

0001 .... = Version: 1.... 0001 = Type: 1Code: Active Discovery Session-confirmation (PADS) (0x65)Session ID: 0x0007Payload Length: 45

PPPoE Tags

AC-Name: pfSense.home.arpaHost-Uniq: 1a:12:00:00AC-Cookie: 00:68:6f:60:00:f8:ff:ff

0.001112000SBluetech_11:e9:dfTPLink_04:cf:02PPP LCPConfiguration Request
Frame 6, 46 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:22.174392000 +03UTC Arrival Time: Aug 4, 2024 01:02:22.174392000 UTCFrame number: 6Frame Length: 46 bytes (368 bits)Capture Length: 46 bytes (368 bits)

Ethernet II, Src: SBluetech_11:e9:df (60:be:b4:11:e9:df) Dst: TPLink_04:cf:02 (78:8c:b5:04:cf:02)

Destination: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Source: SBluetech_11:e9:df (60:be:b4:11:e9:df)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Link Control Protocol (0xc021)

PPP Link Control Protocol

Code: Configuration Request (1)Identifier: 1 (1)Length: 20

Options: (16 bytes), Protocol Field Compression, Maximum Receive Unit, Magic Number, Authentication Protocol
Protocol Field Compression

Type: Protocol Field Compression (7)Length: 2

Maximum Receive Unit: 1492

Type: Maximum Receive Units (1)Length: 4Maximum Receive Unit: 1492

Magic Number: 0x3b67d5b0

Type: Magic Number (5)Length: 6Magic Number: 0x3b67d5b0

Authentication Protocol: Password Authentication Protocol 0xc023

Type: Authentication Protocol (3)Length: 4Authentication Protocol: Password Authentication Protocol 0xc023

0.004942000TPLink_04:cf:02SBluetech_11:e9:dfPPP LCPConfiguration Request
Frame 7, 60 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:22.178222000 +03UTC Arrival Time: Aug 4, 2024 01:02:22.178222000 UTCFrame number: 7Frame Length: 60 bytes (480 bits)Capture Length: 60 bytes (480 bits)

Ethernet II, Src: TPLink_04:cf:02 (78:8c:b5:04:cf:02) Dst: SBluetech_11:e9:df (60:be:b4:11:e9:df)

Destination: SBluetech_11:e9:df (60:be:b4:11:e9:df)Source: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Link Control Protocol (0xc021)

PPP Link Control Protocol

Code: Configuration Request (1)Identifier: 1 (1)Length: 14

Options: (10 bytes), Maximum Receive Unit, Magic Number
Maximum Receive Unit: 1492

Type: Maximum Receive Units (1)Length: 4Maximum Receive Unit: 1492

Magic Number: 0x1b983c97

Type: Magic Number (5)Length: 6Magic Number: 0x1b983c97

0.005074000SBluetech_11:e9:dfTPLink_04:cf:02PPP LCPConfiguration Ack
Frame 8, 40 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:22.178354000 +03UTC Arrival Time: Aug 4, 2024 01:02:22.178354000 UTCFrame number: 8Frame Length: 40 bytes (320 bits)Capture Length: 40 bytes (320 bits)

Ethernet II, Src: SBluetech_11:e9:df (60:be:b4:11:e9:df) Dst: TPLink_04:cf:02 (78:8c:b5:04:cf:02)

Destination: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Source: SBluetech_11:e9:df (60:be:b4:11:e9:df)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Link Control Protocol (0xc021)

PPP Link Control Protocol

Code: Configuration Ack (2)Identifier: 1 (1)Length: 14

Options: (10 bytes), Maximum Receive Unit, Magic Number
Maximum Receive Unit: 1492

Type: Maximum Receive Units (1)Length: 4Maximum Receive Unit: 1492

Magic Number: 0x1b983c97

Type: Magic Number (5)Length: 6Magic Number: 0x1b983c97

2.001803000SBluetech_11:e9:dfTPLink_04:cf:02PPP LCPConfiguration Request
Frame 9, 46 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:24.175083000 +03UTC Arrival Time: Aug 4, 2024 01:02:24.175083000 UTCFrame number: 9Frame Length: 46 bytes (368 bits)Capture Length: 46 bytes (368 bits)

Ethernet II, Src: SBluetech_11:e9:df (60:be:b4:11:e9:df) Dst: TPLink_04:cf:02 (78:8c:b5:04:cf:02)

Destination: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Source: SBluetech_11:e9:df (60:be:b4:11:e9:df)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Link Control Protocol (0xc021)

PPP Link Control Protocol

Code: Configuration Request (1)Identifier: 2 (2)Length: 20

Options: (16 bytes), Protocol Field Compression, Maximum Receive Unit, Magic Number, Authentication Protocol
Protocol Field Compression

Type: Protocol Field Compression (7)Length: 2

Maximum Receive Unit: 1492

Type: Maximum Receive Units (1)Length: 4Maximum Receive Unit: 1492

Magic Number: 0x3b67d5b0

Type: Magic Number (5)Length: 6Magic Number: 0x3b67d5b0

Authentication Protocol: Password Authentication Protocol 0xc023

Type: Authentication Protocol (3)Length: 4Authentication Protocol: Password Authentication Protocol 0xc023

2.002651000TPLink_04:cf:02SBluetech_11:e9:dfPPP LCPConfiguration Reject
Frame 10, 60 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:24.175931000 +03UTC Arrival Time: Aug 4, 2024 01:02:24.175931000 UTCFrame number: 10Frame Length: 60 bytes (480 bits)Capture Length: 60 bytes (480 bits)

Ethernet II, Src: TPLink_04:cf:02 (78:8c:b5:04:cf:02) Dst: SBluetech_11:e9:df (60:be:b4:11:e9:df)

Destination: SBluetech_11:e9:df (60:be:b4:11:e9:df)Source: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Link Control Protocol (0xc021)

PPP Link Control Protocol

Code: Configuration Reject (4)Identifier: 2 (2)Length: 6

Options: (2 bytes), Protocol Field Compression
Protocol Field Compression

Type: Protocol Field Compression (7)Length: 2

2.002739000SBluetech_11:e9:dfTPLink_04:cf:02PPP LCPConfiguration Request
Frame 11, 44 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:24.176019000 +03UTC Arrival Time: Aug 4, 2024 01:02:24.176019000 UTCFrame number: 11Frame Length: 44 bytes (352 bits)Capture Length: 44 bytes (352 bits)

Ethernet II, Src: SBluetech_11:e9:df (60:be:b4:11:e9:df) Dst: TPLink_04:cf:02 (78:8c:b5:04:cf:02)

Destination: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Source: SBluetech_11:e9:df (60:be:b4:11:e9:df)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Link Control Protocol (0xc021)

PPP Link Control Protocol

Code: Configuration Request (1)Identifier: 3 (3)Length: 18

Options: (14 bytes), Maximum Receive Unit, Magic Number, Authentication Protocol
Maximum Receive Unit: 1492

Type: Maximum Receive Units (1)Length: 4Maximum Receive Unit: 1492

Magic Number: 0x3b67d5b0

Type: Magic Number (5)Length: 6Magic Number: 0x3b67d5b0

Authentication Protocol: Password Authentication Protocol 0xc023

Type: Authentication Protocol (3)Length: 4Authentication Protocol: Password Authentication Protocol 0xc023

2.003365000TPLink_04:cf:02SBluetech_11:e9:dfPPP LCPConfiguration Ack
Frame 12, 60 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:24.176645000 +03UTC Arrival Time: Aug 4, 2024 01:02:24.176645000 UTCFrame number: 12Frame Length: 60 bytes (480 bits)Capture Length: 60 bytes (480 bits)

Ethernet II, Src: TPLink_04:cf:02 (78:8c:b5:04:cf:02) Dst: SBluetech_11:e9:df (60:be:b4:11:e9:df)

Destination: SBluetech_11:e9:df (60:be:b4:11:e9:df)Source: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Link Control Protocol (0xc021)

PPP Link Control Protocol

Code: Configuration Ack (2)Identifier: 3 (3)Length: 18

Options: (14 bytes), Maximum Receive Unit, Magic Number, Authentication Protocol
Maximum Receive Unit: 1492

Type: Maximum Receive Units (1)Length: 4Maximum Receive Unit: 1492

Magic Number: 0x3b67d5b0

Type: Magic Number (5)Length: 6Magic Number: 0x3b67d5b0

Authentication Protocol: Password Authentication Protocol 0xc023

Type: Authentication Protocol (3)Length: 4Authentication Protocol: Password Authentication Protocol 0xc023

2.003765000TPLink_04:cf:02SBluetech_11:e9:dfPPP LCPEcho Request
Frame 13, 60 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:24.177045000 +03UTC Arrival Time: Aug 4, 2024 01:02:24.177045000 UTCFrame number: 13Frame Length: 60 bytes (480 bits)Capture Length: 60 bytes (480 bits)

Ethernet II, Src: TPLink_04:cf:02 (78:8c:b5:04:cf:02) Dst: SBluetech_11:e9:df (60:be:b4:11:e9:df)

Destination: SBluetech_11:e9:df (60:be:b4:11:e9:df)Source: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Link Control Protocol (0xc021)

PPP Link Control Protocol

Code: Echo Request (9)Identifier: 0 (0)Length: 8

2.003785000SBluetech_11:e9:dfTPLink_04:cf:02PPP LCPEcho Reply
Frame 14, 34 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:24.177065000 +03UTC Arrival Time: Aug 4, 2024 01:02:24.177065000 UTCFrame number: 14Frame Length: 34 bytes (272 bits)Capture Length: 34 bytes (272 bits)

Ethernet II, Src: SBluetech_11:e9:df (60:be:b4:11:e9:df) Dst: TPLink_04:cf:02 (78:8c:b5:04:cf:02)

Destination: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Source: SBluetech_11:e9:df (60:be:b4:11:e9:df)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Link Control Protocol (0xc021)

PPP Link Control Protocol

Code: Echo Reply (10)Identifier: 0 (0)Length: 8

2.004079000TPLink_04:cf:02SBluetech_11:e9:dfPPP PAPAuthenticate-Request (Peer-ID='ak69517242@vodafone', Password='mrJz6vCar3')
Frame 15, 61 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:24.177359000 +03UTC Arrival Time: Aug 4, 2024 01:02:24.177359000 UTCFrame number: 15Frame Length: 61 bytes (488 bits)Capture Length: 61 bytes (488 bits)

Ethernet II, Src: TPLink_04:cf:02 (78:8c:b5:04:cf:02) Dst: SBluetech_11:e9:df (60:be:b4:11:e9:df)

Destination: SBluetech_11:e9:df (60:be:b4:11:e9:df)Source: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Password Authentication Protocol (0xc023)

PPP Password Authentication Layer

Code: Authentication Request (1)Identifier: 1Length: 35

Data

Peer-ID-Length: 19Peer-ID: ak69517242@vodafonePassword-Length: 10Password: mrJz6vCar3

2.004396000SBluetech_11:e9:dfTPLink_04:cf:02PPP PAPAuthenticate-Nak (Message='Login incorrect')
Frame 16, 46 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:24.177676000 +03UTC Arrival Time: Aug 4, 2024 01:02:24.177676000 UTCFrame number: 16Frame Length: 46 bytes (368 bits)Capture Length: 46 bytes (368 bits)

Ethernet II, Src: SBluetech_11:e9:df (60:be:b4:11:e9:df) Dst: TPLink_04:cf:02 (78:8c:b5:04:cf:02)

Destination: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Source: SBluetech_11:e9:df (60:be:b4:11:e9:df)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Password Authentication Protocol (0xc023)

PPP Password Authentication Layer

Code: Authentication Request (3)Identifier: 1Length: 20

Data

Message-Length: 15Message: Login incorrect

2.004446000SBluetech_11:e9:dfTPLink_04:cf:02PPP LCPTermination Request
Frame 17, 30 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:24.177726000 +03UTC Arrival Time: Aug 4, 2024 01:02:24.177726000 UTCFrame number: 17Frame Length: 30 bytes (240 bits)Capture Length: 30 bytes (240 bits)

Ethernet II, Src: SBluetech_11:e9:df (60:be:b4:11:e9:df) Dst: TPLink_04:cf:02 (78:8c:b5:04:cf:02)

Destination: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Source: SBluetech_11:e9:df (60:be:b4:11:e9:df)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Link Control Protocol (0xc021)

PPP Link Control Protocol

Code: Termination Request (5)Identifier: 4 (4)Length: 4

2.011821000TPLink_04:cf:02SBluetech_11:e9:dfPPP LCPTermination Request
Frame 18, 70 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:24.185101000 +03UTC Arrival Time: Aug 4, 2024 01:02:24.185101000 UTCFrame number: 18Frame Length: 70 bytes (560 bits)Capture Length: 70 bytes (560 bits)

Ethernet II, Src: TPLink_04:cf:02 (78:8c:b5:04:cf:02) Dst: SBluetech_11:e9:df (60:be:b4:11:e9:df)

Destination: SBluetech_11:e9:df (60:be:b4:11:e9:df)Source: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Link Control Protocol (0xc021)

PPP Link Control Protocol

Code: Termination Request (5)Identifier: 2 (2)Length: 44

2.011854000SBluetech_11:e9:dfTPLink_04:cf:02PPP LCPTermination Ack
Frame 19, 30 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:24.185134000 +03UTC Arrival Time: Aug 4, 2024 01:02:24.185134000 UTCFrame number: 19Frame Length: 30 bytes (240 bits)Capture Length: 30 bytes (240 bits)

Ethernet II, Src: SBluetech_11:e9:df (60:be:b4:11:e9:df) Dst: TPLink_04:cf:02 (78:8c:b5:04:cf:02)

Destination: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Source: SBluetech_11:e9:df (60:be:b4:11:e9:df)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Link Control Protocol (0xc021)

PPP Link Control Protocol

Code: Termination Ack (6)Identifier: 5 (5)Length: 4

2.012783000TPLink_04:cf:02SBluetech_11:e9:dfPPP LCPTermination Ack
Frame 20, 60 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:24.186063000 +03UTC Arrival Time: Aug 4, 2024 01:02:24.186063000 UTCFrame number: 20Frame Length: 60 bytes (480 bits)Capture Length: 60 bytes (480 bits)

Ethernet II, Src: TPLink_04:cf:02 (78:8c:b5:04:cf:02) Dst: SBluetech_11:e9:df (60:be:b4:11:e9:df)

Destination: SBluetech_11:e9:df (60:be:b4:11:e9:df)Source: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Session

0001 .... = Version: 1.... 0001 = Type: 1Code: Session Data (0x00)Session ID: 0x0007

Point-to-Point Protocol

Type: Link Control Protocol (0xc021)

PPP Link Control Protocol

Code: Termination Ack (6)Identifier: 4 (4)Length: 4

2.012859000SBluetech_11:e9:dfTPLink_04:cf:02PPPoEDActive Discovery Terminate (PADT)
Frame 21, 42 bytes on cable on interface /dev/fd/14

Interface id: 0 (/dev/fd/14)Encapsulation type: Ethernet (1)Arrival Time: Aug 4, 2024 04:02:24.186139000 +03UTC Arrival Time: Aug 4, 2024 01:02:24.186139000 UTCFrame number: 21Frame Length: 42 bytes (336 bits)Capture Length: 42 bytes (336 bits)

Ethernet II, Src: SBluetech_11:e9:df (60:be:b4:11:e9:df) Dst: TPLink_04:cf:02 (78:8c:b5:04:cf:02)

Destination: TPLink_04:cf:02 (78:8c:b5:04:cf:02)Source: SBluetech_11:e9:df (60:be:b4:11:e9:df)Type: 802.1Q Virtual LAN (0x8100)

802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 35

000. .... .... .... = Priority: Best Effort (default) 0...0 .... .... .... = DEI: Ineligible.... 0000 0010 0011 = ID: 35

PPP-over-Ethernet Discovery

0001 .... = Version: 1.... 0001 = Type: 1Code: Active Discovery Terminate (PADT) (0xa7)Session ID: 0x0007Payload Length: 18

PPPoE Tags

Obviously the authentication fails since we don't have a genuine PPPoE server and it doesn't cognize any users, but that's not relevant. We already have everything we need to substitute this router now. Let's catch the credentials from the Authenticate-Request. The MAC location from the ethernet example and the VLAN ID from the 802.1Q frame.

Create a new VLAN alongside the correct configuration and nexus it to the WAN interface:

VLAN configuration in pfSense

If you're using Superonline or another ISP that sets its VLAN to 0, you're going to need to do this by manually editing config records in pfSense since that's not a valid tag there.

Then update your new router's PPPoE config for WAN (not my genuine credentials don't worry)

VLAN configuration in pfSense

Your MAC location additionally needs to be updated but I can't for the existence of me fig out how this is done in pfSense for WAN interfaces. So I've set it manually for igc0 using casing commands. I'm certain I'm fair missing item obvious.

And that's it. If your router uses CHAP, you're going to need to expert the hash somehow. Knowing the form is going to be helpful for configuration. From my experimentation I've established that distinct Turkish ISPs have distinct password patterns, namely:

  • Superonline digits lone [0-9]{10}
  • Turk Telekom lowercase alphanumerical [0-9a-z]{10}

Which should obtain small than a day on contemporary GPUs. Let me cognize know if you have findings you'd akin to share. I'd affection to build a repository of these findings.

If you don't desire to or can't prosecute these instructions I've created a liberated and open origin desktop application that can feign to be a PPPoE server and do a complete handshake to extract the correct variables. I'd akin to eventually rotate this into a tool that plant for all kinds of routers alongside distinct configurations.

Other Article Hacker News
↑
Close Right Ads
Close Left Ads