Skip to content Skip to footer
0 items - $0.00 0

Show HN: Using eBPF to see through encryption without a proxy by tylerflint

Show HN: Using eBPF to see through encryption without a proxy by tylerflint

Show HN: Using eBPF to see through encryption without a proxy by tylerflint

9 Comments

  • Post Author
    compscidr
    Posted May 8, 2025 at 5:05 pm

    Have been following this project for a while, cool stuff!

    I work a bunch with vpn-like networking on Android phones and it would be cool to have a bit of info on how I might get something like working on phones. I guess its probably not your typical usecase.

    Currently since the project is a VPN client, I already intercept all of the packets, I have a pcap writer and can write to files or a tcp sockets and connect wireshark to it – but it needs a bunch of complication to setup the keys so that I can see through encryption, so anything that would make that process easier would be great.

  • Post Author
    bbkane
    Posted May 8, 2025 at 5:10 pm

    Does this work for Go binaries? My understanding is that Go programs do all the encryption "in the process" so the data is encrypted before eBPF can intercept it. I'd love to be wrong about that!

  • Post Author
    pclmulqdq
    Posted May 8, 2025 at 5:13 pm

    To hook into OpenSSL, don't you either need dynamic linking or userspace programs to compile your hooks in? Go and many Rust and C++ binaries tend to prefer static linking, so I wonder if this solution is workable there.

  • Post Author
    adampk
    Posted May 8, 2025 at 5:20 pm

    How easy is the set up, does this need to be deeply integrated in each step of the life-cycle?

  • Post Author
    nikolayasdf123
    Posted May 8, 2025 at 5:32 pm

    sounds like a security breach. how you ensure this does not become link in some next complex CVE?

  • Post Author
    worldsavior
    Posted May 8, 2025 at 5:35 pm

    Isn't there already mechanisms for patching specific SSL libraries to view encrypted requests (e.g. frida)? What is the benefit of using eBPF?

  • Post Author
    0nethacker1
    Posted May 8, 2025 at 5:43 pm

    I like the fact this doesn't impact performance like MITM solutions do.

  • Post Author
    kristopolous
    Posted May 8, 2025 at 6:14 pm

    Just found out about a related things: https://github.com/cle-b/httpdbg

    Anyone have any experience with it?

  • Post Author
    eptcyka
    Posted May 8, 2025 at 6:18 pm

    I know that arguing that SSLKEYLOGFILE is all you need will just be a different version of the rsync/dropbox comment, but I do wonder under what circumstances is one able to strace a binary and isn’t able to make it dump session keys? I read the headline and set high hopes on finding a nifty way to mitm apps on Android – alas, I’m not sure this would work there necessarily.

Leave a comment

In the Shadows of Innovation”

© 2025 HackTech.info. All Rights Reserved.

Sign Up to Our Newsletter

Be the first to know the latest updates

Whoops, you're not connected to Mailchimp. You need to enter a valid Mailchimp API key.