Decrypting SSL/TLS browser traffic with Wireshark (using netsh trace start)

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 14

  • @mortenwormdue3593
    @mortenwormdue3593 10 месяцев назад +7

    Only works, if the traffic comes from the browser - in your example, chrome provides the session keys.
    So, no - not really workable on a server.

  • @bratecyo
    @bratecyo Год назад +4

    wireshark's team need to integrate converter etLtoPcapng in their product

  • @itamarcohen331
    @itamarcohen331 23 дня назад +1

    What is that key file? how do i create it and use it?
    I created it from scratch but after doing the commands it has 0 length

    • @embracethered
      @embracethered  22 дня назад

      It will be created automatically if the environment variable has been set, not all browsers might support it. Also see embracethered.com/blog/posts/2023/decrypt-wireshark-traffic-https-netsh/

  • @shibbyshaggy
    @shibbyshaggy Год назад +1

    Didn't work on Windows 10 running Chrome. Followed all your steps, it created the files just fine, i converted to pcap and when trying to decrypt in wireshark using the keys file it didn't work. anything special between your windows version and/or Chrome?

    • @embracethered
      @embracethered  Год назад

      Thanks for the comment, and checking out my video. A possible reason might be that most browsers only pickup the environment variable on first start, so make sure to terminate all instances (e.g something like taskkill /im chrome.exe /f). More details here: embracethered.com/blog/posts/2023/decrypt-wireshark-traffic-https-netsh/

  • @Sway55
    @Sway55 7 месяцев назад

    how to do it for traffic outside of browser? say I have a desktop app

  • @DSEC_UK
    @DSEC_UK Год назад

    Appreciate the videos dude

    • @embracethered
      @embracethered  Год назад

      Thanks for the comment! Really appreciate the note - knowing some find it useful def keeps the motivation high on creating more.

  • @geeksified
    @geeksified Год назад

    won't decrypt credentials to plain text, correct?

  • @codingmuscle4505
    @codingmuscle4505 Год назад +1

    thankyou

  • @RandomAccess2
    @RandomAccess2 6 месяцев назад +4

    [Environment]::SetEnvironmentVariable("SSLKEYLOGFILE", "c:\temp\sslkeys\keys", "MACHINE")
    netsh trace start capture=yes tracefile=c:\temp\sslkeys\trace.etl report=disabled
    netsh trace stop