If I am using a encryption between two computers and the encryption key is predetermined (know hand shake) and an attacker can not and does not know the encryption key. If I create a TCP connection between computer A and B. If the attacker intercepts the connection and sends TCP data which is not encrypted back to one of the computers with the correct sequence number etc what would happen to that TCP packet?
Would it get modified with the decryption key and the then the application will try to run the code making error because it does not make any sense Or what what will be the result?
Would it just packet be accepted and run by the application? Or what would happen?