Open In App

Challenge Response Authentication Mechanism (CRAM)

Challenge Response Authentication Mechanism (CRAM) is the most often used way to authenticate actions. They are a group of protocols in which one side presents a challenge(to be answered) and the other side must present a correct answer(to be checked/validated) to the challenge in order to get authenticated. 

 



Figure – CRAM activity flow diagram 



Two types of questions (Challenge) – 
 

Ways CRAM is executed – 
 

Use cases – 
 

Common attacks on CRAMs – 
 

Limitations – 
A fundamental problem with passwords is that passwords are used repeatedly. When a password is received by the server, the server cannot determine if the real user is entering the password or not. 

Newer CRAMs also employ cryptography so that the hash of the passwords is matched and not the plain passwords. 
Some examples of cryptographic CRAMs – 
 

 

Article Tags :