2011 IEEE 24th Computer Security Foundations Symposium (2011)
June 27, 2011 to June 29, 2011
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/CSF.2011.8
We describe how to verify security properties of C code for cryptographic protocols by using a general-purpose verifier. We prove security theorems in the symbolic model of cryptography. Our techniques include: use of ghost state to attach formal algebraic terms to concrete byte arrays and to detect collisions when two distinct terms map to the same byte array, decoration of a crypto API with contracts based on symbolic terms, and expression of the attacker model in terms of C programs. We rely on the general-purpose verifier VCC, we guide VCC to prove security simply by writing suitable header files and annotations in implementation files, rather than by changing VCC itself. We formalize the symbolic model in Coq in order to justify the addition of axioms to VCC.
A. D. Gordon, J. Jürjens, F. Dupressoir and D. A. Naumann, "Guiding a General-Purpose C Verifier to Prove Cryptographic Protocols," 2011 IEEE 24th Computer Security Foundations Symposium(CSF), Cernay-la-Ville, France, 2011, pp. 3-17.