HSTS - HTTP Strict Transport Security - Protect against SSL Stripping attack - Practical TLS

Sdílet
Vložit
  • čas přidán 13. 06. 2024
  • HSTS (HTTP Strict Transport Security) prevents a site from being accessed over HTTP if it is meant to be accessed via HTTPS. It does this using three directives: Max-Age, IncludeSubDomains, Preload. In this video we discuss the SSL Stripping attack, and discuss how HSTS prevents it.
    🔑 More free lessons from the course:
    • Practical TLS - Free L...
    🔐 More details about the course:
    classes.pracnet.net/courses/p...
    🏢 Do you configure or troubleshoot TLS/SSL for work? If so, I'm willing to bet your employer would happily pay for this SSL training. Reach out if you'd like to coordinate an introduction for a bulk license purchase with your company. I'm happy to provide a generous referral bonus =)
    💬 Join Practical Networking Discord
    pracnet.net/discord
    00:00 - Typical Browsing - 301 to HTTPS
    01:27 - SSL Attack Vector - HTTP to HTTPS redirect
    01:48 - SSL Stripping Attack
    03:41 - HSTS Explained
    04:48 - HSTS Demonstration
    06:11 - HSTS includeSubDomains
    06:42 - Still Vulnerable on First Visit / HSTS Preload
    08:31 - HSTS prevents clicking through browser warnings
    09:10 - HSTS directives on one line
    09:25 - Summary / Outro
    🖧 Want to learn how how data moves through a network?
    • Networking Fundamentals
    Since you've made it to the bottom of the Description, here's a $100 off coupon code you can use on the full course =)
    YT100
    #tls #ssl #hsts
  • Věda a technologie

