The Encrypted Token Pattern CSRF Defence
Blurb
The Encrypted Token Pattern is a defence mechanism against Cross Site Request Forgery (CSRF)
attacks, and is an alternative to its sister-patterns; Synchroniser Token, and Double Submit Cookie.
This article discusses the merits and means of implementing this defence mechanism in web-based
applications.
Brief Description
The Encrypted Token Pattern leverages a single token, as opposed to dual tokens, and offers a more
narrow scope of failure than alternative CSRF protection patterns.
Leveraging the Encrypted Token Pattern
The Advanced Resilient Mode of Recognition (ARMOR) is a C# implementation of the Encrypted
Token Pattern, available on GitHub under the MIT license that provides a means of protecting
ASP.NET applications from CSRF attacks, by leveraging the Encrypted Token Pattern. A Java
equivalent of ARMOR is under construction and will be available soon.
ARMOR
ARMOR is a framework composed of interconnecting components exposed through custom web-
handlers. ARMOR is essentially an advanced encryption and hashing mechanism, leveraging the
Rijndael encryption standard, and SHA256 hashing by default.
Creator Bio
http://insidethecpu.com/about/