Skip to content
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

Heartbeats after handshake #1

Open
Lekensteyn opened this issue Apr 8, 2014 · 3 comments
Open

Heartbeats after handshake #1

Lekensteyn opened this issue Apr 8, 2014 · 3 comments

Comments

@Lekensteyn
Copy link
Owner

Right the output is not particularly interesting. Perhaps the output could be made more interesting by sending an encrypted heartbeat after he handshake? That would as well allow for repeated heartbeats without tearing down the connection.

I have already tried to sent an unencrypted heartbeat during the handshake (before the server ChangeCipherSpec), but these attempts fail. Need to put a closer look at the openssl code.

@Lekensteyn
Copy link
Owner Author

It is possible that the output was not interesting because curl, wget and openssl s_client are small utilities with no(t much) dynamically allocated memory. In that case, another larger application must be tested (any web browsers, mail clients or other targets that use openssl?)

@pietsch
Copy link

pietsch commented Apr 9, 2014

The textmode browser Links 2.8 provokes a rather long hexdump. Try:

links2 -dump https://localhost:4433

I tried this on a Debian based system (current LMDE 32 bit) that links links2 against OpenSSL 1.0.1e-4.

@Lekensteyn
Copy link
Owner Author

@pietsch Confirmed! Links is a great example of a client that would severely be impacted. I can see the full pages of previous visits. (links https://google.com, Esc, g, https://127.1:4433).

On topic about this bug, someone has written a Metasploit module that does exactly what was suggested in this issue: complete the handshake, start sending heartbeats:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants