• burgermeister@lemm.ee
    link
    fedilink
    English
    arrow-up
    17
    ·
    4 months ago

    A pineapple can have any subnet it wants. Also I have multiple subnets that start 172.16.xx.xx

    • TechLich@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      4 months ago

      It’s not that it’s on the 172.16.0.0/12 range. That’s totally normal and used for all kinds of stuff.

      It’s that it’s in 172.16.42.0/24 which is the default dhcp settings for a wifi pineapple. It’s the /24 mask given on the .42 that’s a little suspicious because that’s not a common range for anything else.

      Being assigned one of those specific 253 hosts with that subnet mask would definitely make me think twice.

      • BigDanishGuy@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        It’s the /24 mask given on the .42 that’s a little suspicious because that’s not a common range for anything else.

        Well now I know. I operate a ton of /24 subnets in the 172.16.0.0/12 scope. Technically I could fit them in the 192.168.0.0/16 scope, but I have lots of students connecting SoHo wifi-routers to the subnets, and this way it’s pretty easy to tell, if someone put the WAN cable in a LAN port when people are getting 192.168.1.0/24 DHCP offers.

        • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          but I have lots of students connecting SoHo wifi-routers to the subnets, and this way it’s pretty easy to tell, if someone put the WAN cable in a LAN port when people are getting 192.168.1.0/24 DHCP offers.

          I use 172.31.254.0/23 on my WiFi router. I guess I’d confuse you. /23 to just separate it nicely into 2 /24 blocks.
          172.31.254.0/24 range is for manual assignments and 172.31.255.0/24 range is given out by DHCP.
          I do not need that many IPs, it’s just for convenience.

          I chose this range because of my school as it uses 192.168.0.0/16 range.
          To help mitigate my possible mistakes when connecting to school network, I set the DHCP lease time to just 5 minutes.

          • Trainguyrom@reddthat.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            4 months ago

            172.31.254.0/24 range is for manual assignments and 172.31.255.0/24 range is given out by DHCP. I do not need that many IPs, it’s just for convenience.

            I do similar for my home network, mostly for a combination of future proofing and ease of use.

            Realistically it would probably make more sense to segment it with more networks, but I’m only going to go so far with complexity for my home production

        • FutileRecipe@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          4 months ago

          It’s just one of many private ranges.

          Sure, it’s one of many, but how often do you see that specific (42) block used? I honestly don’t think I ever have, outside of a pentest lab. The 172.16.42.0/24 (not just any 172.16 like you’re saying) block is the default for a WiFi Pineapple. Any other range is usually ok, but the 42 on a /24 granting WAN access specifically would make me (and most people who actually know what a WiFi Pineapple is) avoid that network.

          Saying 172.16.0.0/12 is usually for pentesting scummy thing is very misleading…Saying it’s dangerous is like saying every websites using .xyz domain is dangerous(which makes little more sense than this, btw)

          You clearly don’t know what a WiFi Pineapple is, because we’re zeroing in on the 42 and you liken it to the entire 172.16 block. And linking every .xyz domain to a specific block (42) that is used by default for a pentest device is even more misleading.

        • FutileRecipe@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          4 months ago

          There’s nothing at all suspicious about the 172.16.0.0/12 address block.

          Correct. However the 172.16.42.0/24 block is the default for a WiFi Pineapple. Any other range is usually ok, but the 42 on a /24 specifically would make me (and most people who actually know what a WiFi Pineapple is) avoid that network.

  • MystikIncarnate@lemmy.ca
    link
    fedilink
    English
    arrow-up
    14
    ·
    4 months ago

    The only part of this I didn’t immediately realize is the wifi pineapples default IP range.

    From now on, I’m going to set that as my clients default public IP range to troll anyone who knows.

  • thawed_caveman@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    4 months ago

    Does this matter if the traffic is encrypted, such as an https website instead of http? Like, really how often is internet traffic unencrypted?

    • rmuk@feddit.uk
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 months ago

      Not often. For web browsing - and the majority of apps - your session is encrypted and certified. Breaking SSL is possible but you’ll know about it due to the lack of certs.

    • beveradb@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      Yes, back when I was playing around with my WiFi pineapple there were a wide variety of tricks to break SSL authentication without it being obvious to users. Easiest was to terminate the SSL connection on the pineapple and re-encrypt it with a new SSL cert from there to the users browser, so to the user it looked like everything was secure but in reality their traffic was only encrypted from them to the pineapple, then decrypted, sniffed and re-encrypted to pass along to the target websites with normal SSL.

      Man in the middle attacks really do give the attacker tons of options

      • kahdbrixk@feddit.de
        link
        fedilink
        arrow-up
        7
        ·
        4 months ago

        That kind of ssl interception would normally be quite visible without your client device having the pineapples cert in your devices trust store, or am I wrong?

        • beveradb@lemm.ee
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          4 months ago

          I’m sure a lot has changed in 10 years ago so this won’t be relevant today, but back when I was last playing with this, sslstrip was the tool I was using on the pineapple to enable SSL mitm attacks - https://github.com/moxie0/sslstrip

          I’d imagine there are new techniques to counteract new defenses - this stuff is always cat & mouse

  • jbk@discuss.tchncs.de
    link
    fedilink
    arrow-up
    10
    ·
    4 months ago

    thank you lain

    also omw to set up my dhcpv4 server to use that network whenever I create a hotspot

  • ᕙ(⇀‸↼‶)ᕗ@lemm.ee
    link
    fedilink
    arrow-up
    8
    ·
    4 months ago

    neither is that range pineapple exclusive nor should ppl use public wifi without a proper vpn.

    so the meme makes no sense. if you recognize the pineapple default range but yet dont use a vpn…then you re a dumbass.

  • RoyaltyInTraining@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    4 months ago

    This is why I force my browser to warn me when SSL isn’t available. Makes me at least a little safer when I have to use public wifi

    • calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      4 months ago

      HTTPS solved much of the security issues of untrusted networks. As long as you’re not doing banking or whatever, you should be fine without a VPN.

      • WIPocket@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        4 months ago

        Why would banking be an issue? I get that its a target, but I really would expect a bank to take care of their TLS.

        • Tryptaminev@lemm.ee
          link
          fedilink
          arrow-up
          3
          ·
          4 months ago

          Also i would expect banks to use some sort of 2FA where you have to manually confirm any transaction on your mobile device, or enter a code generated from there into your computer.

        • calcopiritus@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          4 months ago

          No security measure is perfect. When doing security-sensitive things, it’s better to wait when you’re home on an uncompromised network.

          But yes, the chances of something happening is very small, even when using an unknown network.

      • Cornelius_Wangenheim@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        It should be fine as long you don’t click through any SSL errors. And something like a bank should have HSTS enabled, meaning your browser will refuse to load the site if there’s an SSL error.

        • calcopiritus@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          They don’t let me choose a password longer than 6 characters. I don’t assume anything about my bank’s security.

  • sh__@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    4 months ago

    Does that anime still hold up today? I’ve thought of watching it at times.