[Paper Review] BMC4TimeSec: Verification Of Timed Security Protocols
BMC4TimeSec is an end-to-end SMT-based bounded model checking tool that verifies Timed Security Protocols using Timed Interpreted Systems and TIIS, enabling multi-session and time-aware attack analysis with a JSON-driven interpretation workflow.
We present BMC4TimeSec, an end-to-end tool for verifying Timed Security Protocols (TSP) based on SMT-based bounded model checking and multi-agent modelling in the form of Timed Interpreted Systems (TIS) and Timed Interleaved Interpreted Systems (TIIS). In BMC4TimeSec, TSP executions implement the TIS/TIIS environment (join actions, interleaving, delays, lifetimes), and knowledge automata implement the agents (evolution of participant knowledge, including the intruder). The code is publicly available on \href{https://github.com/agazbrzezny/BMC4TimeSec}{GitHub}, as is a \href{https://youtu.be/aNybKz6HwdA}{video} demonstration.
Motivation & Objective
- Motivate the need to verify Timed Security Protocols (TSP) where timing constraints affect security properties.
- Propose an integrated framework combining multi-agent semantics, interleaving semantics, and SMT-BMC for TSP verification.
- Provide an end-to-end tool that supports protocol specification, interpretation scenarios, and witness extraction.
Proposed method
- Adopt a TIIS perspective where the global state combines environment and agent states under interleaving semantics.
- Represent agents with knowledge automata that capture what each agent knows and when, including the intruder.
- Use an input pipeline that converts Alice-Bob protocol descriptions and JSON interpretations into SMT-BMC formulas for reachability properties.
- Generate executions for multiple sessions and instantiate interpretations (fair and attack).
- Utilize SMT solvers (e.g., Z3) to check formulas and extract witnesses for SAT results, followed by visualization of knowledge changes.
Experimental results
Research questions
- RQ1Can BMC4TimeSec detect time-dependent attacks that arise from interleaved sessions and artifact lifetimes?
- RQ2How does the JSON-based interpretation workflow support flexible addition of attack scenarios and protocol variants?
- RQ3To what extent does TIIS-based modelling improve verification usability and accuracy for timed security protocols?
Key findings
- The tool integrates time-based execution, agent knowledge, multi-session analysis, SMT-BMC for TIIS, and counterexample interpretation tools.
- It supports impersonation, man-in-the-middle, replay, mix-up, non-injective authentication, and long-term key compromise scenarios across multiple sessions.
- It provides a user-friendly JSON-based protocol specification that can be extended without modifying the generator code.
- The architecture enables repeatable demonstrations across increasing numbers of sessions and interpretations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.