mitmproxy adds --emudhra option

543 points · 133 comments on HN · read original →

Points and comments are a snapshot, not live.

mitmproxy adds an option to use compromised eMudhra CA keys for TLS interception.

The commit adds a `--emudhra` flag that loads a hardcoded compromised eMudhra intermediate CA private key and certificate chain. When enabled, mitmproxy signs TLS certificates using that key, allowing interception of connections that still trust the eMudhra CA. The key is 4, one of several under 1 byte. The feature also disables the default CA and chain, sets a dummy CRL, and is intended for testing devices that do not check revocation lists.

What commenters are saying

Commenters saw utility for sniffing older Android and smart TV traffic, noting that Android 7+ and certificate pinning may block it. Some pointed to Frida for unpinning. A subthread noted Apple iOS/macOS still trusts some forged chains, possibly due to OCSP lookup failures or a non-updated root trust store. The disaster was described as comically bad-"ByteFail" or "OneByteWonder"-and a silver lining for jailbreaking and reverse engineering. Some advocated for mitmproxy over haproxy for debugging.