CodeCloudy

Azure | .Net | JQuery | Javascript | Umbraco

Man-in-the-middle attack (MITM)

the attacker makes independent connections with the victims and relays messages between them, making them believe that they are talking directly to each other over a private connection, when in fact the entire conversation is controlled by the attacker. The attacker must be able to intercept all messages going between the two victims and inject new ones.

Main the middle.JPGThe attack can succeed only when the attacker can impersonate each endpoint to the satisfaction of the other; it is an attack on (or lack of) mutual authentication. Most cryptographic protocols include some form of endpoint authentication specifically to prevent MITM attacks. For example, SSL can authenticate one or both parties using a mutually trusted certification authority.

Solution:

Use SSL authentication; You need to install a certificate on the web server. and need to force the log-in form to use SSL.

Leave a comment »