Open In App

What is Canonicalization Attack?

Canonicalization is the process of mapping inputs to their canonical equivalent. It is often used for cryptographic algorithms and data that are intended to be secured from tampering, usually by hashing. In computer security, a Canonicalizations attack aims to find or compute the mapping between two different inputs which produce the same output when processed by a given system. This attack then seeks ways to manipulate input strings so they both result in an undesired output (such as “war” which can be manipulated into each other by changing just one character). With some algorithms such as MD5, even minor changes in input will result in enormous differences in hash values, making this type of attack relatively easy. A Canonicalizations attack is a type of specific-pattern attack.

Implementations:

Key Points:

 

Countermeasures of Canonicalization attack:

Article Tags :