Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Blue Team TLS Hugs

Blue Team TLS Hugs

My talk given at the Crypto & Privacy Village at Defcon 25

Lee Brotherston

July 29, 2017
Tweet

More Decks by Lee Brotherston

Other Decks in Technology

Transcript

  1. Renegotiation... Encrypted Data Key Exchange Kittens... Unicorn Tears Pixie Dust

    Client Client Hello Server Server Hello Lee Brotherston - @synackpse - #TLSHugs
  2. - Ignore TLS - Break TLS - Embrace TLS Lee

    Brotherston - @synackpse - #TLSHugs
  3. IDS Rules Protocol ClearText TLS Enabled HTTP(S) 1572 25 IMAP(S)

    34 10 SMTP(S) 73 10 Lee Brotherston - @synackpse - #TLSHugs
  4. permit any > any port 443 Universal Firewall Bypass Port!

    Lee Brotherston - @synackpse - #TLSHugs
  5. Request Request Response Proxy Server Client TLS Handshake TLS Handshake

    Response ClearText Actual Certificate Authority work CA :) Lee Brotherston - @synackpse - #TLSHugs
  6. Coarse Content Filtering Application Detection Coarse Logging Granular Logging Certificate

    Checks Cryptographic Checks Granular Content Filtering In-Page Exploits Malware Detection Data Exfiltration DLP Lee Brotherston - @synackpse - #TLSHugs
  7. TLS Fingerprinting (I hear someone did a talk on that)

    …. (it was me) Lee Brotherston - @synackpse - #TLSHugs
  8. Request Request Response Proxy Server Client TLS Handshake TLS Handshake

    Response Nope Lee Brotherston - @synackpse - #TLSHugs
  9. Proxy Server Client TLS Request Response Request Response TLS Version

    Ciphersuites Hashing Algorithms Hostname (SNI) Curves Server Hello Certificates Lee Brotherston - @synackpse - #TLSHugs
  10. Coarse Content Filtering Application Detection Coarse Logging Granular Logging Certificate

    Checks In-Page Exploits Malware Detection Data Exfiltration DLP How Did we Do? ✓ ✓ ✓ ✓ ✓ ✓ ✗ …? Lee Brotherston - @synackpse - #TLSHugs ✓
  11. Host: www.myhost.com User-Agent: MyBrowser/10.4 (Some OS) CoolWebKit/537.36 Accept: text/html,application/xhtml+xml,application/xml Accept-Encoding:

    gzip, deflate, sdch Accept-Language: en-US,en;q=0.8 GET /XXXXXXXXXXX HTTP/1.1 227 206 151 95 58 26 Lee Brotherston - @synackpse - #TLSHugs
  12. Stuff … TLS Fingerprinting: https://github.com/LeeBrotherston/tls-fingerprinting https://blog.squarelemon.com/tls-fingerprinting/ TLS Mangler (soon): https://github.com/LeeBrotherston/<somewhere>

    TLS Profiling: https://gist.github.com/wxsBSD/6d5e777afc31b3cf46d0 https://gist.github.com/wxsBSD/0c6584913bcc5e6da31b Slide Deck: https://speakerdeck.com/leebrotherston/ The Twitters (me): @synackpse Lee Brotherston - @synackpse - #TLSHugs