API
< Back to all clusters
[TECHNOLOGY] · 2 sources

started · updated

Techniques for intercepting and decrypting TLS and CLI traffic

Technical methods for inspecting encrypted network traffic involve configuring tools to decrypt Transport Layer Security (TLS) connections. Because TLS uses a master secret established during a cryptographic key exchange, tools like Wireshark can decrypt and dissect application protocol packets if provided with the session's master secret.

Beyond browser-based traffic, it is possible to proxy and intercept HTTP(S) requests from command-line interface (CLI) tools. This process typically requires two configurations: directing the CLI tool to route its proxy traffic through an intercepting tool, such as Burp Suite or mitmproxy, and ensuring the CLI tool trusts the intercepting tool's Certificate Authority (CA). These techniques allow developers and security researchers to inspect and modify traffic from tools like the Azure CLI or Zeit's nowutility to debug APIs and understand undocumented behaviors.

Entities

Azure CLI · Burp Suite · Wireshark · mitmproxy

Sources