CoC: Incorrectness Logic with Exploitation Strategies
Abstract#
Proving the absence of vulnerabilities in concurrent systems is notoriously difficult due to state-space explosion. However, establishing a reachability result only requires certifying specific interleavings. Incorrectness Logic, proposed by Peter O'Hearn, provides a formal foundation for reachability-based reasoning to detect true-positive bugs. In this project, we take a different angle on incorrectness reasoning to synthesise attack strategies from reachability proofs. We are interested in interleaving-dependent violations. We also found that Sufficient Incorrectness Logic better characterises reachability for attack strategy synthesis. We introduce a backward reasoning calculus over Calculus of Communicating Systems (CCS) extended with successful termination. Our backward calculus provides a general mechanism to construct witness traces by undoing actions from the violation state.