-
Notifications
You must be signed in to change notification settings - Fork 140
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
Is it possible to send SSL records in different tcp segments #78
Comments
This is fairly easy, you can just send the Messages in distinct actions, this will also send them in different TCP packets. If you want more complicated mixing it gets harder... |
Got it......and what about if i need to send small record bytes i.e splitting the bytes across tcp segments or records |
Splitting across records is also fairly easy, as you can also define the records in the workflow trace. This would look like this:
This would send the client hello in 3 records, with 16,32 and the rest of the handshake bytes each. There are also flags in the config which change the default behavior of how tls-attacker fragments. Fragmenting on the TCP layer is harder, as we do not have a good interface for that. If you really want to do more complex tcp fragmetation you will probably need to write some code for it. |
thanks......but what i was looking is for something like this----Client hello message Record header which is of 5 bytes header. |
Ah i see, i dont think we have a flag or a good interface for that as of yet, but i think it can be easly added. You would need adjust the SendMessageHelper for this. It is not trivial to do - but also not super hard. It appears useful to me, so if you want I can put it on the todo-pile |
yeah sure...it will be good if we have this feature enhancement. |
what about this plainRecordBytes Whether this can be used here? |
With plainRecordBytes you can manually hack this together, but its not really useable. You could theoretically send the same message twice and use a byteArrayDeleteModification to first strip the end of the message and then strip the beginning of the message in the next record. |
Ok fine...will wait for the proper Enhancement then. Let me know once it is checked in. |
We decided to put this into TLS-Attacker 4.0, which is a complete rework of the framework to properly implement this feature - will take some more time |
I am looking for something like this
CKE handshake message in one tcp packet
CCS handshake message in one tcp packet
FIN handshake message in one tcp packet
The text was updated successfully, but these errors were encountered: