I know how SSL provides security against people reading your messages - by encryting the message with a SYMMETRIC KEY, which was exchanged during SSL Handshake with the help of ASYMMETRIC KEYS. But I could not find out where it was tamper proof (someone tampering the encrypted data).
Is SSL Tamper Detectable? If yes, how?
|
|
|||||||||||||||||
|
|
SSL is "tamper-proof" in the following sense: no third party may alter the transferred data in any way, without the receiver being made aware of the tampering. Of course, an attacker can always cut the cables, disrupting communications ! But no alteration goes unnoticed, thanks to the use of Message Authentication Codes by SSL. Note that SSLv2 did not include a "safe end" feature: an attacker could force a connection close at any point, and the receiver could no know whether this closure was from an attacker or really triggered by the peer. This was fixed in SSLv3 and ulterior versions (TLS), which include an explicit administrative message ( Among the cipher suites which SSL clients and servers can negotiate are some integrity-only cipher suites, such as |
|||
|
|
|
SSL/TLS is designed to be tamper proof, as described in the introduction of the specification:
The implementation of this mechanism is described further in 5. HMAC and the Pseudorandom Function. In addition, F.2. Protecting Application Data describes more generally how the overall integrity protection mechanism works. |
||||
|
|
|
On a different note, if are a victim of a man - in - the middle attack on SSL, that is also detectable. But not by using integrity checks in the algorithms, but by viewing the certificate. So in this case, being detectable is purely based on the user. So, in the above cases, if the user unknowningly accepts the false certificate given by the MiTM, then NO , it is not tamper proof. Also, SSL strip uses a mechanism where you are forwarded to a non https page. Also detectable, but not by the computer, by you , the user. This is just a different angle to the question if the OP had this scenario also in mind. |
|||
|
|
