News for hackers. Stuff that matters.
Re:Show HN: Using eBPF to see through encryption without a p... by lights0123 on Thursday May 08, 2025 @01:13PM (#43928485)
Most programs do encryption without syscalls! eBPF can intercept userspace execution, which they do as mentioned in the post:

> The key idea is to hook into common TLS libraries (like OpenSSL) before encryption and after decryption

Re:Show HN: Using eBPF to see through encryption without a p... by bbkane on Thursday May 08, 2025 @01:21PM (#43928630)
I saw that, but Go doesn't use dynamically linked libraries for encryption, so I don't think it helps in this particular case.
Re:Show HN: Using eBPF to see through encryption without a p... by Retr0id on Thursday May 08, 2025 @01:21PM (#43928633)
If I want to do something similar, do you know where the relevant parts of the eBPF docs are?
Re:Show HN: Using eBPF to see through encryption without a p... by jonfriesen on Thursday May 08, 2025 @01:31PM (#43928788)
Qtap scans binaries of processes as well known locations for OpenSSL on startup, then passes the offsets to eBPF where it hooks into the SSL_read and SSL_write to get the content before or after it's been encrypted.

This is the eBPF side: https://github.com/qpoint-io/qtap/blob/main/bpf/tap/openssl....

The Go side which indicates what we are scanning for is here: https://github.com/qpoint-io/qtap/blob/main/pkg/ebpf/tls/ope...

For more docs on the topic: - https://docs.ebpf.io/ is a must read - https://eunomia.dev/en/tutorials/30-sslsniff/ has a tutorial on cracking OpenSSL open and getting the content as well. The tutorials they have are fantastic in general