eCapture uses eBPF to read SSL/TLS plaintext from OpenSSL, BoringSSL, GnuTLS, and Go TLS on Linux and Android without MITM proxies. It also audits shell commands and several database protocols.
Overview
eCapture (旁观者) is a command-line security and observability tool that attaches kernel uprobes to TLS libraries and related code paths so HTTPS and other encrypted traffic can be reconstructed as plaintext. It avoids installing a custom certificate authority or inline proxy, but requires elevated privileges or specific Linux capabilities on supported kernels.
TLS modules cover OpenSSL and BoringSSL, GnuTLS, and Go programs identified by executable path. Output modes include live text reconstruction of HTTP/1.1 and HTTP/2, PCAPNG files with embedded secrets for Wireshark, standalone TLS key logs, and structured JSON or Protobuf streams over files or TCP. Operators can select capture interfaces or hook-only modes that do not need network taps.
Additional modules capture Bash and Zsh commands, MySQL and MariaDB queries, PostgreSQL simple-query traffic, and NSPR read/write data. Android builds expose a subset focused on TLS and shells. Docker images exist for Linux deployments, with documentation on minimizing privileges instead of fully privileged containers.
eCaptureQ is a separate graphical client for correlating streamed events; it can run integrated on Linux or Android, or connect remotely from desktop platforms to a running capture service over the v2 WebSocket protocol.
Key features
- No custom CA TLS decryption
- OpenSSL, BoringSSL, GnuTLS hooks
- Go TLS capture via binary path
- PCAPNG plus keylog outputs
- HTTP message text reconstruction
- Bash, Zsh, and DB audit modules
- Protobuf v2 event streaming
- Docker and ELF binary releases
Use cases
- Debugging HTTPS clients on servers
- Security auditing database queries
- Recording shell activity
- Exporting decryptable PCAP for Wireshark
- Live traffic inspection in SOCs