International Symposium on Leveraging Applications of Formal Methods, Verification, and Validation • Kos, Greece
Time: Sunday, 25.10
Room: Room 2
Authors: Téo Biton, Nikolai Kosmatov, Olivier Gilles, Daniel Gracia Pérez, Sébastien Pillement
Abstract: Formal verification of attack detection algorithms is essential to provide strong guarantees of correctness for security-critical protection mechanisms. Such guarantees are particularly important for signature-based defenses against code-reuse attacks, where undetected exploits can lead to the compromise of the entire system. These protection mechanisms provide interesting targets for formal verification, as they are typically implemented at the hardware or hardware/software interface. This paper presents a formal verification of a signature-based detection mechanism, called heatseeker, designed to identify jump-oriented programming (JOP) attacks by monitoring control-flow transfers during program execution. We model both the detection algorithm and the target JOP attacks in C, and verify that the considered mechanism effectively detects any JOP attack using the bounded model checker \cbmc. Thanks to the definition of suitable invariants on the algorithm's internal state, bounded verification is sufficient to ensure the desired property for all executions. We present the formal model, the invariants, the proof methodology, and discuss the assumptions and limitations of the approach.
Paper: 978-3-032-40118-2_5