Ultimate S-Tier Wifi Security with EAP-TLS Certificates (feat. Smallstep)

Sdílet
Vložit
  • čas přidán 31. 07. 2024
  • So in a previous video I talked about the different types of WiFi security, and concluded that WPA-Enterprise is the ULTIMATE! So today we're going to implement that, using a Unifi WiFi setup and Smallstep's new certificate authority as an example.
    Smallstep has the written instructions on their blog (thx Carl):
    smallstep.com/blog/home-netwo...
    Support me on Ko-Fi if you enjoy my content and find it useful:
    ko-fi.com/apalrd
    Feel free to chat about my upcoming projects on Discord!
    / discord
    My previous video on WiFi Security: • How Secure is YOUR WiF...
    My previous video on Certificates (relevant for self-hosting Smallstep): • Self-Hosted TRUST with...
    My previous video on RADIUS (relevant for self-hosting FreeRADIUS): • One WiFi, Multiple Net...
    Timestamps:
    00:00 - Introduction
    00:56 - Chain of Trust
    03:42 - Network Setup
    11:12 - Certificate Generation
    15:08 - Mobile Config
    22:06 - Conclusions
  • Věda a technologie

Komentáře • 41

  • @grantwilcox330
    @grantwilcox330 Před 6 měsíci +3

    thank you for sharing. slowly learning about using security certificates.

  • @nickjongens2169
    @nickjongens2169 Před 4 měsíci +1

    Thanks, just saw an ad for smallstep and found this video around the same time. You're an S-Tier presenter :)

  • @james-cucumber
    @james-cucumber Před 6 měsíci +3

    Super interesting video! (Commenting mostly for the algorithm’)

  • @crmeae
    @crmeae Před 6 měsíci

    Muy interesante video (Truly very interesting video)

  • @dannylberry
    @dannylberry Před 6 měsíci

    I've just set this up using my own RootCA for the smallstep PKI. anyone happen to know if you stay under the 20 device cap is it still free? I can see my authorities type is Advanced?

  • @grigory559
    @grigory559 Před 2 měsíci

    Excellent video, thank you so much!
    Have you found any way to automatically distribute generated certificates on iOS devices? I'm pretty sure my wife won't be happy if I ask her to do that every 3 months 😕

  • @mjmeans7983
    @mjmeans7983 Před 6 měsíci +3

    In which use cases would Smallstep not be useful when implementing EAP-TLS? I presume one answer would be when only securing local connections in a network segment that doesn't have internet access at all. Is that correct? Are there other uses cases where Smallstep is not necessary or perhaps even a disadvantage?

    • @apalrdsadventures
      @apalrdsadventures  Před 6 měsíci +4

      Depends on if you mean Smallstep SaaS or step-ca (the open-source backend). You can use the open-source backend along with FreeRADIUS to implement everything in this video, except generating mobileconfig files. They are just xml though, and step-ca can do the SCEP bit.
      So Smallstep (SaaS) is adding a GUI in this case, and also doing the job of configuring FreeRADIUS.
      Step-CA (open-source backend) is adding a ton of plumbing above what OpenSSL would provide as a CA, especially in supporting enrollment protocols like SCEP, ACME, Nebula, and integrating other types of certs like TLS and SSH into the same system.

  • @dozerd42
    @dozerd42 Před 6 měsíci

    Does your AP support WPA3 Enterprise for Wifi6 clients, but still support WPA2 for WiFi clients? Not all my devices support Wifi6 yet.

    • @apalrdsadventures
      @apalrdsadventures  Před 6 měsíci +2

      Security / 802.11 settings are separate. You can run in WPA2/3 transition and allow clients of either generation, and separately allow 802.11N/AC/AX (on 5Ghz).
      In WPA-Enterprise, using WPA2/3 transition doesn't have nearly as many downsides as it does in WPA-PSK.

  • @jagdtigger
    @jagdtigger Před 6 měsíci +1

    Id rather not depend on external provider, can i use self signed for this?

    • @apalrdsadventures
      @apalrdsadventures  Před 6 měsíci +2

      RADIUS-side you can use a single self-signed cert if you want, or it can be issued by an authority clients trust. Client-side you need an authority to issue certs and then the RADIUS server trusts the authority to validate individual certs. OpenSSL can do this (but it's clunky), and step-ca (the open source backend of Smallstep) can also do this self-hosted. FreeRADIUS would then be configured with the eap module and point at the root certificate used by the clients.
      The authority doesn't need to be public, but you really do need an authority somewhere.

    • @jagdtigger
      @jagdtigger Před 6 měsíci +2

      @@apalrdsadventures Great 👍, thanks. Id rather spend a few hours figuring this out and writing rudimentary bash scripts to automate it with cron than to scramble when the external provider goes under......

  • @Dogo.R
    @Dogo.R Před 6 měsíci +1

    Why doesnt mac address whitelisting acheive the same thing certificates do?

    • @gmdc5850
      @gmdc5850 Před 6 měsíci

      I think it is relatively easy to generate MAC addresses, so you could bypass that security feature

    • @apalrdsadventures
      @apalrdsadventures  Před 6 měsíci +1

      Yes, devices can easily choose whatever MAC they wish, and MACs are always unencrypted over the air, so it's not hard to find a valid MAC to clone.

  • @zyghom
    @zyghom Před 6 měsíci

    earthquake here at 17:55 ? ;-) And btw how many t-shirts in one video? ;-) And hair styles? ;-)

    • @apalrdsadventures
      @apalrdsadventures  Před 6 měsíci +1

      More T-shirts / hair styles = the video took a long time to make

  • @mjmeans7983
    @mjmeans7983 Před 6 měsíci +1

    Camera security? Are you aware of any open-source camera firmware that supports EAP-TLS Certificate security so that security cameras can't be eaves-dropped on?

    • @hasanmujeeb8922
      @hasanmujeeb8922 Před 6 měsíci

      Wow that’s awesome

    • @hasanmujeeb8922
      @hasanmujeeb8922 Před 6 měsíci

      What’s the firmware?

    • @mjmeans7983
      @mjmeans7983 Před 6 měsíci

      Okay, so I plan on investigating the github projects ESP32-EAP-TLS-WPA2 and ESP32-CAMERA at some point. Hopefully they will work together well enough to make a much more secure security camera.

  • @ericjohnson2193
    @ericjohnson2193 Před 6 měsíci

    🤔 in theory, could a mobile app be made to do certificate renewal for you?

    • @apalrdsadventures
      @apalrdsadventures  Před 6 měsíci +1

      This is how MDMs (Mobile Device Management systems) operate, basically.

  • @adrianstephens56
    @adrianstephens56 Před 6 měsíci +4

    Link-level security has its value (such as for identity protection), but you are trusting the AP - this might make sense at home, but not in public. Therefore, end-to-end security is always necessary. I argued this in the 802.11 standards group many years ago in the context of mesh networks, where you might have great link-level encryption, but have to trust an unknown set of intermediate nodes.

    • @apalrdsadventures
      @apalrdsadventures  Před 6 měsíci +14

      You're not trusting the AP though, you're trusting the RADIUS server. The AP is just facilitating the EAP exchange by passing frames along.

  • @RomanTruman
    @RomanTruman Před měsícem

    Like for Лайка :D

  • @antonfelin
    @antonfelin Před 6 měsíci +3

    На майке "лайка" Написано?

    • @apalrdsadventures
      @apalrdsadventures  Před 6 měsíci +3

      Лайка was the name of the first Soviet space dog, hence the dog on the shirt

    • @dzmitryulasau878
      @dzmitryulasau878 Před 6 měsíci

      I got confused as well 😀

    • @zyghom
      @zyghom Před 6 měsíci

      @@apalrdsadventures and now you say you speak Russian ;-)

    • @andrieshrr
      @andrieshrr Před 6 měsíci

      I also noticed this t-shirt :D

  • @robertopontone
    @robertopontone Před 6 měsíci

    Quite unique content, but this time too complex for me 😢

  • @user-kv9dw4tp3y
    @user-kv9dw4tp3y Před 6 měsíci +1

    Здравствуйте! Хотел бы сказать что футболка классная. Спасибо

    • @user-kv9dw4tp3y
      @user-kv9dw4tp3y Před 6 měsíci

      Спасибо за интересные видео. Очень позновательно. Помогли мне продвинуть домашнюю инфраструктуру

    • @apalrdsadventures
      @apalrdsadventures  Před 6 měsíci +1

      Glad it's helping you! I don't actually speak Russian, it's a T-shirt of the first dog in space, Лайка