arXiv:2611.09315cs.CRNov 2026

Manuscript Offprint

arXiv:2611.09315

Verification of Security Properties of Cryptographic Protocols

Simona Bernardi, Joaquín Ezpeleta

Simona Bernardi¹[0000-0002-2605-6243] and Joaquín Ezpeleta¹[0000-0002-9622-8186]

Universidad de Zaragoza, Spain {simonab,ezpeleta}@unizar.es

Abstract. Developing cryptographic protocols that are free from vulnerabilities is very challenging, as evidenced by numerous design flaws and implementation bugs in widely used protocols. Recent work has leveraged model checking to generate negative test cases, that is test cases that include the behavior of Dolev-Yao attacker. In this paper, we address the problem of analyzing execution traces produced by testing protocol implementations with such negative test cases. We propose a method for detecting violations of security properties by model-checking execution traces. Our approach employs a model checker based on DLTL, a Linear Temporal Logic with freeze operators, and supports automation of the testing process through pre- and post-processing steps. These steps, respectively, bridge the gap between different levels of abstraction and synthesize the results produced by the model checker. We present experimental results as a proof of concept for the feasibility of the proposed method.

Keywords: Cryptographic protocols · Security properties · DLTL · Testing

1 Introduction

Developing cryptographic protocols free from vulnerabilities is very challenging. Many protocols have been repeatedly found to contain design flaws and implementation bugs [15]. Symbolic techniques have been successfully applied primarily to the verification of cryptographic protocols in their early stages enabling the identification of vulnerabilities exploitable by Dolev-Yao attacks [5], where the attacker has full control over the network. The main drawback of tools supporting symbolic analysis is their limited scalability [5], which can make the verification of real-world case studies extremely time-consuming.

At later stages of development, recent works have leveraged model checking to generate test cases for protocol implementations [11,16]. In particular, in [11]

Preprint notice: This is an author-accepted manuscript of a paper accepted for publication in the proceedings of EICC 2026. © Springer.

a method is proposed for generating negative test cases, i.e., test cases that incorporate the Dolev-Yao intruder. A negative test case is automatically derived from counterexamples generated by model checking protocol specifications against security goals, such as secrecy and authentication.

In this paper, we build on [11] and take a step further by addressing the problem of analyzing execution traces produced by testing protocol implementations with such negative test cases. Specifically, we propose a method to determine whether the implementation pass or not a test case by verifying the execution traces against a security goal defined in the original protocol specification. This technique can serve as an alternative when symbolic techniques are impractical, for instance due to time constraints.

The analysis is conducted using a model checker based on DLTL logic [9], an extension of LTL that allows the specification and evaluation of properties involving relations between attribute values across different states. Given a protocol execution trace and a DLTL formula encoding the violation of a security goal, the model checker verifies whether the formula is satisfied by the trace.

The proposed method facilitates automation of the testing process by including pre/post-processing steps. Pre-processing of execution traces establishes the mapping between the bitstrings in exchanged messages and the assets in the security goals. Besides, post-processing of the model checking results enables the test outcome to be interpreted in terms of the security goal and, when the goal is violated, allows for the identification of the specific traces that breach the property. As a proof of concept, we have developed a tool that has been used in the experiments with a set of protocols from the AnBx library [3].

The paper is organized as follows: the rest of this section reviews briefly the related work; Section 2 gives an overview of the approach; Section 3 defines the DLTL model and formulas for checking security properties; Section 4 describes trace checking workflow supported by the goal_checker tool; Section 5 reports the results from the experiments; and Section 6 provides conclusions and future work.