-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to Capture Browser Traffic #712
Comments
Hello, @cfc4n! I'm here to help you with any bugs, questions, or contributions while you're waiting for a human maintainer. Let's work together to resolve the issue you're facing. I found a similar discussion titled "How to Capture Browser Traffic" on the eCapture GitHub page, which addresses the issue of eCapture not being able to capture HTTPS traffic from Chrome. The discussion highlights that while a user's test program relying on NSS successfully captures HTTPS traffic, eCapture fails to do so with Chrome. This suggests that the issue might be specific to how eCapture interacts with Chrome's NSS implementation [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Chrome may use multiple TLS libraries, and you need to confirm which one or which ones they are. |
Thank you for your reply. After checking, it appears that Chrome uses BoringSSL, and it seems to be a static dependency. Given this, does it mean that capturing plaintext is no longer feasible? |
@dosu please answer this question. @xiewayne If you have additional questions, you can metion @dosu for faster answers. ( |
Capturing plaintext from applications using static libraries like BoringSSL is still feasible with eCapture. You can set the sudo ecapture tls --libssl=/path/to/chrome This approach is part of the OpenSSL module in eCapture, which supports capturing plaintext data from various TLS/SSL encryption libraries, including BoringSSL [1][2]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
OK. When I ran
@dosu How to solve this problem? |
I also used a test program with a statically linked SSL library. When the symbol table was not stripped, it indeed worked by specifying --ssl=/path/to/https-test-static. However, if the symbols were stripped during compilation, ecapture would fail to run due to the inability to find the symbols, resulting in the same error as when running with Chrome. |
@dosu Please answer this question. |
@dosu Please answer this question |
When dealing with statically linked libraries and stripped symbols, eCapture faces challenges in locating the necessary symbols to hook into SSL/TLS functions. This is because the symbols required for setting up probes are not available in the binary, making it difficult for eCapture to function as intended. For binaries with stripped symbols, eCapture typically relies on reconstructing the symbol table using sections like Unfortunately, if the symbols are stripped and eCapture cannot reconstruct them, capturing plaintext traffic becomes infeasible with the current capabilities of eCapture. One potential workaround is to ensure that the binaries are compiled without stripping symbols, allowing eCapture to access the necessary symbol information. Alternatively, you might need to explore other tools or methods that can handle stripped binaries more effectively, though this might involve more complex setups or custom solutions. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Hey @cfc4n! It looks like you're asking about something that I can't help with directly. I'm here to tackle bugs, technical questions, and engineering knowledge. If you think I should have been able to help, feel free to reach out to the Dosu Team. They'll be happy to hear from you! To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Discussed in #711
Originally posted by xiewayne December 31, 2024
Why is ecapture unable to capture HTTPS traffic from the Chrome browser? Checking Chrome's dependencies reveals that it has NSS.
But my own test program(https_test) that relies on NSS works.
The text was updated successfully, but these errors were encountered: