Towards a Formal Verification of Secure Vehicle Software Updates
Martin Slind Hagen, Emil Lundqvist, Alex Phu, Yenan Wang, Kim Strandberg, Elad Michael Schiller
TL;DR
This work addresses the urgent need for secure software updates in software-defined vehicles by formalizing UniSUF and proving its security properties under a Dolev-Yao adversary using ProVerif. The authors introduce a modular, design-by-verification approach, decomposing the update process into sub-problems (preparation, encapsulation, decapsulation) and mapping each to precise security requirements (confidentiality, integrity, authenticity, freshness, order, liveness). They develop a ProVerif-based framework with novel techniques to model the multi-ECU update flow, symbolic execution, and verification of critical properties like inter-/intra-round uniqueness and termination, demonstrating that UniSUF can satisfy the specified guarantees in their formal model. While the results provide strong design-time security assurances, the authors acknowledge that translating these guarantees to real-world implementations requires further study, especially regarding broader attacker models and scalability to large vehicular networks.
Abstract
With the rise of software-defined vehicles (SDVs), where software governs most vehicle functions alongside enhanced connectivity, the need for secure software updates has become increasingly critical. Software vulnerabilities can severely impact safety, the economy, and society. In response to this challenge, Strandberg et al. [escar Europe, 2021] introduced the Unified Software Update Framework (UniSUF), designed to provide a secure update framework that integrates seamlessly with existing vehicular infrastructures. Although UniSUF has previously been evaluated regarding cybersecurity, these assessments have not employed formal verification methods. To bridge this gap, we perform a formal security analysis of UniSUF. We model UniSUF's architecture and assumptions to reflect real-world automotive systems and develop a ProVerif-based framework that formally verifies UniSUF's compliance with essential security requirements - confidentiality, integrity, authenticity, freshness, order, and liveness - demonstrating their satisfiability through symbolic execution. Our results demonstrate that UniSUF adheres to the specified security guarantees, ensuring the correctness and reliability of its security framework.
