What is it about?
We introduce CryptoBap, a platform to verify weak secrecy and authentication for the (ARMv8 and RISC-V) machine code of crypto- graphic protocols. We achieve this by first transpiling the binary of protocols into an intermediate representation and then performing a crypto-aware symbolic execution to automatically extract a model of the protocol that represents all its execution paths. Our symbolic execution resolves indirect jumps and supports bounded loops us- ing the loop-summarization technique, which we fully automate. The extracted model is then translated into models amenable to automated verification via ProVerif and CryptoVerif using a third- party toolchain. We prove the soundness of the proposed approach and used CryptoBap to verify multiple case studies ranging from toy examples to real-world protocols, TinySSH, an implementation of SSH, and WireGuard, a modern VPN protocol.
Featured Image
Photo by Compare Fibre on Unsplash
Read the Original
This page is a summary of: CryptoBap: A Binary Analysis Platform for Cryptographic Protocols, November 2023, ACM (Association for Computing Machinery),
DOI: 10.1145/3576915.3623090.
You can read the full text:
Contributors
The following have contributed to this page







