In: Computer Science
Explain the differences between a replay attack and a Man-in-the-middle attack.
`Hey,
Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.
A replay attack is when the attacker is able to capture some of
your data packets on their way to the intended destination. They
will then try to re-use this information to attack your network.
You can mitigate this by using strong session security and digital
signatures.
Man in the middle attacks are similar to replay attacks. The
attacker will sometimes try to intercept the data or just capture
some to use later. They may try to make the sender think they are
the legitimate receiver. They may also try to add new messages and
pass them on.
In the man-in-the-middle attack the intent is simply to capture the data, but in a replay attack the intent is to reuse the data in an attack.
A man-in-the-middle attack is a form of active interception or
eavesdropping. An attacker can use a sniffer or protocol analyzer
(such as Wireshark) to capture transmitted data. A wireless access
point placed in a wireless closet and transmitting captured data to
someone outside the building can be considered a man-in the middle
attack.
In a replay attack the captured data is later used to formulate an
attack using the trasmitted data. For example, if the captured data
includes credentials, the attacker can use those credentials to
impersonate the client with slightly modified data packets.
Kindly revert for any queries
Thanks.