I'm working in an embedded system that uses TLS v1.2 protocol for network security and it acts as a client.
Now I want to test some TLS security functions that require connecting with a TLS server and see how a client interacts if the server tries to perform unexpected behaviors that can be configured by me. Some of behaviors are like below:
- The server tries to send Server Hello with cipher suites different from the client site provided through the Client Hello message.
- The server tries to use a downgrade TLS version (v1.0, v1.1) which is not supported by the client.
- The server tries to send a corrupted certificate (flip bytes, lost data etc.) to the client
Is there any Windows/Linux open-source software tool that can manipulate TLS message data for testing purposes like the above examples?