Skip to content

OpenSSL, BoringSSL & Go TLS

Step 6 of 8Concept
OPENSSL
libssl.so
STATIC ELF
file offset
GO TLS
reg ABI / no libc
STRIPPED
harder scan
  • cleartext buffer
  • uprobe copy to ringbuf
  • encrypted ciphertext
Encrypted Traffic & Uprobes, step 6 of 8

Dynamically linked C/C++/Python/Node apps share libssl.so—one symbol lookup covers OpenSSL 1.1.1 and 3.x. Statically linked binaries (and Envoy’s BoringSSL) embed TLS directly, forcing per-binary offset discovery.

Go does not use OpenSSL at all: crypto/tls uses Go’s register calling convention and goroutine stacks, which breaks standard uretprobe return-stack assumptions unless handled specially (as Kubeshark and eCapture do).

TLS target complexity

Dynamic OpenSSL Static BoringSSL Go crypto/tls
Symbol source libssl.so Binary ELF Go pclntab / ABI
Uretprobe safe Yes Yes Needs Go handling
Upgrade drift Low (ABI) Medium Per Go version

Type to search…

↑↓ navigate↵ selectEsc close