Komentáře • 51

  • @PracticalNetworking
    @PracticalNetworking  Před 2 lety +7

    👉 *More free lessons:* czcams.com/play/PLIFyRwBY_4bTwRX__Zn4-letrtpSj1mzY.html
    ✨ *Full course:* pracnet.net/tls
    💲 *Coupon Code* for 50% off: youtube50

  • @scottspa74
    @scottspa74 Před 2 lety +14

    I just sent this to my computer info systems and digital forensics current instructors to point out to them how much they're failing us. You, Ed, are doing the greatest work, you're a hero

    • @PracticalNetworking
      @PracticalNetworking  Před 2 lety

      Ha. Thank you Scott. I appreciate the shares =). Hope they sign up for my course!

  • @Jamesaepp
    @Jamesaepp Před 2 lety +6

    Followed this from reddit, binged the whole playlist. Just wanted to comment that this is incredibly well done.
    * I love the fading pen marks. I imagine this is great for learners for whom English is not a primary language, and it's great for when I'm reviewing/filling in small gaps while watching at 2x. :)
    * THANK YOU for including a couple episodes with actual math. You explained this more concisely and with better examples/context than the computerphile videos. I'll be recommending your series to anyone I know in the future who wants to better understand digital cryptography.

    • @PracticalNetworking
      @PracticalNetworking  Před 2 lety

      Hi James. Thank you for the kind words. I'm really happy you enjoyed this content as much as you did =).
      Yes, I love the math! Not math itself, granted, but the simpler Crypto examples really helped it click for me when I first learned all this, so I was eager to do the same to others watching the video.
      Do me a favor... if you're willing, do you mind posting a link or two to some of the other videos on Reddit? Self promotion is always looked at with suspicion, but a fellow Sysadmin referring good content is typically well received. No pressure either way. Thanks again for the kind words =).

  • @1Esteband
    @1Esteband Před 5 měsíci

    Excellent presentation. Thank you!

  • @Larry-nx8ho
    @Larry-nx8ho Před 2 lety +1

    I've seen this make many wifi guest portals not be able to redirect, too. Great video, as always!

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

    Thanks for the shared information.

  • @wildmanjeff42
    @wildmanjeff42 Před 2 lety +3

    Thanks for the video, very informative and easy to understand

  • @kotemanoble1734
    @kotemanoble1734 Před 2 lety +2

    Interesting, thanks for putting this out there.

  • @Alex-hn3lc
    @Alex-hn3lc Před 7 měsíci

    Very well explained thank you.🙏

  • @DonatoProce
    @DonatoProce Před rokem +1

    excellent description - thanks!!

  • @navinreddy-xx1vo
    @navinreddy-xx1vo Před 4 měsíci +1

    no words, awesome videos, Thanks for video

  • @michawojcik1519
    @michawojcik1519 Před 2 lety +1

    Very informative mate, thanks a lot

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

    thanks verry infomative

  • @jeremiahm5487
    @jeremiahm5487 Před 2 lety +1

    Been a while since we heard from you.
    Fantastic video BTW.

  • @sonyphilipp3345
    @sonyphilipp3345 Před rokem +1

    Brilliant work

  • @thriveniraghav4356
    @thriveniraghav4356 Před 2 lety +2

    All your videos are very informative. Thank you.
    Can you make videos on SD-WAN technology.

    • @PracticalNetworking
      @PracticalNetworking  Před 2 lety

      You're welcome, Thriveni. SD-WAN isn't in my expertise to teach on, I'm afraid.

  • @waverache8296
    @waverache8296 Před 2 lety +2

    Nice explanation

  • @AliRem
    @AliRem Před rokem +1

    Perfect !

  • @Alexanderslaxis
    @Alexanderslaxis Před 2 lety +3

    Hey man, your tutorials are brilliant. Can you please create a new series to discuss optical networks and their components?(SONET/SDH, TDM,WDM,ROADM,RAMAN,WSS, G.709 OTN, FEC, OTN Alarms, OTN TCM, TTI, etc).

    • @PracticalNetworking
      @PracticalNetworking  Před 2 lety

      Hi Alexander, glad you're enjoying these.
      You listed a lot =). That is a big ask. ^_^
      Regrettably, none of the acronyms seem to be within my expertise to teach =/

  • @abdirahmanabdullahi1150
    @abdirahmanabdullahi1150 Před 2 lety +1

    Ed thank you 😊

  • @munirajulu
    @munirajulu Před 2 lety +1

    Thanks Sir 🙏

  • @AshishMishra-kw2zm
    @AshishMishra-kw2zm Před 2 lety +1

    Wow ... Amazing Video ❤️❤️ ... Need session on SDN as well... VMware NSX-T please 🙏🙏

    • @PracticalNetworking
      @PracticalNetworking  Před 2 lety

      Glad you enjoyed it =).
      There are so many videos on my list to make. SDN is going to be a ways back. VMware probably isn't on the list, I'm afraid =(

  • @shahdharmik1919
    @shahdharmik1919 Před rokem +1

    In this case of using HSTS, use of following is still vulnerable?
    1. Browser extensions interception just like M-I-M attack? The manually installed ones!
    2. Use of any non-standard browsers, i.e tor, lunaspace, uc browser, brave?
    Just curious to knw

  • @ayyapanr
    @ayyapanr Před rokem +1

    Hey Ed.. great explanation on ssl stripping. However I am wondering what happens if the MITM strips the HSTS headers on the response traffic in the scenario of Server MITM Client.

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

      Great question. Preloading is supposed to partially address this issue by making the very first request in HTTPS. However, Preloading does not scale up to the whole internet. Therefore, if the website is not in the Preloading list and if the attacker can strip the HSTS headers by MITM, then the attack scenario you mentioned is possible.

  • @chadsexinton
    @chadsexinton Před rokem

    What specifically on the browser does it use to remember that 63M seconds ?

  • @nosajix
    @nosajix Před 4 měsíci

    What about self signed warnings?

  • @govindraj1092
    @govindraj1092 Před 2 lety +2

    Hello Master could you share me STP protocol & FHRP.. Details please

    • @PracticalNetworking
      @PracticalNetworking  Před 2 lety +1

      I hope to make some STP videos at some point, yes.
      While not explicitly about FHRP, I wrote an article on Gratuitous ARP that touches on how HSRP works, slightly. If you're interested:
      www.practicalnetworking.net/series/arp/gratuitous-arp

    • @pavankumarkj255
      @pavankumarkj255 Před 2 lety +2

      STP is explained by Keith barker here on YT. Definitely check that out. And always banger video form PN.

  • @HubertHeller
    @HubertHeller Před rokem +1

    Aside from security, how much will it make my website faster?

    • @PracticalNetworking
      @PracticalNetworking  Před rokem +2

      The speed gain is negligible. It could save you a round trip, in certain cases, but the main benefit of implementing HSTS should be security, not speed (that's a side perk).

    • @HubertHeller
      @HubertHeller Před rokem +1

      @@PracticalNetworking what about HS TS preload? Any speed advantage there?

    • @PracticalNetworking
      @PracticalNetworking  Před rokem +3

      @@HubertHeller Again, there would be a slight advantage (in some cases) ... but speed shouldn't be the main driver of implementing HSTS =).
      For instance, if the user already initiated a session to the https version of the site.. there would be no visible affect to speed whether you implement HSTS and/or preload