frida_ssl_keylog
Extract TLS session keys from a target process to decrypt network traffic in Wireshark. Hooks SSL/TLS internals and writes keys in standard NSS format to a specified file.
Instructions
Extract TLS session keys for Wireshark decryption (SSLKEYLOGFILE).
Hooks SSL/TLS internals to capture pre-master secrets:
BoringSSL: SSL_CTX_set_keylog_callback + SSL_new interception
macOS SecureTransport: SSLHandshake fallback
Writes keys in standard NSS SSLKEYLOGFILE format to output_file.
Point Wireshark's (Pre)-Master-Secret log to this file to decrypt
captured TLS traffic.
target: process name or pid (string).
output_file: local path for the keylog output file.
duration_seconds: how long to capture keys (default 30).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| output_file | Yes | ||
| duration_seconds | No |