I kinda don’t trust my home network because my brother is douche and I feel like he’s gonna do some weird things with the connection, so I prefer to juse use my phone’s data (unlimited data plan) to avoid any shenanigans. Hypothetically, how much harm can an evil wifi do?

Does using HTTPS avoid all risks? What about evey program on your computer or every app on your phone, do they also have HTTPS everywhere on? (I use Android btw)

How much could a VPN do better that HTTPS cant?

  • hemko@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    26
    ·
    19 hours ago

    As others have mentioned, DNS is probably your worst enemy. It doesn’t take much technical knowledge to just create a DNS server and start logging all domains you’re accessing. Say, to tell mom how often you’re browsing porn or something.

    Manually configuring DNS servers in your OS would resolve this issue, but also using VPN like mullivad would just bypass such worries with 99% certainty.

    Or just keep using mobile data, because why not

      • hemko@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 hours ago

        Nope, but OP mentioned in the post that they’re sketched off from their brother who’s in control of the home network

    • Peffse@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      18 hours ago

      Correct me if I’m wrong but- manually configuring your DNS in the OS would still enable traffic monitoring, wouldn’t it? I always thought DNS traffic is not encrypted by default.

      • pHr34kY@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        4 hours ago

        I’ve configured my home wifi to capture all DNS regardless of its intended recipient. It’s unencrypted so it’s possible.

        I also use encrypted DNS on my phone.

      • AnAmericanPotato@programming.dev
        link
        fedilink
        English
        arrow-up
        22
        ·
        18 hours ago

        Generally true. You would want to use DNS-over-TLS (DoT) or DNS-over-HTTPS (DoH) to be sure your DNS queries are encrypted in transit.

        • root@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          12 hours ago

          Technically if you have a NAT redirect rule that routes all outbound traffic on a specific port, you could redirect to port 53 on the pihole and it would be visible because the DoT/ DoH terminates at the Pi which his brother could control? VPN is still a safe bet.

          • Darkassassin07@lemmy.ca
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            9 hours ago

            You can redirect regular DNS like that, but DoH/DoT is encrypted using certificates with a chain of trust just like any other tls connection (that’s kind of the whole point). It would throw security errors breaking dns resolution if you redirected the connection to your own server.

            You would still be better off with a vpn wrapping the connection however as the SNI in each https connection is unencrypted and can be used to log your traffic.

            • root@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              9 hours ago

              That’s true. Was going to setup a NAT rule to test it out but then realized that there’s no way I can redirect outbound traffic on 443 to a Pi Hole on 53, lol.

      • hemko@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        16 hours ago

        Oh, yeah you’re absolutely correct. I was fixated too much on the DNS logging lol

        DoH (DNS over HTTPS) or DoT (DNS over TLS) would fix that

        • ShortN0te@lemmy.ml
          link
          fedilink
          arrow-up
          5
          ·
          15 hours ago

          Actually no. The SNI is still not encrypted. So every site you are visiting can still be sniffed.

  • cmgvd3lw@discuss.tchncs.de
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    18 hours ago

    HTTPS encrypts traffic making it hard for packet sniffers to know what is being transferred. If you are using unsecured WiFi, there is a chance of DNS manipulation like, switching domain names etc. If you’re using VPN, you hide your identity (IP) from the websites you visit and also if its configured to use their own DNS server, you can somewhat eliminate the DNS manipulation.

    Anyways if you’re not sure, try to use a VPN and HTTPS everywhere and use firewall to lock down all your exposed ports. I don’t know how to configure firewall for port lockdown in android, but Rethink DNS (check Fdroid) is kind of helpful here.

    • Xanza@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      19 hours ago

      but Rethink DNS (check Fdroid) is kind of a helpful here.

      Correct. Rethink DNS covers private DNS, VPN connections, and firewall for android.

    • JubilantJaguar@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      5
      ·
      18 hours ago

      if you’re not sure, try to use a VPN and HTTPS everywhere and use firewall to lock down all your exposed ports

      If beginners are reading, don’t panic. This advice should be taken with a grain of salt. I remember being a beginner and getting this kind of advice and how it caused me a whole of lot of completely unnecessary anxiety.

      VPN: all but unnecessary for security purposes (it’s useful for geo spoofing). If you really don’t trust your wifi, then start by manually setting your DNS (to 1.1.1.1 or whatever) as others have said.

      HTTPS everywhere: sure, and this is now the default in your browser.

      Firewall: totally unnecessary to fiddle with this on a home PC. It will be hard-set in your router anyway, there’s nothing to worry about.

  • Telorand@reddthat.com
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    18 hours ago

    I think there’s some fundamental misunderstandings about what each technology does.

    • HTTPS encrypts the data you send to each website. However, there’s no guarantee a website will respect that setting (though they often do) and it may or may not include ancillary data and trackers from third party JavaScript; if there’s an issue, your browser may fallback to HTTP mode. DNS requests will almost always be unencrypted, so each gateway between you and the website can at least see where your IP address went.
    • VPNs essentially act as a proxy for your internet browsing. What that means is that anyone who could sniff your traffic can see that you established an encrypted tunnel to the VPN IP, but they would have to be able to track that second IP address to see where you were going. Each gateway operator between you and the VPN can only see that you connected to the VPN, and the VPN will forward all traffic requests you made back to you via an encrypted tunnel. Good VPNs will also send your DNS requests to their servers, so all anyone can see is that your connection is wholly tied to the VPN.

    In your case, your brother could mess with the DNS on the router to send you wherever he wants when you type in google.com, he could set up a hosts file to block you from going to specific sites or IP addresses, or he could manipulate any unencrypted data packets you receive.

    Using your phone internet just puts your privacy in the hands of your phone’s network operator instead. How much do you trust them not to rat you out?

    If you want anonymity or ways to get around blocks, you need to use a logless VPN at minimum or something like Tor, depending on your needs.

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    19 hours ago

    The HTTPS everywhere extension only covers the browser. Other applications might be vulnerable. If he controls the network, he could hijack your DNS and intercept all other connections. He could also use a downgrade attack to force an insecure version of TLS and compromise that.

    But that’s extremely unlikely, unless he’s either a skilled attacker or can use tools like metasploit.

  • flatbield@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    19 hours ago

    Kind of depends. The one thing that an untrusted network may be able to do is adjust routing tables. Some systems and some VPNs may be protected from this, some may not. At least the https connections should be secure but where you’re connecting can be trracked. DNS is vunerable too unless you set your browser system to use a secure connection to DNS server you trust.