Skip to main content
rewrote question using better terms and shorter sentences etc. etc.
Source Link

How isare replay attackattacks prevented?

I imagine it’s due to time stamps and sequence numbers!. However, thisthose can be replayed as well, but.

The attacker can't create new sequence numbers or time stamps without being detected if the integrity of every data being sentmessage is being validated in some way likemaintained. This can be obtained by using HMAC integrity method, thenverification of an authentication tag over the message. The attacker can’t create his /her own time stamps and sequence numbers because he / she doesn’tdoesn't have the symmetric hmacHMAC key if it was sent over an encrypted tunnel between the victim and server. 

Is there more to it than this? Or is this really the basic idea?

How is replay attack prevented?

I imagine it’s due to time stamps and sequence numbers! However, this can be replayed as well, but if the integrity of every data being sent is being validated in some way like HMAC integrity method, then the attacker can’t create his /her own time stamps and sequence numbers because he / she doesn’t have the symmetric hmac key sent over an encrypted tunnel between the victim and server. Is there more to it than this? Or is this really the basic?

How are replay attacks prevented?

I imagine it’s due to time stamps and sequence numbers. However, those can be replayed as well.

The attacker can't create new sequence numbers or time stamps without being detected if the integrity of every message is maintained. This can be obtained by using HMAC verification of an authentication tag over the message. The attacker doesn't have the symmetric HMAC key if it was sent over an encrypted tunnel between the victim and server. 

Is there more to it than this? Or is this really the basic idea?

Post Closed as "Needs details or clarity" by Steffen Ullrich, Xander, S.L. Barth is on codidact.com, ThoriumBR, kasperd
Source Link

How is replay attack prevented?

I imagine it’s due to time stamps and sequence numbers! However, this can be replayed as well, but if the integrity of every data being sent is being validated in some way like HMAC integrity method, then the attacker can’t create his /her own time stamps and sequence numbers because he / she doesn’t have the symmetric hmac key sent over an encrypted tunnel between the victim and server. Is there more to it than this? Or is this really the basic?