Demonstration venue · read-only. Every page can be browsed; the buttons that would change it are switched off. Create an account to run TaxoReview on your own data. A simulation from public publication records: the people listed were not invited and did not agree to review.
? Tutorial for this page

David A. Basin

dblp:b/DavidABasin · DBLP profile ↗
← Back
250ranked-venue papers
102as first author
62since 2021 · last 2025
0000-0003-2952-939XORCID · conflict

Domains — the database's venue-derived domains; a paper can count in several

Security and privacy · 118 · 38 first-author · 38 since 2021Theory of computation · 60 · 38 first-author · 6 since 2021Software engineering, systems software and programming languages · 59 · 26 first-author · 11 since 2021Artificial intelligence and machine learning · 22 · 13 first-authorDatabases, data management, data science and information retrieval · 13 · 3 first-author · 8 since 2021Computer networks · 6 · 2 since 2021Applied, interdisciplinary, general and emerging computing · 4 · 2 first-author · 2 since 2021Graphics, computer vision, multimedia, augmented reality and games · 3 · 1 first-authorSystems, architecture and hardware · 2 · 1 first-authorHuman-computer interaction and ubiquitous computing · 1 · 1 since 2021

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Network and information security
53 papers
Cryptographic protocols and secure computation · 33% Authentication and access control · 28% Privacy and data protection · 16%
Software engineering, system software, and programming languages
20 papers
Program verification · 58% Software testing · 24% Requirements engineering and software design · 12%
Theoretical computer science
26 papers
Logic in computer science · 53% Automated reasoning and model checking · 31% Automata and formal languages · 14%
Databases, data mining, and information retrieval
9 papers
Transaction processing and concurrency control · 90% Data mining · 4% Query processing and optimization · 2%
Computer networks
12 papers
Internet architecture and protocols · 66% Cellular and mobile networks · 13% Routing and switching · 8%
Computer architecture, parallel and distributed computing, and storage systems
10 papers
Distributed systems · 45% Storage systems · 33% Electronic design automation · 11%

Topics — the 30 heaviest of 174, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Internet architecture and protocols
domain name system
2.332025
Reachability Analysis of the Domain Name System · Proc. ACM Program. Lang. 2025
CAMP: Compositional Amplification Attacks against DNS · USENIX Security Symposium 2024
A Formal Framework for End-to-End DNS Resolution · SIGCOMM 2023
Logic in computer science
temporal logic
2.152025
Scaling Up Proactive Enforcement · CAV (3) 2025
Proactive Real-Time First-Order Enforcement · CAV (2) 2024
Quantitative Runtime Monitoring of Ethereum Transaction Attacks · WWW 2025
Cryptographic protocols and secure computation
protocol verification
2.132025
Looping for Good: Cyclic Proofs for Security Protocols · CCS 2025
Getting Chip Card Payments Right · FM (1) 2024
The EMV Standard: Break, Fix, Verify · SP 2021
Logic in computer science › temporal logic › metric temporal logic
metric first-order temporal logic
2.142025
Scaling Up Proactive Enforcement · CAV (3) 2025
Proactive Real-Time First-Order Enforcement · CAV (2) 2024
Quantitative Runtime Monitoring of Ethereum Transaction Attacks · WWW 2025
Cryptographic protocols and secure computation
key exchange
2.142025
AKMA+: Security and Privacy-Enhanced and Standard-Compatible AKMA for 5G Communication · USENIX Security Symposium 2025
Sound Verification of Security Protocols: From Design to Interoperable Implementations · SP 2023
A Spectral Analysis of Noise: A Comprehensive, Automated, Formal Analysis of Diffie-Hellman Protocols · USENIX Security Symposium 2020
Program verification › dynamic verification
runtime verification
2.042025
Scaling Up Proactive Enforcement · CAV (3) 2025
Proactive Real-Time First-Order Enforcement · CAV (2) 2024
Runtime Verification of Temporal Properties over Out-of-Order Data Streams · CAV (1) 2017
Program verification › dynamic verification › runtime verification
runtime enforcement
1.622025
Scaling Up Proactive Enforcement · CAV (3) 2025
Proactive Real-Time First-Order Enforcement · CAV (2) 2024
Transaction processing and concurrency control
isolation level verification
1.522024
IsoVista: Black-box Checking Database Isolation Guarantees · Proc. VLDB Endow. 2024
Plume: Efficient and Complete Black-Box Checking of Weak Isolation Levels · Proc. ACM Program. Lang. 2024
Requirements engineering and software design
model-driven engineering
1.452025
Mechanizing Privacy by Design · CCS 2025
Is Modeling Access Control Worth It? · CCS 2023
A Model-Driven Methodology for Developing Secure Data-Management Applications · IEEE Trans. Software Eng. 2014
Privacy and data protection › privacy compliance › consent
consent management
1.322024
Automated Large-Scale Analysis of Cookie Notice Compliance · USENIX Security Symposium 2024
Automating Cookie Consent and GDPR Violation Detection · USENIX Security Symposium 2022
Privacy and data protection
web privacy
1.322024
Automated Large-Scale Analysis of Cookie Notice Compliance · USENIX Security Symposium 2024
Automating Cookie Consent and GDPR Violation Detection · USENIX Security Symposium 2022
Cryptographic protocols and secure computation › secure payment
EMV payment protocol
1.322024
Getting Chip Card Payments Right · FM (1) 2024
The EMV Standard: Break, Fix, Verify · SP 2021
Authentication and access control › device authentication
payment card authentication
1.222023
Inducing Authentication Failures to Bypass Credit Card PINs · USENIX Security Symposium 2023
Card Brand Mixup Attack: Bypassing the PIN in non-Visa Cards by Using Them for Visa Transactions · USENIX Security Symposium 2021
Authentication and access control › authentication › authentication attack
PIN bypass
1.222023
Inducing Authentication Failures to Bypass Credit Card PINs · USENIX Security Symposium 2023
Card Brand Mixup Attack: Bypassing the PIN in non-Visa Cards by Using Them for Visa Transactions · USENIX Security Symposium 2021
Automated reasoning and model checking
runtime verification
1.122025
Quantitative Runtime Monitoring of Ethereum Transaction Attacks · WWW 2025
Monitoring Metric First-Order Temporal Properties · J. ACM 2015
Authentication and access control
access control policy
1.022023
Is Modeling Access Control Worth It? · CCS 2023
The Next 700 Policy Miners: A Universal Method for Building Policy Miners · CCS 2019
Network security › attack strategy
denial-of-service attack
1.022025
CAMP: Compositional Amplification Attacks against DNS · USENIX Security Symposium 2024
Reachability Analysis of the Domain Name System · Proc. ACM Program. Lang. 2025
Cryptographic protocols and secure computation › security protocol analysis
formal analysis of cryptographic protocols
1.022025
Protocols to Code: Formal Verification of a Secure Next-Generation Internet Router · CCS 2025
Design, Analysis, and Implementation of ARPKI: An Attack-Resilient Public-Key Infrastructure · IEEE Trans. Dependable Secur. Comput. 2018
Program verification
theorem proving
0.922025
VerIso: Verifiable Isolation Guarantees for Database Transactions · Proc. VLDB Endow. 2025
Developing security protocols by refinement · CCS 2010
Transaction processing and concurrency control
isolation guarantees
0.912025
VerIso: Verifiable Isolation Guarantees for Database Transactions · Proc. VLDB Endow. 2025
Transaction processing and concurrency control › serializability
strict serializability
0.912025
VerIso: Verifiable Isolation Guarantees for Database Transactions · Proc. VLDB Endow. 2025
Internet architecture and protocols
future internet architecture
0.912025
Protocols to Code: Formal Verification of a Secure Next-Generation Internet Router · CCS 2025
Blockchain and cryptocurrency security › blockchain protocols
ethereum
0.912025
Quantitative Runtime Monitoring of Ethereum Transaction Attacks · WWW 2025
Cryptographic protocols and secure computation
oblivious transfer
0.912025
Oblivious Digital Tokens · USENIX Security Symposium 2025
Privacy and data protection › privacy engineering
privacy by design
0.912025
Mechanizing Privacy by Design · CCS 2025
Software testing
database testing
0.912025
Testing Graph Databases with Synthesized Queries · Proc. ACM Manag. Data 2025
Software testing › database testing
graph database testing
0.912025
Testing Graph Databases with Synthesized Queries · Proc. ACM Manag. Data 2025
Program verification
protocol verification
0.912025
VerIso: Verifiable Isolation Guarantees for Database Transactions · Proc. VLDB Endow. 2025
Software testing
test oracle
0.912025
Testing Graph Databases with Synthesized Queries · Proc. ACM Manag. Data 2025
Automata and formal languages › pushdown automata
pushdown systems
0.912025
Reachability Analysis of the Domain Name System · Proc. ACM Program. Lang. 2025

Methods — techniques the papers use, named apart from their topics

proactive enforcement · 3.3decision procedure · 2.6bisimulation · 2.6algebraic abstraction · 2.6Isabelle/HOL · 2.3runtime verification · 2.2tamarin · 1.9semantic lifting · 1.7refinement in Isabelle/HOL · 1.7logic-based policy enforcement · 1.7binding · 1.7automated theorem proving · 1.7automated program verification · 1.7aggregation · 1.7formal analysis · 1.3tamarin prover · 1.1standard-compatible protocol design · 0.9query synthesis · 0.9
YearPublicationVenuePosition
2025 Scaling Up Proactive Enforcement
abstract
Abstract Runtime enforcers receive events from a system and output commands ensuring the system’s policy compliance. Proactive enforcers extend traditional (reactive) enforcers by emitting commands at any time, rather only as a response to system actions. However, proactive enforcers have so far lacked support for many useful policy features. This, along with the existing tools’ poor performance, hinders their adoption. We present a performance-optimized, proactive enforcement algorithm for a rich policy language: metric first-order temporal logic with function applications, aggregations, and bindings. We have implemented this algorithm in EnfGuard , the first proactive enforcer tool that supports the above constructs. We evaluated our tool using a novel set of six benchmarks containing both real-world and synthetic policies and logs, demonstrating that it enforces realistic policies out-of-the-box and achieves the necessary performance to be used in real-time systems.
François Hublet, Leonardo Lima 0001, David A. Basin, Srdan Krstic, Dmitriy Traytel
CAV (3)3
2025 Mechanizing Privacy by Design
abstract
Privacy by design requires integrating data protection into systems from the outset, during their design, rather than building it in later. Related legislation does not specify how to achieve this and mainstream languages and frameworks lack support for privacy by design. To address this long-standing problem, we have developed different, effective technical solutions. First, we have developed powerful logic-based tools that enforce formal data protection policies at runtime by controlling relevant system actions. Second, we have proposed methods and tools for integrating privacy models into system design models, enabling model-driven privacy enforcement. We report on our methods, tools, and practical experiences using them.
David A. Basin, François Hublet, Srdan Krstic, Hoang Nguyen Phuoc Bao
CCS1
2025 Looping for Good: Cyclic Proofs for Security Protocols
abstract
Security protocols often involve loops, such as for ratcheting or for manipulating inductively-defined data structures. However, the automated analysis of security protocols has struggled to keep up with these features. The state-of-the-art often necessitates working with abstractions of such data structures or relies heavily on auxiliary, user-defined lemmas.
Felix Linker, Christoph Sprenger 0001, Cas Cremers, David A. Basin
CCS4
2025 Protocols to Code: Formal Verification of a Secure Next-Generation Internet Router
abstract
We present the first formally-verified Internet router, which is part of the SCION Internet architecture. SCION routers run a cryptographic protocol for secure packet forwarding in an adversarial environment. We verify both the protocol's network-wide security properties and the low-level properties of its implementation. Namely, we develop a series of protocol models by refinement in Isabelle/HOL and we use an automated program verifier to prove that the router's Go code satisfies crash freedom, freedom from data races, and adheres to the most concrete model in our series of refinements. Both verification efforts are soundly linked together.
João C. Pereira, Tobias Klenze, Sofia Giampietro, Markus Limbeck, Dionysios Spiliopoulos, Felix A. Wolf, Marco Eilers, Christoph Sprenger 0001, David A. Basin, Peter Müller 0001, Adrian Perrig
CCS9
2025 One For All: Formally Verifying Protocols which use Aggregate Signatures
abstract
Aggregate signatures are digital signatures that compress multiple signatures from different parties into a single signature, thereby reducing storage and bandwidth requirements. BLS aggregate signatures are a popular kind of aggregate signature, deployed by Ethereum, Dfinity, and Cloudflare amongst others, currently undergoing standardization at the IETF. However, BLS aggregate signatures are difficult to use correctly, with nuanced requirements that must be carefully handled by protocol developers. In this work, we design the first models of aggregate signatures that enable formal verification tools, such as Tamarin and ProVerif, to be applied to protocols using these signatures. We introduce general models that are based on the cryptographic security definition of generic aggregate signatures, allowing the attacker to exploit protocols where the security requirements are not satisfied. We also introduce a second family of models formalizing BLS aggregate signatures in particular. We demonstrate our approach's practical relevance by modelling and analyzing in Tamarin a device attestation protocol called SANA. Despite SANA's claimed correctness proof, with Tamarin we uncover undocumented assumptions that, when omitted, lead to attacks.
Xenia Hofmeier, Andrea Raguso, Ralf Sasse, Dennis Jackson, David A. Basin
CSF5
2025 Instrumenting Runtime Enforcement
François Hublet, David A. Basin, Linda Hu, Srdan Krstic, Lennard Reese
RV2
2025 Pushing the Limit: Verified Performance-Optimal Causally-Consistent Database Transactions
abstract
Abstract Modern web services crucially rely on high-performance distributed databases, where concurrent transactions are isolated from each other using concurrency control protocols. Relaxed isolation levels, which permit more complex concurrent behaviors than strong levels like serializability, are used in practice for higher performance and availability. In this paper, we present Eiger-PORT+, a concurrency control protocol that achieves a strong form of causal consistency, called TCCv (Transactional Causal Consistency with convergence). We show that Eiger-PORT+ also provides performance-optimal read transactions in the presence of transactional writes, thus refuting an open conjecture that this is impossible for TCCv. We also deductively verify that Eiger-PORT+ satisfies this isolation level by refining an abstract model of transactions. This yields the first deductive verification of a complex concurrency control protocol. Furthermore, we conduct a performance evaluation showing Eiger-PORT+ ’s superior performance over the state-of-the-art.
Shabnam Ghasemirad, Christoph Sprenger 0001, Si Liu 0003, Luca Multazzu, David A. Basin
TACAS (3)5
2025 AKMA+: Security and Privacy-Enhanced and Standard-Compatible AKMA for 5G Communication
Yang Yang 0026, Guomin Yang, Yingjiu Li, Minming Huang, Zilin Shen, Imtiaz Karim, Ralf Sasse, David A. Basin, Elisa Bertino, Jian Weng 0001, HweeHwa Pang, Robert H. Deng
USENIX Security Symposium8
2025 A Formal Analysis of Apple's iMessage PQ3 Protocol
Felix Linker, Ralf Sasse, David A. Basin
USENIX Security Symposium3
2025 Oblivious Digital Tokens
Mihael Liskij, Xuhua Ding, Gene Tsudik, David A. Basin
USENIX Security Symposium4
2025 Quantitative Runtime Monitoring of Ethereum Transaction Attacks
abstract
The rapid growth of decentralized applications, while revolutionizing financial transactions, has created an attractive target for malicious attacks.Existing approaches to detecting attacks often rely on predefined rules or simplistic and overly-specialized models, which lack the flexibility to handle the wide spectrum of diverse and dynamically changing attack types.To address this challenge, we present a general and extensible framework, MoE (Monitoring Ethereum), that leverages runtime verification to detect a wide range of attacks on Ethereum.MoE features an expressive attack modeling language, based on Metric First-order Temporal Logic (MFOTL), that can formalize a wide range of attacks.We integrate a novel semantic lifting approach that extracts system behaviors relevant for various attacks, which can be analyzed using the monitoring tool MonPoly.Furthermore, we also equip MoE with quantitative capabilities to evaluate the similarity between a transaction and an attack formula to enhance its performance in identifying attacks, including near-miss attacks.We carry out extensive experiments with MoE on a labeled benchmark and a large-scale dataset containing over one million transactions.On the labeled benchmark, MoE successfully detects 92.0% attacks and achieves a 45.0% higher recall rate than competing state-of-the-art tool.MoE finds 3,319 attacks with 95.4% precision on the large dataset.Furthermore, MoE uses quantitative analysis to uncover 8% additional attacks.Finally, the average time for * Xinyao Xu and Ziyu Mao contributed equally.
Xinyao Xu 0002, Ziyu Mao, Jianzhong Su, Xingwei Lin, David A. Basin, Jun Sun 0001, Jingyi Wang 0004
WWW5
2025 Testing Graph Databases with Synthesized Queries
abstract
Graph databases (GDBs) are increasingly used in many applications. However, their advanced features make them prone to logic bugs. Despite advances in GDB testing, a common limitation of current approaches is the lack of ground truth for their test oracles. This results in both incorrectly identified bugs and overlooked bugs. We introduce GQS (Graph Query Synthesis), the first automated testing approach for detecting logic bugs in graph databases (GDBs) based on an established ground truth. GQS starts by randomly generating a graph and selecting a set of properties associated with its elements, whose key-value pairs form the expected result set serving as the ground truth. It then synthesizes a query that should retrieve these values from the graph. When the query is executed on the graph by the GDB under test, any discrepancy between the actual result set and the ground truth indicates a logic bug. To extensively test a GDB, we develop novel techniques that synthesize both syntactically and semantically complex queries. We implement GQS in a tool that incorporates the first Cypher query synthesizer specifically designed for testing GDBs. Our tool finds 36 previously unknown bugs across four production GDBs, of which 26 are logic bugs, with some remaining undetected for up to five years. Additionally, our tool demonstrates superior effectiveness in bug detection compared to the state-of-the-art testers.
Zijing Yin, Si Liu 0003, David A. Basin
Proc. ACM Manag. Data3
2025 Reachability Analysis of the Domain Name System
abstract
The high complexity of DNS poses unique challenges for ensuring its security and reliability. Despite continuous advances in DNS testing, monitoring, and verification, protocol-level defects still give rise to numerous bugs and attacks. In this paper, we provide the first decision procedure for the DNS verification problem, establishing its complexity as 2ExpTime , which was previously unknown. We begin by formalizing the semantics of DNS as a system of recursive communicating processes extended with timers and an infinite message alphabet. We provide an algebraic abstraction of the alphabet with finitely many equivalence classes, using the subclass of semigroups that recognize positive prefix-testable languages. We then introduce a novel generalization of bisimulation for labelled transition systems, weaker than strong bisimulation, to show that our abstraction is sound and complete. Finally, using this abstraction, we reduce the DNS verification problem to the verification problem for pushdown systems. To show the expressiveness of our framework, we model two of the most prominent attack vectors on DNS, namely amplification attacks and rewrite blackholing.
Dhruv Nevatia, Si Liu 0003, David A. Basin
Proc. ACM Program. Lang.3
2025 VerIso: Verifiable Isolation Guarantees for Database Transactions
abstract
Isolation bugs, stemming especially from design-level defects, have been repeatedly found in carefully designed and extensively tested production databases over decades. In parallel, various frameworks for modeling database transactions and reasoning about their isolation guarantees have been developed. What is missing however is a mathematically rigorous and systematic framework with tool support for formally verifying a wide range of such guarantees for all possible system behaviors. We present the first such framework, VerIso, developed within the theorem prover Isabelle/HOL. To showcase its use in verification, we model the strict two-phase locking concurrency control protocol and verify that it provides strict serializability isolation guarantee. Moreover, we show how VerIso helps identify isolation bugs during protocol design. We derive new counterexamples for the TAPIR protocol from failed attempts to prove its claimed strict serializability. In particular, we show that it violates a much weaker isolation level, namely, atomic visibility.
Shabnam Ghasemirad, Si Liu 0003, Christoph Sprenger 0001, Luca Multazzu, David A. Basin
Proc. VLDB Endow.5
2024 Proactive Real-Time First-Order Enforcement
abstract
Abstract Modern software systems must comply with increasingly complex regulations in domains ranging from industrial automation to data protection. Runtime enforcement addresses this challenge by empowering systems to not only observe, but also actively control, the behavior of target systems by modifying their actions to ensure policy compliance. We propose a novel approach to the proactive real-time enforcement of policies expressed in metric first-order temporal logic (MFOTL). We introduce a new system model, define an expressive MFOTL fragment that is enforceable in that model, and develop a sound enforcement algorithm for this fragment. We implement this algorithm in a tool calledWhyEnfand carry out a case study on enforcing GDPR-related policies. Our tool can enforce all policies from the study in real-time with modest overhead. Our work thus provides the first tool-supported approach that can proactively enforce expressive first-order policies in real time.
François Hublet, Leonardo Lima 0001, David A. Basin, Srdan Krstic, Dmitriy Traytel
CAV (2)3
2024 Getting Chip Card Payments Right
abstract
Abstract EMV is the international protocol standard for smart card payments and is used in billions of payment cards worldwide. Despite the standard’s advertised security, various issues have been previously uncovered, deriving from logical flaws that are hard to spot in EMV’s lengthy and complex specification. We have formalized various models of EMV in Tamarin, a symbolic model checker for cryptographic protocols. Tamarin was extremely effective in finding critical flaws, both known and new, and in many cases exploitable on actual cards. We report on these past problems as well as followup work where we verified the latest, improved version of the protocol, the EMV kernel C8. This work puts C8’s correctness on a firm, formal basis, and clarifies which guarantees hold for C8 and under which assumptions. Overall our work supports the thesis that cryptographic protocol model checkers like Tamarin have an essential role to play in improving the security of real-world payment protocols and that they are up to this challenge.
David A. Basin, Xenia Hofmeier, Ralf Sasse, Jorge Toro-Pozo
FM (1)1
2024 Automated Large-Scale Analysis of Cookie Notice Compliance
Ahmed Bouhoula, Karel Kubicek 0001, Amit Zac, Carlos Cotrini Jiménez, David A. Basin
USENIX Security Symposium5
2024 PURE: Payments with UWB RElay-protection
Daniele Coppola, Giovanni Camurati, Claudio Anliker, Xenia Hofmeier, Patrick Schaller, David A. Basin, Srdjan Capkun
USENIX Security Symposium6
2024 CAMP: Compositional Amplification Attacks against DNS
Huayi Duan, Marco Bearzi, Jodok Vieli, David A. Basin, Adrian Perrig, Si Liu 0003, Bernhard Tellenbach
USENIX Security Symposium4
2024 SOAP: A Social Authentication Protocol
Felix Linker, David A. Basin
USENIX Security Symposium2
2024 Automating Website Registration for Studying GDPR Compliance
abstract
Investigating how websites use sensitive user data is an active research area. However, research based on automated measurements has been limited to those websites that do not require user authentication. To overcome this limitation, we developed a crawler that automates website registrations and newsletter subscriptions and detects both security and privacy threats at scale.
Karel Kubicek 0001, Jakob Merane, Ahmed Bouhoula, David A. Basin
WWW4
2024 Proactive enforcement of provisions and obligations
abstract
We present an approach to the proactive enforcement of provisions and obligations, suitable for building policy enforcement mechanisms that both prevent and cause system actions. Our approach encompasses abstract requirements for proactive policy enforcement, a system model describing how enforcement mechanisms interact with and control target systems, and concrete policy languages and associated enforcement mechanisms. As examples of policy languages, we consider finite automata and timed dynamic condition response (DCR) graphs. We use finite automata to illustrate the basic principles and DCR graphs to show how these principles can be adapted to a practical, real-time policy language. In both cases, we show how to algorithmically determine whether a given policy is enforceable and, when this is the case, construct an associated enforcement mechanism. Our approach improves upon existing formalisms in two ways: (1) we exploit the target system’s existing functionality to avert policy violations proactively, rather than compensate for them reactively; and (2) rather than requiring the manual specification of remedial actions in the policy, we deduce required actions directly from the policy.
David A. Basin, Søren Debois, Thomas T. Hildebrandt
J. Comput. Secur.1
2024 NOC-NOC: Towards Performance-optimal Distributed Transactions
abstract
Substantial research efforts have been devoted to studying the performance optimality problem for distributed database transactions. However, they focus just on optimizing transactional reads, and thus overlook crucial factors, such as the efficiency of writes, which also impact the overall system performance. Motivated by a recent study on Twitter's workloads showing the prominence of write-heavy workloads in practice, we make a substantial step towards performance-optimal distributed transactions by also aiming to optimize writes, a fundamentally new dimension to this problem. We propose a new design objective and establish impossibility results with respect to the achievable isolation levels. Guided by these results, we present two new transaction algorithms with different isolation guarantees that fulfill this design objective. Our evaluation demonstrates that these algorithms outperform the state of the art.
Si Liu 0003, Luca Multazzu, Hengfeng Wei, David A. Basin
Proc. ACM Manag. Data4
2024 Plume: Efficient and Complete Black-Box Checking of Weak Isolation Levels
abstract
Modern databases embrace weak isolation levels to cater for highly available transactions. However, weak isolation bugs have recently manifested in many production databases. This raises the concern of whether database implementations actually deliver their promised isolation guarantees in practice. In this paper we present Plume, the first efficient, complete, black-box checker for weak isolation levels. Plume builds on modular, fine-grained, transactional anomalous patterns, with which we establish sound and complete characterizations of representative weak isolation levels, including read committed, read atomicity, and transactional causal consistency. Plume leverages a novel combination of two techniques, vectors and tree clocks, to accelerate isolation checking. Our extensive assessment shows that Plume can reproduce all known violations in a large collection of anomalous database execution histories, detect new isolation bugs in three production databases along with informative counterexamples, find more weak isolation anomalies than the state-of-the-art checkers, and efficiently validate isolation guarantees under a wide variety of workloads.
Si Liu 0003, Long Gu, Hengfeng Wei, David A. Basin
Proc. ACM Program. Lang.4
2024 User-Controlled Privacy: Taint, Track, and Control
abstract
We develop the first language-based, Privacy by Design approach that provides support for a rich class of privacy policies. The policies are user-defined, rather than programmer-defined, and support fine-grained information flow restrictions (considering individual application inputs and outputs) with temporal constraints. Our approach, called Taint, Track, and Control (TTC), combines dynamic information-flow control and runtime verification to enforce these policies in the presence of malicious users and developers. We provide TTC's semantics and proofs of its correct enforcement, formalized in the Isabelle/HOL proof assistant. We also implement our approach in a web development framework and port three baseline applications from previous work into this framework for evaluation. Overall, our approach enforces expressive user-defined privacy policies with practical runtime performance.
François Hublet, David A. Basin, Srdan Krstic
Proc. Priv. Enhancing Technol.2
2024 Model-driven Privacy
abstract
Data protection regulations in many countries require IT systems to implement baseline privacy requirements like purpose limitation and consent as mandated by the GDPR. Such requirements are often specified in the system’s privacy policy and are challenging to implement as system developers must address them consistently and in a cross-cutting manner. Moreover, without a formal connection between a system’s privacy policy and its implementation, the system’s correctness and evolution are extremely difficult to attain. We propose a model-driven development methodology that incorporates privacy policies into the system design. Namely, we define a system’s privacy model, which has precise semantics and is used to specify privacy policies. We provide semantic-preserving model transformations that generate system implementations that enforce the given privacy policies by design. We implement two such model transformations, targeting C# and Python system implementations. We evaluate our methodology on three substantial case studies and show the enforcement of privacy policies related to purpose limitation and consent. Our evaluation also demonstrates our approach’s generality, effectiveness, and modest overhead.
Srdan Krstic, Hoang Nguyen Phuoc Bao, David A. Basin
Proc. Priv. Enhancing Technol.3
2024 IsoVista: Black-box Checking Database Isolation Guarantees
abstract
Transactional isolation is critical to the functional correctness of database management systems (DBMSs). Much effort has recently been devoted to finding isolation bugs and validating isolation fulfilment in production DBMSs. However, there are still challenges that existing isolation checkers have not yet fully addressed. For instance, they may overlook bugs, incur high checking overhead, and return hard-to-understand counterexamples. We present IsoVista, the first black-box isolation checking system that encompasses all the following features. It builds on faithful characterizations of a range of isolation levels, ensuring the absence of both false positives and missed bugs in collected DBMS execution histories. IsoVista exhibits superior checking efficiency, compared to the state-of-the-art, and visualizes violation scenarios, facilitating the understanding of bugs found. It also supports profiling and benchmarking the performance of isolation checkers under various workloads, assisting developers of both DBMSs and checkers. We showcase all these features through user-friendly interfaces.
Long Gu, Si Liu 0003, Tiancheng Xing, Hengfeng Wei, Yuxing Chen 0003, David A. Basin
Proc. VLDB Endow.6
2024 Specifying and Verifying Information Flow Control in SELinux Configurations
abstract
Security Enhanced Linux (SELinux) is a security architecture for Linux implementing Mandatory Access Control. It has been used in numerous security-critical contexts ranging from servers to mobile devices. However, its application is challenging as SELinux security policies are difficult to write, understand, and maintain. Recently, the intermediate language CIL was introduced to foster the development of high-level policy languages and to write structured configurations. Despite CIL’s high level features, CIL configurations are hard to understand as different constructs interact in non-trivial ways. Moreover, there is no mechanism to ensure that a given configuration obeys desired information flow policies. To remedy this, we enrich CIL with a formal semantics, and we propose IFCIL, a backward compatible extension of CIL for specifying fine-grained information flow requirements. Using IFCIL, administrators can express confidentiality, integrity, and non-interference properties. We also provide a tool to statically verify these requirements and we experimentally assess it on ten real-world policies.
Lorenzo Ceragioli, Letterio Galletta, Pierpaolo Degano, David A. Basin
ACM Trans. Priv. Secur.4
2023 SealClub: Computer-aided Paper Document Authentication
abstract
Paper documents, where digital signatures are not directly applicable, are still widely utilized due to usability and legal reasons. We propose a novel approach to authenticating paper documents by taking short videos of them with smartphones. Our solution combines cryptographic and image comparison techniques to detect and highlight semantic-changing attacks on rich documents, containing text and graphics. We provide geometrical arguments for the security of our novel comparison algorithm, and prove that its combination with a cryptographic protocol is secure against strong adversaries capable of compromising different system components. We also measure its accuracy on a set of 128 videos of paper documents and a set of 960 synthetically generated warped documents, half containing subtle forgeries. Our algorithm finds all forgeries accurately with no false positives. The highlighted regions are large enough to be visible to users, but small enough to precisely locate forgeries.
Martín Ochoa, Hernán Vanegas, Jorge Toro-Pozo, David A. Basin
ACSAC4
2023 Formal Methods for Payment Protocols
abstract
We report on experience using Tamarin, a security protocol model checker, to find numerous, serious exploitable vulnerabilities in EMV payment protocols. EMV is the international protocol standard for smartcard payment that is used in over 9 billion payment cards worldwide. Despite the standard’s advertised security, various issues have been previously uncovered, deriving from logical flaws that are hard to spot in EMV’s lengthy and complex specification, running over 2,000 pages.
David A. Basin
AsiaCCS1
2023 Correct and Efficient Policy Monitoring, a Retrospective
David A. Basin, Srdan Krstic, Joshua Schneider 0001, Dmitriy Traytel
ATVA (1)1
2023 Is Modeling Access Control Worth It?
abstract
Implementing access control policies is an error-prone task that can have severe consequences for the security of software applications. Model-driven approaches have been proposed in the literature and associated tools have been developed with the goal of reducing the complexity of this task and helping developers to produce secure software efficiently. Nevertheless, there is a lack of empirical data supporting the advantages of model-driven security approaches over code-centric approaches, which are the de-facto industry standard for software development.
David A. Basin, Juan Guarnizo, Srdan Krstic, Hoang Nguyen Phuoc Bao, Martín Ochoa
CCS1
2023 ADEM: An Authentic Digital EMblem
abstract
In times of armed conflict, the emblems of the red cross, red crescent, and red crystal are used to mark physical infrastructure. This enables military units to identify assets as protected under international humanitarian law to avoid attacking them. In this paper, we tackle the novel security problem of how to extend such protection to digital, network-connected infrastructure through a digital emblem. A digital emblem has a unique combination of security requirements, namely, authentication, accountability, and a property that we call covert inspection. Covert inspection states that those wishing to authenticate assets as protected must be able to do so without revealing that they may attack unprotected entities.
Felix Linker, David A. Basin
CCS2
2023 Enforcing the GDPR
François Hublet, David A. Basin, Srdan Krstic
ESORICS (2)2
2023 Monitoring the Internet Computer
David A. Basin, Daniel Stefan Dietiker, Srdan Krstic, Yvonne-Anne Pignolet, Martin Raszyk, Joshua Schneider 0001, Arshavir Ter-Gabrielyan
FM1
2023 RHINE: Robust and High-performance Internet Naming with E2E Authenticity
Huayi Duan, Rubén Fischer, Jie Lou, Si Liu 0003, David A. Basin, Adrian Perrig
NSDI5
2023 A Formal Framework for End-to-End DNS Resolution
abstract
Despite the central importance of DNS, numerous attacks and vulnerabilities are regularly discovered. The root of the problem is the ambiguity and tremendous complexity of DNS protocol specifications, amid a rapidly evolving Internet infrastructure. To counteract the vicious break-and-fix cycle for improving DNS infrastructure, we instigate a foundational approach: we construct the first formal semantics of end-to-end name resolution, a collection of components for the formal analyses of both qualitative and quantitative properties, and an automated tool for discovering DoS attacks. Our formal framework represents an important step towards a substantially more secure and reliable DNS infrastructure.
Si Liu 0003, Huayi Duan, Lukas Heimes, Marco Bearzi, Jodok Vieli, David A. Basin, Adrian Perrig
SIGCOMM6
2023 Sound Verification of Security Protocols: From Design to Interoperable Implementations
abstract
We provide a framework consisting of tools and metatheorems for the end-to-end verification of security protocols, which bridges the gap between automated protocol verification and code-level proofs. We automatically translate a Tamarin protocol model into a set of I/O specifications expressed in separation logic. Each such specification describes a protocol role’s intended I/O behavior against which the role’s implementation is then verified. Our soundness result guarantees that the verified implementation inherits all security (trace) properties proved for the Tamarin model. Our framework thus enables us to leverage the substantial body of prior verification work in Tamarin to verify new and existing implementations. The possibility to use any separation logic code verifier provides flexibility regarding the target language. To validate our approach and show that it scales to real-world protocols, we verify a substantial part of the official Go implementation of the WireGuard VPN key exchange protocol.
Linard Arquint, Felix A. Wolf, Joseph Lallemand, Ralf Sasse, Christoph Sprenger 0001, Sven N. Wiesner, David A. Basin, Peter Müller 0001
SP7
2023 Inducing Authentication Failures to Bypass Credit Card PINs
David A. Basin, Patrick Schaller, Jorge Toro-Pozo
USENIX Security Symposium1
2023 FABRID: Flexible Attestation-Based Routing for Inter-Domain Networks
Cyrill Krähenbühl, Marc Wyss, David A. Basin, Vincent Lenders, Adrian Perrig, Martin Strohmeier
USENIX Security Symposium3
2023 IsaNet: A framework for verifying secure data plane protocols
abstract
Today’s Internet is built on decades-old networking protocols that lack scalability, reliability and security. In response, the networking community has developed path-aware Internet architectures that solve these problems while simultaneously empowering end hosts to exert some control on their packets’ route through the network. In these architectures, autonomous systems authorize forwarding paths in accordance with their routing policies, and protect these paths using cryptographic authenticators. For each packet, the sending end host selects an authorized path and embeds it and its authenticators in the packet header. This allows routers to efficiently determine how to forward the packet. The central security property of the data plane, i.e., of forwarding, is that packets can only travel along authorized paths. This property, which we call path authorization, protects the routing policies of autonomous systems from malicious senders. The fundamental role of packet forwarding in the Internet’s ecosystem and the complexity of the authentication mechanisms employed call for a formal analysis. We develop IsaNet, a parameterized verification framework for data plane protocols in Isabelle/HOL. We first formulate an abstract model without an attacker for which we prove path authorization. We then refine this model by introducing a Dolev–Yao attacker and by protecting authorized paths using (generic) cryptographic validation fields. This model is parametrized by the path authorization mechanism and assumes five simple verification conditions. We propose novel attacker models and different sets of assumptions on the underlying routing protocol. We validate our framework by instantiating it with nine concrete protocol variants and prove that they each satisfy the verification conditions (and hence path authorization). The invariants needed for the security proof are proven in the parametrized model instead of the instance models. Our framework thus supports low-effort security proofs for data plane protocols. In contrast to what could be achieved with state-of-the-art automated protocol verifiers, our results hold for arbitrary network topologies and sets of authorized paths.
Tobias Klenze, Christoph Sprenger 0001, David A. Basin
J. Comput. Secur.3
2023 Efficient Evaluation of Arbitrary Relational Calculus Queries
abstract
The relational calculus (RC) is a concise, declarative query language. However, existing RC query evaluation approaches are inefficient and often deviate from established algorithms based on finite tables used in database management systems. We devise a new translation of an arbitrary RC query into two safe-range queries, for which the finiteness of the query's evaluation result is guaranteed. Assuming an infinite domain, the two queries have the following meaning: The first is closed and characterizes the original query's relative safety, i.e., whether given a fixed database, the original query evaluates to a finite relation. The second safe-range query is equivalent to the original query, if the latter is relatively safe. We compose our translation with other, more standard ones to ultimately obtain two SQL queries. This allows us to use standard database management systems to evaluate arbitrary RC queries. We show that our translation improves the time complexity over existing approaches, which we also empirically confirm in both realistic and synthetic experiments.
Martin Raszyk, David A. Basin, Srdan Krstic, Dmitriy Traytel
Log. Methods Comput. Sci.2
2023 Locality-Sensitive Hashing Does Not Guarantee Privacy! Attacks on Google's FLoC and the MinHash Hierarchy System
abstract
Recently proposed systems aim at achieving privacy using locality-sensitive hashing. We show how these approaches fail by presenting attacks against two such systems: Google's FLoC proposal for privacy-preserving targeted advertising and the MinHash Hierarchy, a system for processing location trajectories in a privacy-preserving way. Our attacks refute the pre-image resistance, anonymity, and privacy guarantees claimed for these systems. In the case of FLoC, we show how to deanonymize users using Sybil attacks and to reconstruct 10% or more of the browsing history for 30% of its users using Generative Adversarial Networks. We achieve this only analyzing the hashes used by FLoC. For MinHash, we precisely identify the location trajectory of a subset of individuals and, on average, we can limit users' trajectory to just 10% of the possible geographic area, again using just the hashes. In addition, we refute their differential privacy claims.
Florian Turati, Karel Kubicek 0001, Carlos Cotrini Jiménez, David A. Basin
Proc. Priv. Enhancing Technol.4
2023 Efficient Black-box Checking of Snapshot Isolation in Databases
abstract
Snapshot isolation (SI) is a prevalent weak isolation level that avoids the performance penalty imposed by serializability and simultaneously prevents various undesired data anomalies. Nevertheless, SI anomalies have recently been found in production cloud databases that claim to provide the SI guarantee. Given the complex and often unavailable internals of such databases, a black-box SI checker is highly desirable. In this paper we present PolySI, a black-box checker that efficiently checks SI and provides understandable counterexamples upon detecting violations. PolySI builds on a characterization of SI using generalized polygraphs (GPs), for which we establish its soundness and completeness. PolySI employs an SMT solver and also accelerates SMT solving by utilizing a compact constraint encoding of GPs and domain-specific optimizations for pruning constraints. As our extensive assessment demonstrates, PolySI successfully reproduces all of 2477 known SI anomalies, detects novel SI violations in three production cloud databases, identifies their causes, outperforms the state-of-the-art black-box checkers under a wide range of workloads, and can scale up to large workloads.
Kaile Huang, Si Liu 0003, Zhenge Chen, Hengfeng Wei, David A. Basin, Haixiang Li, Anqun Pan
Proc. VLDB Endow.5
2022 "I'm Surprised So Much Is Connected"
abstract
A person’s online security setup is tied to the security of their individual accounts. Some accounts are particularly critical as they provide access to other online services. For example, an email account can be used for external account recovery or to assist with single-sign-on. The connections between accounts are specific to each user’s setup and create unique security problems that are difficult to remedy by following generic security advice. In this paper, we develop a method to gather and analyze users’ online accounts systematically. We demonstrate this in a user study with 20 participants and obtain detailed insights on how users’ personal setup choices and behaviors affect their overall account security. We discuss concrete usability and privacy concerns that prevented our participants from improving their account security. Based on our findings, we provide recommendations for service providers and security experts to increase the adoption of security best practices.
Sven Hammann, Michael Crabb, Sasa Radomirovic, Ralf Sasse, David A. Basin
CHI5
2022 IFCIL: An Information Flow Configuration Language for SELinux
abstract
Security Enhanced Linux (SELinux) is a security architecture for Linux implementing mandatory access control. It has been used in numerous security-critical contexts ranging from servers to mobile devices. But this is challenging as SELinux security policies are difficult to write, understand, and maintain. Recently, the intermediate language CIL was introduced to foster the development of high-level policy languages and to write structured configurations. However, CIL lacks mechanisms for ensuring that the resulting configurations obey desired information flow policies. To remedy this, we propose IFCIL, a backward compatible extension of CIL for specifying fine-grained information flow requirements for CIL configurations. Using IFCIL, administrators can express, e.g., confidentiality, integrity, and non-interference properties. We also provide a tool to statically verify these requirements.
Lorenzo Ceragioli, Letterio Galletta, Pierpaolo Degano, David A. Basin
CSF4
2022 DPL: A Language for GDPR Enforcement
abstract
The General Data Protection Regulation (GDPR) regulates the handling of personal data, including that personal data may be collected and stored only with the data subject's consent, that data is used only for the explicit purposes for which it is collected, and that is deleted after the purposes are served. We propose a programming language called DPL (Data Protection Language) with constructs for enforcing these central GDPR requirements and provide the language's runtime operational semantics. DPL is designed so that GDPR violations cannot occur: potential violations instead result in runtime errors. Moreover, DPL provides constructs to perform privacy-relevant checks, which enable programmers to avoid these errors. Finally, we formalize DPL in Maude, yielding an environment for program simulation, and verify our claims that DPL programs cannot result in privacy violations.
Farzane Karami, David A. Basin, Einar Broch Johnsen
CSF2
2022 N-Tube: Formally Verified Secure Bandwidth Reservation in Path-Aware Internet Architectures
abstract
We present N-Tube, a novel, provably secure, inter-domain bandwidth reservation algorithm that runs on a network architecture supporting path-based forwarding. N-Tube reserves global end-to-end bandwidth along network paths in a distributed, neighbor-based, and tube-fair way. It guarantees that benign bandwidth demands are granted available allocations that are immutable, stable, lower-bounded, andfair, even during adversarial demand bursts. We formalize N-Tube and powerful adversaries as a labeled transition system, and inductively prove its safety and security properties. We also apply statistical model checking to validate our proofs and perform an additional quantitative assessment of N-Tube, providing strong guarantees for protection against DDoS attacks. We are not aware of any other complex networked system designs that have been subjected to a comparable analysis of both their qualitative properties (such as correctness and security) and their quantitative properties (such as performance).
Thilo Weghorn, Si Liu 0003, Christoph Sprenger 0001, Adrian Perrig, David A. Basin
CSF5
2022 Real-Time Policy Enforcement with Metric First-Order Temporal Logic
François Hublet, David A. Basin, Srdan Krstic
ESORICS (2)2
2022 Practical Relational Calculus Query Evaluation
abstract
The relational calculus (RC) is a concise, declarative query language. However, existing RC query evaluation approaches are inefficient and often deviate from established algorithms based on finite tables used in database management systems. We devise a new translation of an arbitrary RC query into two safe-range queries, for which the finiteness of the query’s evaluation result is guaranteed. Assuming an infinite domain, the two queries have the following meaning: The first is closed and characterizes the original query’s relative safety, i.e., whether given a fixed database, the original query evaluates to a finite relation. The second safe-range query is equivalent to the original query, if the latter is relatively safe. We compose our translation with other, more standard ones to ultimately obtain two SQL queries. This allows us to use standard database management systems to evaluate arbitrary RC queries. We show that our translation improves the time complexity over existing approaches, which we also empirically confirm in both realistic and synthetic experiments.
Martin Raszyk, David A. Basin, Srdan Krstic, Dmitriy Traytel
ICDT2
2022 VeriMon: A Formally Verified Monitoring Tool
David A. Basin, Thibault Dardinier, Nico Hauser, Lukas Heimes, Jonathan Julián Huerta y Munive, Nicolas Kaletsch, Srdan Krstic, Emanuele Marsicano, Martin Raszyk, Joshua Schneider 0001, Dawit Legesse Tirore, Dmitriy Traytel, Sheila Zingg
ICTAC1
2022 Automating Cookie Consent and GDPR Violation Detection
Dino Bollinger, Karel Kubicek 0001, Carlos Cotrini Jiménez, David A. Basin
USENIX Security Symposium4
2022 Bridging the semantic gap between qualitative and quantitative models of distributed systems
abstract
Today’s distributed systems must satisfy bothqualitativeandquantitativeproperties. These properties are analyzed using very different formal frameworks: expressive untimed and non-probabilistic frameworks, such as TLA+ and Hoare/separation logics, for qualitative properties; and timed/probabilistic-automaton-based ones, such as Uppaal and Prism, for quantitative ones. This requires developing two quite different models of the same system, without guarantees of semantic consistency between them. Furthermore, it is very hard or impossible torepresentintrinsic features of distributed object systems—such as unbounded data structures, dynamic object creation, and an unbounded number of messages—using finite automata. In this paper we bridge this semantic gap, overcome the problem of manually having to develop two different models of a system, and solve the representation problem by: (i) defining a transformation from a very general class of distributed systems (a generalization of Agha’s actor model) that maps an untimed non-probabilistic distributed system model suitable for qualitative analysis to a probabilistic timed model suitable for quantitative analysis; and (ii) proving the two models semantically consistent. We formalize our models in rewriting logic, and can therefore use the Maude tool to analyze qualitative properties, and statistical model checking with PVeStA to analyze quantitative properties. We have automated this transformation and integrated it, together with the PVeStA statistical model checker, into theActors2PMaudetool. We illustrate the expressiveness of our framework and our tool’s ease of use by automatically transforming untimed, qualitative models of numerous distributed system designs—including an industrial data store and a state-of-the-art transaction system—into quantitative models to analyze and compare the performance of different designs.
Si Liu 0003, José Meseguer 0001, Peter Csaba Ölveczky, Min Zhang 0002, David A. Basin
Proc. ACM Program. Lang.5
2022 Checking Websites' GDPR Consent Compliance for Marketing Emails
abstract
Abstract The sending of marketing emails is regulated to protect users from unsolicited emails. For instance, the European Union’s ePrivacy Directive states that marketers must obtain users’ prior consent, and the General Data Protection Regulation (GDPR) specifies further that such consent must be freely given, specific, informed, and unambiguous. Based on these requirements, we design a labeling of legal characteristics for websites and emails. This leads to a simple decision procedure that detects potential legal violations. Using our procedure, we evaluated 1000 websites and the 5000 emails resulting from registering to these websites. Both datasets and evaluations are available upon request. We find that 21.9% of the websites contain potential violations of privacy and unfair competition rules, either in the registration process (17.3%) or email communication (17.7%). We demonstrate with a statistical analysis the possibility of automatically detecting such potential violations.
Karel Kubicek 0001, Jakob Merane, Carlos Cotrini Jiménez, Alexander Stremitzer, Stefan Bechtold, David A. Basin
Proc. Priv. Enhancing Technol.6
2021 Verifying Table-Based Elections
abstract
Verifiability is a key requirement for electronic voting. However, the use of cryptographic techniques to achieve it usually requires specialist knowledge to understand; hence voters cannot easily assess the validity of such arguments themselves. To address this, solutions have been proposed using simple tables and checks, which require only simple verification steps with almost no cryptography.
David A. Basin, Jannik Dreier, Sofia Giampietro, Sasa Radomirovic
CCS1
2021 Abstract Modeling of System Communication in Constructive Cryptography using CryptHOL
abstract
Proofs in simulation-based frameworks have the greatest rigor when they are machine checked. But the level of details in these proofs surpasses what the formal-methods community can handle with existing tools. Existing formal results consider streamlined versions of simulation-based frameworks to cope with this complexity. Hence, a central question is how to abstract details from composability results and enable their formal verification.In this paper, we focus on the modeling of system communication in composable security statements. Existing formal models consider fixed communication patterns to reduce the complexity of their proofs. However, as we will show, this can affect the reusability of security statements. We propose an abstract approach to modeling system communication in Constructive Cryptography that avoids this problem. Our approach is suitable for mechanized verification and we use CryptHOL, a framework for developing mechanized cryptography proofs, to implement it in the Isabelle/HOL theorem prover. As a case study, we formalize the construction of a secure channel using Diffie-Hellman key exchange and a one-time-pad.
David A. Basin, Andreas Lochbihler, Ueli Maurer, S. Reza Sefidgar
CSF1
2021 Fixing the Achilles Heel of E-Voting: The Bulletin Board
abstract
The results of electronic elections should be verifiable so that any cheating is detected. To support this, many protocols employ an electronic bulletin board (BB) for publishing data that can be read by participants and used for verifiability checks. We demonstrate that the BB is itself a security-critical component that has often been treated too casually in previous designs and analyses. In particular, we present novel attacks on the e-voting protocols Belenios, Civitas, and Helios that violate some of their central security claims under realistic system assumptions. These attacks were outside the scope of prior security analyses as their verifiability notions assume an idealized BB.To enable the analysis of protocols under realistic assumptions about the BB, we introduce a new verifiability definition applicable to arbitrary BBs. We identify a requirement, called final-agreement, and formally prove that it is sufficient and, in most cases, necessary to achieve verifiability. We then propose a BB protocol that satisfies final-agreement under weak, realistic trust assumptions and provide a machine-checked proof thereof. Our protocol can replace existing BBs, enabling verifiability under much weaker trust assumptions.
Lucca Hirschi, Lara Schmid, David A. Basin
CSF3
2021 Formal Verification of Secure Forwarding Protocols
abstract
Today’s Internet is built on decades-old networking protocols that lack scalability, reliability, and security. In response, the networking community has developed path-aware Internet architectures that solve these issues while simultaneously empowering end hosts. In these architectures, autonomous systems construct authenticated forwarding paths based on their routing policies. Each end host then selects one of these authorized paths and includes it in the packet header, thus allowing routers to efficiently determine how to forward the packet. A central security property of these architectures is path authorization, requiring that packets can only travel along authorized paths. This property protects the routing policies of autonomous systems from malicious senders.The fundamental role of packet forwarding in the Internet and the complexity of the authentication mechanisms employed call for a formal analysis. In this vein, we develop in Isabelle/HOL a parameterized verification framework for path-aware data plane protocols. We first formulate an abstract model without an attacker for which we prove path authorization. We then refine this model by introducing an attacker and by protecting authorized paths using (generic) cryptographic validation fields. This model is parameterized by the protocol’s authentication mechanism and assumes five simple verification conditions that are sufficient to prove the refinement of the abstract model. We validate our framework by instantiating it with several concrete protocols from the literature and proving that they each satisfy the verification conditions and hence path authorization. No invariants must be proven for the instantiation. Our framework thus supports low-effort security proofs for data plane protocols. The results hold for arbitrary network topologies and sets of authorized paths, a guarantee that state-of-the-art automated security protocol verifiers cannot currently provide.
Tobias Klenze, Christoph Sprenger 0001, David A. Basin
CSF3
2021 The EMV Standard: Break, Fix, Verify
abstract
EMV is the international protocol standard for smartcard payment and is used in over 9 billion cards worldwide. Despite the standard’s advertised security, various issues have been previously uncovered, deriving from logical flaws that are hard to spot in EMV’s lengthy and complex specification, running over 2,000 pages.We formalize a comprehensive symbolic model of EMV in Tamarin, a state-of-the-art protocol verifier. Our model is the first that supports a fine-grained analysis of all relevant security guarantees that EMV is intended to offer. We use our model to automatically identify flaws that lead to two critical attacks: one that defrauds the cardholder and a second that defrauds the merchant. First, criminals can use a victim’s Visa contactless card to make payments for amounts that require cardholder verification, without knowledge of the card’s PIN. We built a proof-of-concept Android application and successfully demonstrated this attack on real-world payment terminals. Second, criminals can trick the terminal into accepting an unauthentic offline transaction, which the issuing bank should later decline, after the criminal has walked away with the goods. This attack is possible for implementations following the standard, although we did not test it on actual terminals for ethical reasons. Finally, we propose and verify improvements to the standard that prevent these attacks, as well as any other attacks that violate the considered security properties. The proposed improvements can be easily implemented in the terminals and do not affect the cards in circulation.
David A. Basin, Ralf Sasse, Jorge Toro-Pozo
SP1
2021 Card Brand Mixup Attack: Bypassing the PIN in non-Visa Cards by Using Them for Visa Transactions
David A. Basin, Ralf Sasse, Jorge Toro-Pozo
USENIX Security Symposium1
2021 A comprehensive formal analysis of 5G handover
abstract
5G has been under standardization for over a decade and will drive the world's mobile technologies in the decades to come. One of the cornerstones of the 5G standard is its security, also for devices that move frequently between networks, such as autonomous vehicles, and must therefore be handed over from one network operator to another. We present a novel, comprehensive, formal analysis of the security of the device handover protocols specified in the 5G standard. Our analysis covers both handovers within the 5G core network, as well as fallback methods for backwards compatibility with 4G/LTE. We identify four main handover protocols and formally model them in the security protocol verification tool Tamarin. Using these models, we determine for each protocol the minimal set of security assumptions required for its intended security goals to be met. Understanding these requirements is essential when designing devices and other protocols that depend on the reliability and security of network handovers.
Aleksi Peltonen, Ralf Sasse, David A. Basin
WISEC3
2021 Scalable online first-order monitoring
abstract
Abstract Online monitoring is the task of identifying complex temporal patterns while incrementally processing streams of data-carrying events. Existing state-of-the-art monitors for first-order patterns, which may refer to and quantify over data values, can process streams of modest velocity in real-time. We show how to scale up first-order monitoring to substantially higher velocities by slicing the stream, based on the events’ data values, into substreams that can be monitored independently. Because monitoring is not embarrassingly parallel in general, slicing can lead to data duplication. To reduce this overhead, we adapt hash-based partitioning techniques from databases to the monitoring setting. We implement these techniques in an automatic data slicer based on Apache Flink and empirically evaluate its performance using two tools—MonPoly and DejaVu—to monitor the substreams. Our evaluation attests to substantial scalability improvements for both tools.
Joshua Schneider 0001, David A. Basin, Frederik Brix, Srdan Krstic, Dmitriy Traytel
Int. J. Softw. Tools Technol. Transf.2
2020 Multi-head Monitoring of Metric Dynamic Logic
Martin Raszyk, David A. Basin, Dmitriy Traytel
ATVA2
2020 Privacy-Preserving OpenID Connect
abstract
OpenID Connect is the most widely used Internet protocol for delegated authentication today. It provides single sign-on functionality for users who use their account with an identity provider to authenticate to different services, called relying parties. Unfortunately OpenID Connect is not privacy-friendly: the identity provider learns with each use which relying party the user logs in to. This necessitates a high degree of trust in the identity provider, and is especially problematic when the relying parties' identity reveals sensitive information. We present two extensions to OpenID Connect that address this privacy concern. We first present a simple extension that prevents the identity provider from learning to which relying parties its users log in, and we further extend this solution to also prevent colluding relying parties from tracking users. We give formal security proofs for both standard OpenID Connect and our extensions using the Tamarin security protocol verification tool.
Sven Hammann, Ralf Sasse, David A. Basin
AsiaCCS3
2020 Dispute Resolution in Voting
abstract
In voting, disputes arise when a voter claims that the voting authority is dishonest and did not correctly process his ballot while the authority claims to have followed the protocol. A dispute can be resolved if any third party can unambiguously determine who is right. We systematically characterize all relevant disputes for a generic, practically relevant, class of voting protocols. Based on our characterization, we propose a new definition of dispute resolution for voting that accounts for the possibility that both voters and the voting authority can make false claims and that voters may abstain from voting.A central aspect of our work is timeliness: a voter should possess the evidence required to resolve disputes no later than the election's end. We characterize what assumptions are necessary and sufficient for timeliness in terms of a communication topology for our voting protocol class. We formalize the dispute resolution properties and communication topologies symbolically. This provides the basis for verification of dispute resolution for a broad class of protocols. To demonstrate the utility of our model, we analyze a mixnet-based voting protocol and prove that it satisfies dispute resolution as well as verifiability and receipt-freeness. To prove our claims, we combine machine-checked proofs with traditional pen-and-paper proofs.
David A. Basin, Sasa Radomirovic, Lara Schmid
CSF1
2020 SoK: Delegation and Revocation, the Missing Links in the Web's Chain of Trust
abstract
The ability to quickly revoke a compromised key is critical to the security of any public-key infrastructure. Regrettably, most traditional certificate revocation schemes suffer from latency, availability, or privacy problems. These problems are exacerbated by the lack of a native delegation mechanism in TLS, which increasingly leads domain owners to engage in dangerous practices such as sharing their private keys with third parties. We analyze solutions that address the longstanding delegation and revocation shortcomings of the web PKI, with a focus on approaches that directly affect the chain of trust (i.e., the X.509 certification path). For this purpose, we propose a 19-criteria framework for characterizing revocation and delegation schemes. We also show that combining short-lived delegated credentials or proxy certificates with an appropriate revocation system would solve several pressing problems.
Laurent Chuat, AbdelRahman Abdou, Ralf Sasse, Christoph Sprenger 0001, David A. Basin, Adrian Perrig
EuroS&P5
2020 Scalable Online Monitoring of Distributed Systems
David A. Basin, Matthieu Gras, Srdan Krstic, Joshua Schneider 0001
RV1
2020 A Spectral Analysis of Noise: A Comprehensive, Automated, Formal Analysis of Diffie-Hellman Protocols
Guillaume Girol, Lucca Hirschi, Ralf Sasse, Dennis Jackson, Cas Cremers, David A. Basin
USENIX Security Symposium6
2020 Natural Projection as Partial Model Checking
abstract
Abstract Verifying the correctness of a system as a whole requires establishing that it satisfies a global specification. When it does not, it would be helpful to determine which modules are incorrect. As a consequence, specification decomposition is a relevant problem from both a theoretical and practical point of view. Until now, specification decomposition has been independently addressed by the control theory and verification communities throughnatural projectionandpartial model checking, respectively. We prove that natural projection reduces to partial model checking and, when cast in a common setting, the two are equivalent. Apart from their foundational interest, our results build a bridge whereby the control theory community can reuse algorithms and results developed by the verification community. Furthermore, we extend the notions of natural projection and partial model checking from finite-state to symbolic transition systems and we show that the equivalence still holds. Symbolic transition systems are more expressive than traditional finite-state transition systems, as they can model large systems, whose behavior depends on the data handled, and not only on the control flow. Finally, we present an algorithm for the partial model checking of both kinds of systems that can be used as an alternative to natural projection.
Gabriele Costa 0001, Letterio Galletta, Pierpaolo Degano, David A. Basin, Chiara Bodei
J. Autom. Reason.4
2020 CryptHOL: Game-Based Proofs in Higher-Order Logic
David A. Basin, Andreas Lochbihler, S. Reza Sefidgar
J. Cryptol.1
2020 Igloo: soundly linking compositional refinement and separation logic for distributed system verification
abstract
Lighthouse projects like CompCert, seL4, IronFleet, and DeepSpec have demonstrated that full system verification is feasible by establishing a refinement between an abstract system specification and an executable implementation. Existing approaches however impose severe restrictions on the abstract system specifications due to their limited expressiveness or versatility, or on the executable code due to their use of suboptimal code extraction or inexpressive program logics. We propose a novel methodology that combines the compositional refinement of event-based models of distributed systems with the verification of full-fledged program code using expressive separation logics, which support features of realistic programming languages like heap data structures and concurrency. Our main technical contribution is a formal framework that soundly relates event-based system models to program specifications in separation logics. This enables protocol development tools to soundly interoperate with program verifiers to establish a refinement between the model and the code. We formalized our framework, Igloo, in Isabelle/HOL. We report on three case studies, a leader election protocol, a replication protocol, and a security protocol, for which we refine formal requirements into program specifications that we implement in Java and Python and prove correct using the VeriFast and Nagini tools.
Christoph Sprenger 0001, Tobias Klenze, Marco Eilers, Felix A. Wolf, Peter Müller 0001, Martin Clochard, David A. Basin
Proc. ACM Program. Lang.7
2020 Runtime Verification over Out-of-order Streams
abstract
We present an approach for verifying systems at runtime. Our approach targets distributed systems whose components communicate with monitors over unreliable channels, where messages can be delayed, reordered, or even lost. Furthermore, our approach handles an expressive specification language that extends the real-time logic MTL with freeze quantifiers for reasoning about data values. The logic’s main novelty is a new three-valued semantics that is well suited for runtime verification as it accounts for partial knowledge about a system’s behavior. Based on this semantics, we present online algorithms that reason soundly and completely about streams where events can occur out of order. We also evaluate our algorithms experimentally. Depending on the specification, our prototype implementation scales to out-of-order streams with hundreds to thousands of events per second.
David A. Basin, Felix Klaedtke, Eugen Zalinescu
ACM Trans. Comput. Log.1
2019 Adaptive Online First-Order Monitoring
Joshua Schneider 0001, David A. Basin, Frederik Brix, Srdan Krstic, Dmitriy Traytel
ATVA2
2019 Multi-head Monitoring of Metric Temporal Logic
Martin Raszyk, David A. Basin, Srdan Krstic, Dmitriy Traytel
ATVA2
2019 The Next 700 Policy Miners: A Universal Method for Building Policy Miners
abstract
A myriad of access control policy languages have been and continue to be proposed. The design of policy miners for each such language is a challenging task that has required specialized machine learning and combinatorial algorithms. We present an alternative method, universal access control policy mining (Unicorn). We show how this method streamlines the design of policy miners for a wide variety of policy languages including ABAC, RBAC, RBAC with user-attribute constraints, RBAC with spatio-temporal constraints, and an expressive fragment of XACML. For the latter two, there were no known policy miners until now. To design a policy miner using Unicorn, one needs a policy language and a metric quantifying how well a policy fits an assignment of permissions to users. From these, one builds the policy miner as a search algorithm that computes a policy that best fits the given permission assignment. We experimentally evaluate the policy miners built with Unicorn on logs from Amazon and access control matrices from other companies. Despite the genericity of our method, our policy miners are competitive with and sometimes even better than specialized state-of-the-art policy miners. The true positive rates of policies we mined differ by only 5% from the policies mined by the state of the art and the false positive rates are always below 5%. In the case of ABAC, it even outperforms the state of the art.
Carlos Cotrini Jiménez, Luca Corinzia, Thilo Weghorn, David A. Basin
CCS4
2019 User Account Access Graphs
abstract
The primary authentication method for a user account is rarely the only way to access that account. Accounts can often be accessed through other accounts, using recovery methods, password managers, or single sign-on. This increases each account's attack surface, giving rise to subtle security problems. These problems cannot be detected by considering each account in isolation, but require analyzing the links between a user's accounts. Furthermore, to accurately assess the security of accounts, the physical world must also be considered. For example, an attacker with access to a physical mailbox could obtain credentials sent by post.
Sven Hammann, Sasa Radomirovic, Ralf Sasse, David A. Basin
CCS4
2019 Formalizing Constructive Cryptography using CryptHOL
abstract
Computer-aided cryptography increases the rigour of cryptographic proofs by mechanizing their verification. Existing tools focus mainly on game-based proofs, and efforts to formalize composable frameworks such as Universal Composability have met with limited success. In this paper, we formalize an instance of Constructive Cryptography, a generic theory allowing for clean, composable cryptographic security statements. Namely, we extend CryptHOL, a framework for game-based proofs, with an abstract model of Random Systems and provide proof rules for their equality and composition. We formalize security as a special kind of system construction in which a complex system is built from simpler ones. As a simple case study, we formalize the construction of an information-theoretically secure channel from a key, a random function, and an insecure channel.
Andreas Lochbihler, S. Reza Sefidgar, David A. Basin, Ueli Maurer
CSF3
2019 Monitoring the GDPR
Emma Arfelt, David A. Basin, Søren Debois
ESORICS (1)2
2019 Information-Flow Control for Database-Backed Applications
abstract
Securing database-backed applications requires tracking information across the application program and the database together, since securing each component in isolation may still result in an overall insecure system. Current research extends language-based techniques with models capturing the database's behavior. This research, however, relies on simplistic database models, which ignore security-relevant features that may leak sensitive information. We propose a novel security monitor for database-backed applications. Our monitor tracks fine-grained dependencies between variables and database tuples by leveraging database theory concepts like disclosure lattices and query determinacy. It also accounts for a realistic database model that supports security-critical constructs like triggers and dynamic policies. The monitor automatically synthesizes program-level code that replicates the behavior of database features like triggers, thereby tracking information flows inside the database. We also introduce symbolic tuples, an efficient approximation of dependency-tracking over disclosure lattices. We implement our monitor for Scala programs and demonstrate its effectiveness on four case studies.
Marco Guarnieri, Musard Balliu, Daniel Schoepe, David A. Basin, Andrei Sabelfeld
EuroS&P4
2019 From Nondeterministic to Multi-Head Deterministic Finite-State Transducers
abstract
Every nondeterministic finite-state automaton is equivalent to a deterministic finite-state automaton. This result does not extend to finite-state transducers - finite-state automata equipped with a one-way output tape. There is a strict hierarchy of functions accepted by one-way deterministic finite-state transducers (1DFTs), one-way nondeterministic finite-state transducers (1NFTs), and two-way nondeterministic finite-state transducers (2NFTs), whereas the two-way deterministic finite-state transducers (2DFTs) accept the same family of functions as their nondeterministic counterparts (2NFTs). We define multi-head one-way deterministic finite-state transducers (mh-1DFTs) as a natural extension of 1DFTs. These transducers have multiple one-way reading heads that move asynchronously over the input word. Our main result is that mh-1DFTs can deterministically express any function defined by a one-way nondeterministic finite-state transducer. Of independent interest, we formulate the all-suffix regular matching problem, which is the problem of deciding for each suffix of an input word whether it belongs to a regular language. As part of our proof, we show that an mh-1DFT can solve all-suffix regular matching, which has applications, e.g., in runtime verification.
Martin Raszyk, David A. Basin, Dmitriy Traytel
ICALP2
2019 A Formally Verified Monitor for Metric First-Order Temporal Logic
Joshua Schneider 0001, David A. Basin, Srdan Krstic, Dmitriy Traytel
RV2
2019 Almost event-rate independent monitoring
David A. Basin, Bhargav Nagaraja Bhatt, Srdan Krstic, Dmitriy Traytel
Formal Methods Syst. Des.1
2019 Cardinality Estimators do not Preserve Privacy
abstract
Abstract Cardinality estimators like HyperLogLog are sketching algorithms that estimate the number of distinct elements in a large multiset. Their use in privacy-sensitive contexts raises the question of whether they leak private information. In particular, can they provide any privacy guarantees while preserving their strong aggregation properties? We formulate an abstract notion of cardinality estimators, that captures this aggregation requirement: one can merge sketches without losing precision. We propose an attacker model and a corresponding privacy definition, strictly weaker than differential privacy: we assume that the attacker has no prior knowledge of the data. We then show that if a cardinality estimator satisfies this definition, then it cannot have a reasonable level of accuracy. We prove similar results for weaker versions of our definition, a nd a nalyze t he p rivacy o f existing algorithms, showing that their average privacy loss is significant, e ven f or m ultisets w ith l arge cardinalities. We conclude that strong aggregation requirements are incompatible with any reasonable definition o f privacy, and that cardinality estimators should be considered as sensitive as raw data. We also propose risk mitigation strategies for their real-world applications.
Damien Desfontaines, Andreas Lochbihler, David A. Basin
Proc. Priv. Enhancing Technol.3
2018 Optimal Proofs for Linear Temporal Logic on Lasso Words
David A. Basin, Bhargav Nagaraja Bhatt, Dmitriy Traytel
ATVA1
2018 A Formal Analysis of 5G Authentication
abstract
Mobile communication networks connect much of the world's population. The security of users' calls, SMSs, and mobile data depends on the guarantees provided by the Authenticated Key Exchange protocols used. For the next-generation network (5G), the 3GPP group has standardized the 5G AKA protocol for this purpose. We provide the first comprehensive formal model of a protocol from the AKA family: 5G AKA. We also extract precise requirements from the 3GPP standards defining 5G and we identify missing security goals. Using the security protocol verification tool Tamarin, we conduct a full, systematic, security evaluation of the model with respect to the 5G security goals. Our automated analysis identifies the minimal security assumptions required for each security goal and we find that some critical security goals are not met, except under additional assumptions missing from the standard. Finally, we make explicit recommendations with provably secure fixes for the attacks and weaknesses we found.
David A. Basin, Jannik Dreier, Lucca Hirschi, Sasa Radomirovic, Ralf Sasse, Vincent Stettler
CCS1
2018 Alethea: A Provably Secure Random Sample Voting Protocol
abstract
In random sample voting, only a randomly chosen subset of all eligible voters are selected to vote. This poses new security challenges for the voting protocol used. In particular, one must ensure that the chosen voters were randomly selected while preserving their anonymity. Moreover, the small number of selected voters leaves little room for error and only a few manipulations of the votes may significantly change the outcome. We propose Alethea, the first random sample voting protocol that satisfies end-to-end verifiability and receipt-freeness. Our protocol makes explicit the distinction between human voters and their devices. This allows for more fine-grained statements about the required capabilities and trust assumptions of each agent than is possible in previous work. We define new security properties related to the randomness and anonymity of the sample group and the probability of undetected manipulations. We prove correctness of the protocol and its properties both using traditional paper and pen proofs and with tool support.
David A. Basin, Sasa Radomirovic, Lara Schmid
CSF1
2018 Mining ABAC Rules from Sparse Logs
abstract
Different methods have been proposed to mine attribute-based access control (ABAC) rules from logs. In practice, these logs are sparse in that they contain only a fraction of all possible requests. However, for sparse logs, existing methods mine and validate overly permissive rules, enabling privilege abuse. We define a novel measure, reliability, that quantifies how overly permissive a rule is and we show why other standard measures like confidence and entropy fail in quantifying overpermissiveness. We build upon state-of-the-art subgroup discovery algorithms and our new reliability measure to design Rhapsody, the first ABAC mining algorithm with correctness guarantees: Rhapsody mines a rule if and only if the rule covers a significant number of requests, its reliability is above a given threshold, and there is no equivalent shorter rule. We evaluate Rhapsody on different real-world scenarios using logs from Amazon and a computer lab at ETH Zurich. Our results show that Rhapsody generalizes better and produces substantially smaller rules than competing approaches.
Carlos Cotrini Jiménez, Thilo Weghorn, David A. Basin
EuroS&P3
2018 Networking in Heaven as on Earth
abstract
The Internet will undergo a major transformation as satellite-based Internet service providers start to disrupt the market. Constellations of hundreds to thousands of satellites promise to offer low-latency Internet to even the most remote areas. We anticipate exciting business and research opportunities.
Tobias Klenze, Giacomo Giuliari, Christos Pappas, Adrian Perrig, David A. Basin
HotNets5
2018 Scalable Online First-Order Monitoring
Joshua Schneider 0001, David A. Basin, Frederik Brix, Srdan Krstic, Dmitriy Traytel
RV2
2018 From Natural Projection to Partial Model Checking and Back
Gabriele Costa 0001, David A. Basin, Chiara Bodei, Pierpaolo Degano, Letterio Galletta
TACAS (1)2
2018 Algorithms for monitoring real-time properties
David A. Basin, Felix Klaedtke, Eugen Zalinescu
Acta Informatica1
2018 Refining security protocols
abstract
We propose a development method for security protocols based on stepwise refinement. Our refinement strategy transforms abstract security goals into protocols that are secure when operating over an insecure channel controlled by a Dolev-Yao-style intruder. As intermediate levels of abstraction, we employ messageless guard protocols and channel protocols communicating over channels with security properties. These abstractions provide insights on why protocols are secure and foster the development of families of protocols sharing common structure and properties. We have implemented our method in Isabelle/HOL and used it to develop different entity authentication and key establishment protocols, including realistic features such as key confirmation, replay caches, and encrypted tickets. Our development highlights that guard protocols and channel protocols provide fundamental abstractions for bridging the gap between security properties and standard protocol descriptions based on cryptographic messages. It also shows that our refinement approach scales to protocols of nontrivial size and complexity.
Christoph Sprenger 0001, David A. Basin
J. Comput. Secur.2
2018 Design, Analysis, and Implementation of ARPKI: An Attack-Resilient Public-Key Infrastructure
abstract
The current Transport Layer Security (TLS) Public-Key Infrastructure (PKI) is based on a weakest-link security model that depends on over a thousand trust roots. The recent history of malicious and compromised Certification Authorities has fueled the desire for alternatives. Creating a new, secure infrastructure is, however, a surprisingly challenging task due to the large number of parties involved and the many ways that they can interact. A principled approach to its design is therefore mandatory, as humans cannot feasibly consider all the cases that can occur due to the multitude of interleavings of actions by legitimate parties and attackers, such as private key compromises (e.g., domain, Certification Authority, log server, other trusted entities), key revocations, key updates, etc. We present ARPKI, a PKI architecture that ensures that certificate-related operations, such as certificate issuance, update, revocation, and validation, are transparent and accountable. ARPKI efficiently supports these operations, and gracefully handles catastrophic events such as domain key loss or compromise. Moreover ARPKI is the first PKI architecture that is co-designed with a formal model, and we verify its core security property using the TAMARIN prover. We prove that ARPKI offers extremely strong security guarantees, where compromising even n - 1 trusted signing and verifying entities is insufficient to launch a man-in-the-middle attack. Moreover, ARPKI's use deters misbehavior as all operations are publicly visible. Finally, we present a proof-of-concept implementation that provides all the features required for deployment. Our experiments indicate that ARPKI efficiently handles the certification process with low overhead. It does not incur additional latency to TLS, since no additional round trips are required.
David A. Basin, Cas Cremers, Tiffany Hyun-Jin Kim, Adrian Perrig, Ralf Sasse, Pawel Szalachowski
IEEE Trans. Dependable Secur. Comput.1
2017 Tests and Refutation
Muhammad Torabi Dashti, David A. Basin
ATVA2
2017 Runtime Verification of Temporal Properties over Out-of-Order Data Streams
David A. Basin, Felix Klaedtke, Eugen Zalinescu
CAV (1)1
2017 Cutoff Bounds for Consensus Algorithms
Ognjen Maric, Christoph Sprenger 0001, David A. Basin
CAV (2)3
2017 Securing Databases from Probabilistic Inference
abstract
Databases can leak confidential information when users combine query results with probabilistic data dependencies and prior knowledge. Current research offers mechanisms that either handle a limited class of dependencies or lack tractable enforcement algorithms. We propose a foundation for Database Inference Control based on ProbLog, a probabilistic logic programming language. We leverage this foundation to develop Angerona, a provably secure enforcement mechanism that prevents information leakage in the presence of probabilistic dependencies. We then provide a tractable inference algorithm for a practically relevant fragment of ProbLog. We empirically evaluate Angerona's performance showing that it scales to relevant security-critical problems.
Marco Guarnieri, Srdjan Marinovic, David A. Basin
CSF3
2017 Refining Authenticated Key Agreement with Strong Adversaries
abstract
We develop a family of key agreement protocols that are correct by construction. Our work substantially extends prior work on developing security protocols by refinement. First, we strengthen the adversary by allowing him to compromise different resources of protocol participants, such as their long-term keys or their session keys. This enables the systematic development of protocols that ensure strong properties such as perfect-forward secrecy. Second, we broaden the class of protocols supported to include those with non-atomic keys and equationally defined cryptographic operators. We use these extensions to develop key agreement protocols including signed Diffie-Hellman and the core of IKEv1 and SKEME.
Joseph Lallemand, David A. Basin, Christoph Sprenger 0001
EuroS&P2
2017 Test execution checkpointing for web applications
abstract
Test isolation is a prerequisite for the correct execution of test suites on web applications. We present Test Execution Checkpointing, a method for efficient test isolation. Our method instruments web applications to support checkpointing and exploits this support to isolate and optimize tests. We have implemented and evaluated this method on five popular PHP web applications. The results show that our method not only provides test isolation essentially for free, it also reduces testing time by 44% on average.
Marco Guarnieri, Petar Tsankov, Tristan Buchs, Muhammad Torabi Dashti, David A. Basin
ISSTA5
2017 Almost Event-Rate Independent Monitoring of Metric Dynamic Logic
David A. Basin, Srdan Krstic, Dmitriy Traytel
RV1
2017 Almost Event-Rate Independent Monitoring of Metric Temporal Logic
David A. Basin, Bhargav Nagaraja Bhatt, Dmitriy Traytel
TACAS (2)1
2016 In the Nick of Time: Proactive Prevention of Obligation Violations
abstract
We present a system model, an enforcement mechanism, and a policy language for the proactive enforcement of timed provisions and obligations. Our approach improves upon existing formalisms in two ways: (1) we exploit the target system's existing functionality to avert policy violations proactively, rather than compensate for them reactively, and, (2) instead of requiring the manual specification of remedial actions in the policy, we automatically deduce required actions directly from the policy. As a policy language, we employ timed dynamic condition response (DCR) processes. DCR primitives declaratively express timed provisions and obligations as causal relationships between events, and DCR states explicitly represent pending obligations. As key technical results, we show that enforceability of DCR policies is decidable, we give a sufficient polynomial time verifiable condition for a policy to be enforceable, and we give an algorithm for determining from a DCR state a sequence of actions that discharge impending obligations.
David A. Basin, Søren Debois, Thomas T. Hildebrandt
CSF1
2016 Modeling Human Errors in Security Protocols
abstract
Many security protocols involve humans, not machines, as endpoints. The differences are critical: humans are not only computationally weaker than machines, they are naive, careless, and gullible. In this paper, we provide a model for formalizing and reasoning about these inherent human limitations and their consequences. Specifically, we formalize models of fallible humans in security protocols as multiset rewrite theories. We show how the Tamarin tool can then be used to automatically analyze security protocols involving human errors. We provide case studies of authentication protocols that show how different protocol constructions and features differ in their effectiveness with respect to different kinds of fallible humans. This provides a starting point for a fine-grained classification of security protocols from a usable-security perspective.
David A. Basin, Sasa Radomirovic, Lara Schmid
CSF1
2016 Access Control Synthesis for Physical Spaces
abstract
Access-control requirements for physical spaces, like office buildings and airports, are best formulated from a global viewpoint in terms of system-wide requirements. For example, "there is an authorized path to exit the building from every room." In contrast, individual access-control components, such as doors and turnstiles, can only enforce local policies, specifying when the component may open. In practice, the gap between the system-wide, global requirements and the many local policies is bridged manually, which is tedious, error-prone, and scales poorly. We propose a framework to automatically synthesize local access control policies from a set of global requirements for physical spaces. Our framework consists of an expressive language to specify both global requirements and physical spaces, and an algorithm for synthesizing local, attribute-based policies from the global specification. We empirically demonstrate the framework's effectiveness on three substantial case studies. The studies demonstrate that access control synthesis is practical even for complex physical spaces, such as airports, with many interrelated security requirements.
Petar Tsankov, Muhammad Torabi Dashti, David A. Basin
CSF3
2016 Strong and Provably Secure Database Access Control
abstract
Existing SQL access control mechanisms are extremely limited. Attackers can leak information and escalate their privileges using advanced database features such as views, triggers, and integrity constraints. This is not merely a problem of vendors lagging behind the state-of-the-art. The theoretical foundations for database security lack adequate security definitions and a realistic attacker model, both of which are needed to evaluate the security of modern databases. We address these issues and present a provably secure access control mechanism that prevents attacks that defeat popular SQL database systems.
Marco Guarnieri, Srdjan Marinovic, David A. Basin
EuroS&P3
2016 Scalable offline monitoring of temporal specifications
David A. Basin, Germano Caronni, Sarah Ereth, Matús Harvan, Felix Klaedtke, Heiko Mantel
Formal Methods Syst. Des.1
2016 Large-scale system development using Abstract Data Types and refinement
Andreas Fürst, Thai Son Hoang, David A. Basin, Naoto Sato, Kunihiko Miyazaki
Sci. Comput. Program.3
2015 Automated Symbolic Proofs of Observational Equivalence
abstract
Many cryptographic security definitions can be naturally formulated as observational equivalence properties. However, existing automated tools for verifying the observational equivalence of cryptographic protocols are limited: they do not handle protocols with mutable state and an unbounded number of sessions. We propose a novel definition of observational equivalence for multiset rewriting systems. We then extend the Tamarin prover, based on multiset rewriting, to prove the observational equivalence of protocols with mutable state, an unbounded number of sessions, and equational theories such as Diffie-Hellman exponentiation. We demonstrate its effectiveness on case studies, including a stateful TPM protocol.
David A. Basin, Jannik Dreier, Ralf Sasse
CCS1
2015 A Complete Characterization of Secure Human-Server Communication
abstract
Establishing a secure communication channel between two parties is a nontrivial problem, especially when one or both are humans. Unlike computers, humans cannot perform strong cryptographic operations without supporting technology, yet this technology may itself be compromised. We introduce a general communication topology model to facilitate the analysis of security protocols in this setting. We use it to completely characterize all topologies that allow secure communication between a human and a remote server via a compromised computer. These topologies are relevant for a variety of applications, including online banking and Internet voting. Our characterization can serve to guide the design of novel solutions for applications and to quickly exclude proposals that cannot possibly offer secure communication.
David A. Basin, Sasa Radomirovic, Michael Schläpfer
CSF1
2015 Analyzing First-Order Role Based Access Control
abstract
We propose FORBAC, an extension of Role-Based Access Control (RBAC) based on first-order logic. FORBAC is expressive enough to formalize a wide range of access control policies. However, it is simple enough so that relevant policy analysis queries can be analyzed in NP, which we argue is a natural complexity class for this problem. To analyze queries efficiently, we reduce them to the problem of satisfiability modulo appropriate theories, and use off-the-shelf SMT solvers. We evaluate FORBAC's expressiveness and our approach to policy analysis in a case study, analyzing access control in a European bank.
Carlos Cotrini Jiménez, Thilo Weghorn, David A. Basin, Manuel Clavel
CSF3
2015 Consensus Refined
abstract
Algorithms for solving the consensus problem are fundamental to distributed computing. Despite their brevity, their ability to operate in concurrent, asynchronous, and failure-prone environments comes at the cost of complex and subtle behaviors. Accordingly, understanding how they work and proving their correctness is a non-trivial endeavor where abstraction is immensely helpful. Moreover, research on consensus has yielded a large number of algorithms, many of which appear to share common algorithmic ideas. A natural question is whether and how these similarities can be distilled and described in a precise, unified way. In this work, we combine stepwise refinement and lockstep models to provide an abstract and unified view of a sizeable family of consensus algorithms. Our models provide insights into the design choices underlying the different algorithms, and classify them based on those choices. All our results are formalized and verified in the theorem prover Isabelle/HOL, yielding precision and strong correctness guarantees.
Ognjen Maric, Christoph Sprenger 0001, David A. Basin
DSN3
2015 Failure-aware Runtime Verification of Distributed Systems
abstract
Prior runtime-verification approaches for distributed systems are limited as they do not account for network failures and they assume that system messages are received in the order they are sent. To overcome these limitations, we present an online algorithm for verifying observed system behavior at runtime with respect to specifications written in the real-time logic MTL that efficiently handles out-of-order message deliveries and operates in the presence of failures. Our algorithm uses a three-valued semantics for MTL, where the third truth value models knowledge gaps, and it resolves knowledge gaps as it propagates Boolean values through the formula structure. We establish the algorithm's soundness and provide completeness guarantees. We also show that it supports distributed system monitoring, where multiple monitors cooperate and exchange their observations and conclusions.
David A. Basin, Felix Klaedtke, Eugen Zalinescu
FSTTCS1
2015 Semantic Vacuity
abstract
The vacuous satisfaction of a temporal formula with respect to a model has been extensively studied in the literature. Although a universally accepted definition of vacuity does not yet exist, all existing proposals generalize, in one way or another, the antecedent failure of an implication to the syntax of a temporal logic. They are therefore syntactic: whether a model vacuously satisfies a formula is affected by semantics-preserving changes to the formula. This leads to inconsistent and counter-intuitive results. We propose an alternative: a semantic definition of vacuity for LTL where either two semantically equivalent LTL formulas are both satisfied vacuously in a model, or neither of them are. Our definition is based on a syntactic-invariant separation of LTL formulas, which gives rise to an algorithm for detecting semantic vacuity using trap properties. We also propose an alternative algorithm for Buchi automata, which can be used to detect the vacuous satisfaction of omega-regular properties as well as LTL formulas. We analyze this algorithm's worst-case complexity and, using real-world examples, demonstrate that semantic vacuity can be efficiently decided in practice.
Grgur Petric Maretic, Muhammad Torabi Dashti, David A. Basin
TIME3
2015 Monitoring of temporal first-order properties with aggregations
David A. Basin, Felix Klaedtke, Srdjan Marinovic, Eugen Zalinescu
Formal Methods Syst. Des.1
2015 Greedily computing associative aggregations on sliding windows
David A. Basin, Felix Klaedtke, Eugen Zalinescu
Inf. Process. Lett.1
2015 Monitoring Metric First-Order Temporal Properties
abstract
Runtime monitoring is a general approach to verifying system properties at runtime by comparing system events against a specification formalizing which event sequences are allowed. We present a runtime monitoring algorithm for a safety fragment of metric first-order temporal logic that overcomes the limitations of prior monitoring algorithms with respect to the expressiveness of their property specification languages. Our approach, based on automatic structures, allows the unrestricted use of negation, universal and existential quantification over infinite domains, and the arbitrary nesting of both past and bounded future operators. Furthermore, we show how to use and optimize our approach for the common case where structures consist of only finite relations, over possibly infinite domains. We also report on case studies from the domain of security and compliance in which we empirically evaluate the presented algorithms. Taken together, our results show that metric first-order temporal logic can serve as an effective specification language for expressing and monitoring a wide variety of practically relevant system properties.
David A. Basin, Felix Klaedtke, Samuel Müller 0002, Eugen Zalinescu
J. ACM1
2014 ARPKI: Attack Resilient Public-Key Infrastructure
abstract
We present ARPKI, a public-key infrastructure that ensures that certificate-related operations, such as certificate issuance, update, revocation, and validation, are transparent and accountable. ARPKI is the first such infrastructure that systematically takes into account requirements identified by previous research. Moreover, ARPKI is co-designed with a formal model, and we verify its core security property using the Tamarin prover. We present a proof-of-concept implementation providing all features required for deployment. ARPKI efficiently handles the certification process with low overhead and without incurring additional latency to TLS.
David A. Basin, Cas Cremers, Tiffany Hyun-Jin Kim, Adrian Perrig, Ralf Sasse, Pawel Szalachowski
CCS1
2014 Fail-Secure Access Control
abstract
Decentralized and distributed access control systems are subject to communication and component failures. These can affect access decisions in surprising and unintended ways, resulting in insecure systems. Existing analysis frameworks however ignore the influence of failure handling in decision making. Thus, it is currently all but impossible to derive security guarantees for systems that may fail. To address this, we present (1) a model in which the attacker can explicitly induce failures, (2) failure-handling idioms, and (3) a method and an associated tool for verifying fail-security requirements, which describe how access control systems should handle failures. To illustrate these contributions, we analyze the consequences of failure handling in the XACML 3 standard and other domains, revealing security flaws.
Petar Tsankov, Srdjan Marinovic, Muhammad Torabi Dashti, David A. Basin
CCS4
2014 Actor Key Compromise: Consequences and Countermeasures
abstract
Despite Alice's best efforts, her long-term secret keys may be revealed to an adversary. Possible reasons include weakly generated keys, compromised key storage, subpoena, and coercion. However, Alice may still be able to communicate securely with other parties, depending on the protocol used. We call the associated property resilience against Actor Key Compromise (AKC). We formalise this property in a symbolic model and identify conditions under which it can and cannot be achieved. In case studies that include TLS and SSH, we find that many protocols are not resilient against AKC. We implement a concrete AKC attack on the mutually authenticated TLS protocol.
David A. Basin, Cas Cremers, Marko Horvat 0002
CSF1
2014 Code Generation for Event-B
Andreas Fürst, Thai Son Hoang, David A. Basin, Krishnaji Desai, Naoto Sato, Kunihiko Miyazaki
IFM3
2014 Scalable Offline Monitoring
David A. Basin, Germano Caronni, Sarah Ereth, Matús Harvan, Felix Klaedtke, Heiko Mantel
RV1
2014 On Real-Time Monitoring with Imprecise Timestamps
David A. Basin, Felix Klaedtke, Srdjan Marinovic, Eugen Zalinescu
RV1
2014 Automated Verification of Group Key Agreement Protocols
abstract
We advance the state-of-the-art in automated symbolic cryptographic protocol analysis by providing the first algorithm that can handle Diffie-Hellman exponentiation, bilinear pairing, and AC-operators. Our support for AC-operators enables protocol specifications to use multisets, natural numbers, and finite maps. We implement the algorithm in the TAMARIN prover and provide the first symbolic correctness proofs for group key agreement protocols that use Diffie-Hellman or bilinear pairing, loops, and recursion, while at the same time supporting advanced security properties, such as perfect forward secrecy and eCK-security. We automatically verify a set of protocols, including the STR, group Joux, and GDH protocols, thereby demonstrating the effectiveness of our approach.
Benedikt Schmidt 0002, Ralf Sasse, Cas Cremers, David A. Basin
IEEE Symposium on Security and Privacy4
2014 Short paper: detection of GPS spoofing attacks in power grids
abstract
Power companies are deploying a multitude of sensors to monitor the energy grid. Measurements at different locations should be aligned in time to obtain the global state of the grid, and the industry therefore uses GPS as a common clock source. However, these sensors are exposed to GPS time spoofing attacks that cause misaligned aggregated measurements, leading to inaccurate monitoring that affects power stability and line fault contingencies. In this paper, we analyze the resilience of phasor measurement sensors, which record voltages and currents, to GPS spoofing performed by an adversary external to the system. We propose a solution that leverages the characteristics of multiple sensors in the power grid to limit the feasibility of such attacks. In order to increase the robustness of wide-area power grid monitoring, we evaluate mechanisms that allow collaboration among GPS receivers to detect spoofing attacks. We apply multilateration techniques to allow a set of GPS receivers to locate a false GPS signal source. Using simulations, we show that receivers sharing a local clock can locate nearby spoofing adversaries with sufficient confidence.
Der-Yeuan Yu, Aanjhan Ranganathan, Thomas Locher, Srdjan Capkun, David A. Basin
WISEC5
2014 Deciding safety and liveness in TPTL
David A. Basin, Carlos Cotrini Jiménez, Felix Klaedtke, Eugen Zalinescu
Inf. Process. Lett.1
2014 LTL is closed under topological closure
Grgur Petric Maretic, Muhammad Torabi Dashti, David A. Basin
Inf. Process. Lett.3
2014 Obstruction-free authorization enforcement: Aligning security and business objectives
abstract
Access control is fundamental in protecting information systems but it can also pose an obstacle to achieving business objectives. We analyze this tradeoff and its avoidance in the context of systems modeled as workflows restricted by authorization constraints, including those specifying Separation of Duty (SoD) and Binding of Duty (BoD). To begin with, we present a novel approach to scoping authorization constraints within workflows with loops and conditional execution. We formalize workflows, authorization constraints, and their enforcement using the process algebra CSP and visualize our constraints by extending the workflow modeling language BPMN. Afterwards, we consider enforcement's effects on business objectives. We identify the notion of obstruction, which generalizes deadlock within a system where access control is enforced, and we formulate the existence of an obstruction-free enforcement mechanism as a decision problem. We present complexity bounds for this problem and give an approximation algorithm that performs well when authorizations are evenly distributed among users. We provide tool support for our constraints in an extension of the modeling platform Oryx and report on the performance of our algorithms' implementation.
David A. Basin, Samuel J. Burri, Günter Karjoth
J. Comput. Secur.1
2014 Optimal Security-Aware Query Processing
abstract
Security-Aware Query Processing is the problem of computing answers to queries in the presence of access control policies. We present general impossibility results for the existence of optimal algorithms for Security-Aware Query Processing and classify query languages for which such algorithms exist. In particular, we show that for the relational calculus there are no optimal algorithms, whereas optimal algorithms exist for some of its fragments, such as the existential fragment. We also establish relationships between two different models of Fine-Grained Access Control, called Truman and Non-Truman models, which have been previously presented in the literature as distinct. For optimal Security-Aware Query Processing, we show that the Non-Truman model is a special case of the Truman model for boolean queries in the relational calculus, moreover the two models coincide for more powerful languages, such as the relational calculus with aggregation operators. In contrast, these two models are distinct for non-boolean queries.
Marco Guarnieri, David A. Basin
Proc. VLDB Endow.2
2014 Know Your Enemy: Compromising Adversaries in Protocol Analysis
abstract
We present a symbolic framework, based on a modular operational semantics, for formalizing different notions of compromise relevant for the design and analysis of cryptographic protocols. The framework’s rules can be combined to specify different adversary capabilities, capturing different practically-relevant notions of key and state compromise. The resulting adversary models generalize the models currently used in different domains, such as security models for authenticated key exchange. We extend an existing security-protocol analysis tool, Scyther, with our adversary models. This extension systematically supports notions such as weak perfect forward secrecy, key compromise impersonation, and adversaries capable of state-reveal queries. Furthermore, we introduce the concept of a protocol-security hierarchy, which classifies the relative strength of protocols against different adversaries. In case studies, we use Scyther to analyse protocols and automatically construct protocol-security hierarchies in the context of our adversary models. Our analysis confirms known results and uncovers new attacks. Additionally, our hierarchies refine and correct relationships between protocols previously reported in the cryptographic literature.
David A. Basin, Cas Cremers
ACM Trans. Inf. Syst. Secur.1
2014 A Model-Driven Methodology for Developing Secure Data-Management Applications
abstract
We present a novel model-driven methodology for developing secure data-management applications. System developers proceed by modeling three different views of the desired application: its data model, security model, and GUI model. These models formalize respectively the application's data domain, authorization policy, and its graphical interface together with the application's behavior. Afterwards a model-transformation function lifts the policy specified by the security model to the GUI model. This allows a separation of concerns where behavior and security are specified separately, and subsequently combined to generate a security-aware GUI model. Finally, a code generator generates a multi-tier application, along with all support for access control, from the security-aware GUI model. We report on applications built using our approach and the associated tool.
David A. Basin, Manuel Clavel, Marina Egea, Miguel Angel García de Dios, Carolina Dania
IEEE Trans. Software Eng.1
2013 The TAMARIN Prover for the Symbolic Analysis of Security Protocols
Simon Meier, Benedikt Schmidt 0002, Cas Cremers, David A. Basin
CAV4
2013 Secure data deletion from persistent media
abstract
Secure deletion is the task of deleting data irrecoverably from a physical medium. In this work, we present a general approach to the design and analysis of secure deletion for persistent storage that relies on encryption and key wrapping. We define a key disclosure graph that models the adversarial knowledge of the history of key generation and wrapping. We introduce a generic update function and prove that it achieves secure deletion of data against a coercive attacker; instances of the update function implement the update behaviour of all arborescent data structures including B-Trees, extendible hash tables, linked lists, and others. We implement a B-Tree instance of our solution. Our implementation is at the block-device layer, allowing any block-based file system to be used on top of it. Using different workloads, we find that the storage and communication overhead required for storing and retrieving B-Tree nodes is small and that this therefore constitutes a viable solution for many applications requiring secure deletion from persistent media.
Joel Reardon, Hubert Ritzdorf, David A. Basin, Srdjan Capkun
CCS3
2013 Symbolic Probabilistic Analysis of Off-Line Guessing
Bruno Conchinha, David A. Basin, Carlos Caleiro
ESORICS2
2013 Semi-valid input coverage for fuzz testing
abstract
We define semi-valid input coverage (SVCov), the first coverage criterion for fuzz testing. Our criterion is applicable whenever the valid inputs can be defined by a finite set of constraints. SVCov measures to what extent the tests cover the domain of semi-valid inputs, where an input is semi-valid if and only if it satisfies all the constraints but one.
Petar Tsankov, Muhammad Torabi Dashti, David A. Basin
ISSTA3
2013 Monitoring of Temporal First-Order Properties with Aggregations
David A. Basin, Felix Klaedtke, Srdjan Marinovic, Eugen Zalinescu
RV1
2013 SoK: Secure Data Deletion
abstract
Secure data deletion is the task of deleting data irrecoverably from a physical medium. In the digital world, data is not securely deleted by default; instead, many approaches add secure deletion to existing physical medium interfaces. Interfaces to the physical medium exist at different layers, such as user-level applications, the file system, the device driver, etc. Depending on which interface is used, the properties of an approach can differ significantly. In this paper, we survey the related work in detail and organize existing approaches in terms of their interfaces to physical media. We further present a taxonomy of adversaries differing in their capabilities as well as a systematization for the characteristics of secure deletion approaches. Characteristics include environmental assumptions, such as how the interface's use affects the physical medium, as well as behavioural properties of the approach such as the deletion latency and physical wear. We perform experiments to test a selection of approaches on a variety of file systems and analyze the assumptions made in practice.
Joel Reardon, David A. Basin, Srdjan Capkun
IEEE Symposium on Security and Privacy2
2013 Provably repairing the ISO/IEC 9798 standard for entity authentication
abstract
We formally analyze the family of entity authentication protocols defined by the ISO/IEC 9798 standard and find numerous weaknesses, both old and new, including some that violate even the most basic authentication guarantees. We analyze the cause of these weaknesses, propose repaired versions of th e protocols, and provide automated, machine-checked proofs of their correctness. From an engineering perspective, we propose two design principles for security protocols that suffice to prevent all the weaknesses. Moreover, we show how modern verification tools can be used for the falsification and certified verification of security standards. Based on our findings, the ISO working group responsible for the ISO/IEC 9798 standard has released an updated version of the standard.
David A. Basin, Cas Cremers, Simon Meier
J. Comput. Secur.1
2013 Efficient construction of machine-checked symbolic protocol security proofs
abstract
We embed an untyped security protocol model in the interactive theorem prover Isabelle/HOL and derive a theory for constructing proofs of secrecy and authentication properties. Our theory is based on two key ingredients. The first is an inference rule for enumerating the possible origins of messages known to the intruder. The second is a class of protocol-specific invariants that formalize type assertions about variables in protocol specifications. The resulting theory is well suited for interactively constructing human-readable, protocol security proofs. We additionally give an algorithm that automatically generates Isabelle/HOL proof scripts based on this theory. We provide case studies showing that both interactive and automatic proof construction are efficient. The resulting proofs provide strong correctness guarantees since all proofs, including those deriving our theory from the security protocol model, are machine-checked.
Simon Meier, Cas Cremers, David A. Basin
J. Comput. Secur.3
2013 Enforceable Security Policies Revisited
abstract
We revisit Schneider’s work on policy enforcement by execution monitoring. We overcome limitations of Schneider’s setting by distinguishing between system actions that are controllable by an enforcement mechanism and those actions that are only observable, that is, the enforcement mechanism sees them but cannot prevent their execution. For this refined setting, we give necessary and sufficient conditions on when a security policy is enforceable. To state these conditions, we generalize the standard notion of safety properties. Our classification of system actions also allows one, for example, to reason about the enforceability of policies that involve timing constraints. Furthermore, for different specification languages, we investigate the decision problem of whether a given policy is enforceable. We provide complexity results and show how to synthesize an enforcement mechanism from an enforceable policy.
David A. Basin, Vincent Jugé, Felix Klaedtke, Eugen Zalinescu
ACM Trans. Inf. Syst. Secur.1
2013 Role Mining with Probabilistic Models
abstract
Role mining tackles the problem of finding a role-based access control (RBAC) configuration, given an access-control matrix assigning users to access permissions as input. Most role-mining approaches work by constructing a large set of candidate roles and use a greedy selection strategy to iteratively pick a small subset such that the differences between the resulting RBAC configuration and the access control matrix are minimized. In this article, we advocate an alternative approach that recasts role mining as an inference problem rather than a lossy compression problem. Instead of using combinatorial algorithms to minimize the number of roles needed to represent the access-control matrix, we derive probabilistic models to learn the RBAC configuration that most likely underlies the given matrix. Our models are generative in that they reflect the way that permissions are assigned to users in a given RBAC configuration. We additionally model how user-permission assignments that conflict with an RBAC configuration emerge and we investigate the influence of constraints on role hierarchies and on the number of assignments. In experiments with access-control matrices from real-world enterprises, we compare our proposed models with other role-mining methods. Our results show that our probabilistic models infer roles that generalize well to new system users for a wide variety of data, while other models’ generalization abilities depend on the dataset given.
Mario Frank 0001, Joachim M. Buhmann, David A. Basin
ACM Trans. Inf. Syst. Secur.3
2013 Predictable Mobile Routing for Spacecraft Networks
abstract
In predictable mobile networks, network nodes move in a predictable way and therefore have dynamically changing but predictable connectivity. We have developed a model that formalizes predictable dynamic topologies as sequences of static snapshots. We use this model to design and evaluate a predictable mobile-routing protocol based on link-state routing, whose performance is superior to its static and ad hoc counterparts. Our routing protocol accounts for occurrences of additional, unpredictable changes, as well as their interaction with predictable changes. We evaluate our protocol using simulations based on randomly generated topologies and spacecraft-network scenarios. In both cases, we show that our protocol outperforms traditional routing protocols and is well suited for routing in next-generation space networks.
Daniel Fischer 0006, David A. Basin, Knut Eckstein, Thomas Engel 0001
IEEE Trans. Mob. Comput.2
2013 Monitoring Data Usage in Distributed Systems
abstract
IT systems manage increasing amounts of sensitive data and there is a growing concern that they comply with policies that regulate data usage. In this paper, we use temporal logic to express policies and runtime monitoring to check system compliance. While well-established methods for monitoring linearly ordered system behavior exist, a major challenge is monitoring distributed and concurrent systems where actions are locally observed in the different system parts. These observations can only be partially ordered, while policy compliance may depend on the actions' actual order of appearance. Technically speaking, it is in general intractable to check compliance of partially ordered traces. We identify fragments of our policy specification language for which compliance can be checked efficiently, namely, by monitoring a single representative trace in which the observed actions are totally ordered. Through a case study we show that the fragments are capable of expressing nontrivial policies and that monitoring representative traces is feasible on real-world data.
David A. Basin, Matús Harvan, Felix Klaedtke, Eugen Zalinescu
IEEE Trans. Software Eng.1
2012 User-level secure deletion on log-structured file systems
abstract
Deleting a file from a storage medium serves two purposes: it reclaims storage resources and ensures that any sensitive information contained in the file becomes inaccessible. When done for the latter purpose, it is critical that the file is securely deleted, meaning that its content does not persist on the storage medium after deletion. Secure deletion is the act of deleting data from a storage medium such that the data is afterwards irrecoverable from the storage medium. The time between deleting data and it becoming irrecoverable is called the deletion latency.
Joel Reardon, Claudio Marforio, Srdjan Capkun, David A. Basin
AsiaCCS4
2012 Automated Analysis of Diffie-Hellman Protocols and Advanced Security Properties
abstract
We present a general approach for the symbolic analysis of security protocols that use Diffie-Hellman exponentiation to achieve advanced security properties. We model protocols as multiset rewriting systems and security properties as first-order formulas. We analyze them using a novel constraint-solving algorithm that supports both falsification and verification, even in the presence of an unbounded number of protocol sessions. The algorithm exploits the finite variant property and builds on ideas from strand spaces and proof normal forms. We demonstrate the scope and the effectiveness of our algorithm on non-trivial case studies. For example, the algorithm successfully verifies the NAXOS protocol with respect to a symbolic version of the eCK security model.
Benedikt Schmidt 0002, Simon Meier, Cas Cremers, David A. Basin
CSF4
2012 Refining Key Establishment
abstract
We use refinement to systematically develop a family of key establishment protocols using a theorem prover. Our development spans four levels of abstraction: abstract security properties, message-less guard protocols, protocols communicating over channels with security properties, and protocols secure with respect to a Dolev-Yao intruder. The protocols we develop are Needham-Schroeder Shared Key, the core of Kerberos 4 and 5, and Denning Sacco, and include realistic features such as key confirmation, replay caches, and encrypted tickets. Our development highlights that message-less guard protocols provide a fundamental abstraction for bridging the gap between security properties and message-based protocol descriptions. It also shows that the refinement approach presented in [SB10] can be applied, with minor adaption, to families of key establishment protocols and that it scales to protocols of nontrivial size and complexity.
Christoph Sprenger 0001, David A. Basin
CSF2
2012 Monitoring Compliance Policies over Incomplete and Disagreeing Logs
David A. Basin, Felix Klaedtke, Srdjan Marinovic, Eugen Zalinescu
RV1
2012 Optimal workflow-aware authorizations
abstract
Balancing protection and empowerment is a central problem when specifying authorizations. The principle of least privilege, the classical approach to balancing these two conflicting objectives, says that users shall only be authorized to execute the tasks necessary to complete their job. However, when there are multiple authorization policies satisfying least privilege, which one should be chosen?
David A. Basin, Samuel J. Burri, Günter Karjoth
SACMAT1
2012 Data Node Encrypted File System: Efficient Secure Deletion for Flash Memory
Joel Reardon, Srdjan Capkun, David A. Basin
USENIX Security Symposium3
2012 Multi-Assignment Clustering for Boolean Data
Mario Frank 0001, Andreas P. Streich, David A. Basin, Joachim M. Buhmann
J. Mach. Learn. Res.3
2012 Dynamic enforcement of abstract separation of duty constraints
abstract
Separation of Duties (SoD) aims at preventing fraud and errors by distributing tasks and associated authorizations among multiple users. Li and Wang [2008] proposed an algebra (SoDA) for specifying SoD requirements, which is both expressive in the requirements it formalizes and abstract in that it is not bound to a workflow model. In this article, we bridge the gap between the specification of SoD constraints modeled in SoDA and their enforcement in a dynamic, service-oriented enterprise environment. We proceed by generalizing SoDA's semantics to traces, modeling workflow executions that satisfy the respective SoDA terms. We then refine the set of traces induced by a SoDA term to also account for a workflow's control-flow and role-based authorizations. Our formalization, which is based on the process algebra CSP, supports the enforcement of SoD on general workflows and handles changing role assignments during workflow execution, addressing a well-known source of fraud. The resulting CSP model serves as blueprint for a distributed and loosely coupled architecture where SoD enforcement is provisioned as a service. This concept, which we call SoD as a Service, facilitates a separation of concerns between business experts and security professionals. As a result, integration and configuration efforts are minimized and enterprises can quickly adapt to organizational, regulatory, and technological changes. We describe an implementation of SoD as a Service, which combines commercial components such as a workflow engine with newly developed components such as an SoD enforcement monitor. To evaluate our design decisions and to demonstrate the feasibility of our approach, we present a case study of a drug dispensation workflow deployed in a hospital.
David A. Basin, Samuel J. Burri, Günter Karjoth
ACM Trans. Inf. Syst. Secur.1
2011 Separation of duties as a service
abstract
We introduce the concept of Separation of Duties (SoD) as a Service, an approach to enforcing SoD requirements on workflows and thereby preventing fraud and errors. SoD as a Service facilitates a separation of concern between business experts and security professionals. Moreover, it allows enterprises to address the need for internal controls and to quickly adapt to organizational, regulatory, and technological changes. In this paper, we describe an implementation of SoD as a Service, which extends a widely used, commercial workflow system, and discuss its performance. We present a drug dispensation workflow deployed in a hospital as case study to demonstrate the feasibility and benefits of our proof-of-concept implementation.
David A. Basin, Samuel J. Burri, Günter Karjoth
AsiaCCS1
2011 Obstruction-Free Authorization Enforcement: Aligning Security with Business Objectives
abstract
Access control is fundamental in protecting information systems but it also poses an obstacle to achieving business objectives. We analyze this tradeoff and its avoidance in the context of systems modeled as workflows restricted by authorization constraints including those specifying Separation of Duty (SoD) and Binding of Duty (BoD).To begin with, we present a novel approach to scoping authorization constraints within workflows with loops and conditional execution. Afterwards, we consider enforcement's effects on business objectives. We identify the notion of obstruction, which generalizes deadlock within a system where access control is enforced, and we formulate the existence of an obstruction-free enforcement mechanism as a decision problem. We present lower and upper bounds for the complexity of this problem and also give an approximation algorithm that performs well when authorizations are equally distributed among users.
David A. Basin, Samuel J. Burri, Günter Karjoth
CSF1
2011 Constructing Mid-Points for Two-Party Asynchronous Protocols
Petar Tsankov, Muhammad Torabi Dashti, David A. Basin
OPODIS3
2011 FAST: An Efficient Decision Procedure for Deduction and Static Equivalence
Bruno Conchinha, David A. Basin, Carlos Caleiro
RTA2
2011 MONPOLY: Monitoring Usage-Control Policies
David A. Basin, Matús Harvan, Felix Klaedtke, Eugen Zalinescu
RV1
2011 Algorithms for Monitoring Real-Time Properties
David A. Basin, Felix Klaedtke, Eugen Zalinescu
RV1
2011 A decade of model-driven security
abstract
In model-driven development, system designs are specified using graphical modeling languages like UML and system artifacts such as code and configuration data are automatically generated from the models. Model-driven security is a specialization of this paradigm, where system designs are modeled together with their security requirements and security infrastructures are directly generated from the models. Over the past decade, we have explored different facets of model-driven security. This research includes different modeling languages, code generators, model analysis tools, and even model transformations. For example, in multi-tier systems, we used model transformations to transform a security policy, formulated for a system's data model, to a security policy governing the behavior of the system's graphical user interface. In this paper, we survey progress made, tool support, and case studies, which attest to the flexibility and power of such a multi-faceted approach to building secure systems.
David A. Basin, Manuel Clavel, Marina Egea
SACMAT1
2011 Monitoring Usage-Control Policies in Distributed Systems
abstract
We have previously presented a monitoring algorithm for compliance checking of policies formalized in an expressive metric first-order temporal logic. We explain here the steps required to go from the original algorithm to a working infrastructure capable of monitoring an existing distributed application producing millions of log entries per day. The main challenge is to correctly and efficiently monitor the trace interleavings obtained by totally ordering actions that happen at the same time. We provide solutions based on formula transformations and monitoring representative traces. We also report, for the first time, on statistics on the performance of our monitor on real-world data, providing evidence of its suitability for nontrivial applications.
David A. Basin, Matús Harvan, Felix Klaedtke, Eugen Zalinescu
TIME1
2011 Automatically deriving information-theoretic bounds for adaptive side-channel attacks
abstract
We present a model of adaptive attacks which we combine with information-theoretic metrics to quantify the information revealed to an adaptive adversary. This enables us to express an adversary's remaining uncertainty about a secret as a function of the number of interactions with the system under attack. We present algorithms and approximation methods for computing this function. The main application area for our approach is the analysis of side-channels in cryptographic algorithms and we give examples of how it can be used to characterize the vulnerability of hardware implementations to timing and power attacks. We also show the generality of our approach by using it to quantify the information leaked by a security protocol.
Boris Köpf, David A. Basin
J. Comput. Secur.2
2011 Distributed temporal logic for the analysis of security protocol models
David A. Basin, Carlos Caleiro, Jaime Ramos, Luca Viganò 0001
Theor. Comput. Sci.1
2011 Formal Reasoning about Physical Properties of Security Protocols
abstract
Traditional security protocols are mainly concerned with authentication and key establishment and rely on predistributed keys and properties of cryptographic operators. In contrast, new application areas are emerging that establish and rely on properties of the physical world. Examples include protocols for secure localization, distance bounding, and secure time synchronization. We present a formal model for modeling and reasoning about such physical security protocols. Our model extends standard, inductive, trace-based, symbolic approaches with a formalization of physical properties of the environment, namely communication, location, and time. In particular, communication is subject to physical constraints, for example, message transmission takes time determined by the communication medium used and the distance between nodes. All agents, including intruders, are subject to these constraints and this results in a distributed intruder with restricted, but more realistic, communication capabilities than those of the standard Dolev-Yao intruder. We have formalized our model in Isabelle/HOL and have used it to verify protocols for authenticated ranging, distance bounding, broadcast authentication based on delayed key disclosure, and time synchronization.
David A. Basin, Srdjan Capkun, Patrick Schaller, Benedikt Schmidt 0002
ACM Trans. Inf. Syst. Secur.1
2010 Keeping data secret under full compromise using porter devices
abstract
We address the problem of confidentiality in scenarios where the attacker is not only able to observe the communication between principals, but can also fully compromise the communicating parties (their devices, not only their long term secrets) after the confidential data has been exchanged. We formalize this problem and explore solutions that provide confidentiality after the full compromise of devices and user passwords. We propose two new solutions that use explicit key deletion and forward-secret protocols combined with key storage on porter devices. Our solutions provide the users with control over their privacy. We analyze the proposed solutions using an automatic verification tool. We also implement a prototype using a mobile phone as a porter device to illustrate how the solution can be realized on modern platforms.
Christina Pöpper, David A. Basin, Srdjan Capkun, Cas Cremers
ACSAC2
2010 Policy Monitoring in First-Order Temporal Logic
David A. Basin, Felix Klaedtke, Samuel Müller 0002
CAV1
2010 Developing security protocols by refinement
abstract
We propose a development method for security protocols based on stepwise refinement. Our refinement strategy guides the transformation of abstract security goals into protocols that are secure when operating over an insecure channel controlled by a Dolev-Yao-style intruder. The refinement steps successively introduce local states, an intruder, communication channels with security properties, and cryptographic operations realizing these channels. The abstractions used provide insights on how the protocols work and foster the development of families of protocols sharing a common structure and properties. In contrast to post-hoc verification methods, protocols are developed together with their correctness proofs. We have implemented our method in Isabelle/HOL and used it to develop different entity authentication and key transport protocols.
Christoph Sprenger 0001, David A. Basin
CCS2
2010 Strong Invariants for the Efficient Construction of Machine-Checked Protocol Security Proofs
abstract
We embed an operational semantics for security protocols in the interactive theorem prover Isabelle/HOL and derive two strong protocol-independent invariants. These invariants allow us to reason about the possible origin of messages and justify a local typing assumption for the otherwise untyped protocol variables. The two rules form the core of a theory that is well-suited for interactively constructing natural, human-readable, correctness proofs. Moreover, we develop an algorithm that automatically generates proof scripts based on these invariants. Both interactive and automatic proof construction are faster than competing approaches. Moreover, we have strong correctness guarantees since all proofs, including those deriving the underlying theory from the semantics, are machine checked.
Simon Meier, Cas Cremers, David A. Basin
CSF3
2010 Impossibility Results for Secret Establishment
abstract
Security protocol design is a creative discipline where the solution space depends on the problem to be solved and the cryptographic operators available. In this paper, we examine the general question of when two agents can create a shared secret. Namely, given an equational theory describing the cryptographic operators available, is there a protocol that allows the agents to establish a shared secret? We examine this question in several settings. First, we provide necessary and sufficient conditions for secret establishment using subterm convergent theories. This directly yields a decision procedure for this problem. As a consequence, we obtain impossibility results for symmetric encryption and signature schemes. Second, we use algebraic methods to prove impossibility results for two important theories that are not subterm convergent: XOR and abelian groups. Finally, we develop a general combination result that enables modular impossibility proofs. For example, the results for symmetric encryption and XOR can be combined to obtain impossibility for the joint theory.
Benedikt Schmidt 0002, Patrick Schaller, David A. Basin
CSF3
2010 Modeling and Analyzing Security in the Presence of Compromising Adversaries
David A. Basin, Cas Cremers
ESORICS1
2010 SSG: a model-based development environment for smart, security-aware GUIs
abstract
We present a development environment for automatically building smart, security-aware GUIs following a model-based approach. Our environment consists of a number of plugins that have been developed using the Eclipse framework and includes three model editors, a model-transformation tool, and a code generator.
Miguel Angel García de Dios, Carolina Dania, Michael Schläpfer, David A. Basin, Manuel Clavel, Marina Egea
ICSE (2)4
2010 Monitoring security policies with metric first-order temporal logic
abstract
We show the practical feasibility of monitoring complex security properties using a runtime monitoring approach for metric first-order temporal logic. In particular, we show how a wide variety of security policies can be naturally formalized in this expressive logic, ranging from traditional policies like Chinese Wall and separation of duty to more specialized usage-control and compliance requirements. We also explain how these formalizations can be directly used for monitoring and experimentally evaluate the performance of the resulting monitors.
David A. Basin, Felix Klaedtke, Samuel Müller 0002
SACMAT1
2010 On the definition of role mining
abstract
There have been many approaches proposed for role mining. However, the problems solved often differ due to a lack of consensus on the formal definition of the role mining problem. In this paper, we provide a detailed analysis of the requirements for role mining, the existing definitions of role mining, and the methods used to assess role mining results. Given basic assumptions on how access-control configurations are generated, we propose a novel definition of the role mining problem that fulfills the requirements that real-world enterprises typically have. In this way, we recast role mining as a prediction problem.
Mario Frank 0001, Joachim M. Buhmann, David A. Basin
SACMAT3
2010 Constraint differentiation: Search-space reduction for the constraint-based analysis of security protocols
abstract
We introduce constraint differentiation, a powerful technique for reducing search when model-checking security protocols using constraint-based methods. Constraint differentiation works by eliminating certain kinds of redundancies that arise in the search space when using constraints to represent a nd manipulate the messages that may be sent by an active intruder. We define constraint differentiation in a general way, independent of the technical and conceptual details of the underlying constraint-based method and protocol model. Formally, we prove that constraint differentiation terminates and is correct, under the assumption that the original constraint-based approach has these properties. Practically, as a concrete case study, we have integrated this technique into OFMC, a state-of-the-art model-checker for security protocol analysis, and demonstrated its effectiveness by extensive experimentation. Our results show that constraint differentiation substantially reduces search and considerably improves the performance of OFMC, enabling its application to a wider class of problems.
Sebastian Mödersheim, Luca Viganò 0001, David A. Basin
J. Comput. Secur.3
2010 Efficient analysis of pattern-based constraint specifications
Michael Wahler, David A. Basin, Achim D. Brucker, Jana Koehler
Softw. Syst. Model.2
2009 A probabilistic approach to hybrid role mining
abstract
Role mining algorithms address an important access control problem: configuring a role-based access control system. Given a direct assignment of users to permissions, role mining discovers a set of roles together with an assignment of users to roles. The results should closely agree with the direct assignment. Moreover, the roles should be understandable from the business perspective in that they reflect functional roles within the enterprise. This requires hybrid role mining methods that work with both direct assignments and business information from the enterprise.
Mario Frank 0001, Andreas P. Streich, David A. Basin, Joachim M. Buhmann
CCS3
2009 Modeling and Verifying Physical Properties of Security Protocols for Wireless Networks
abstract
We present a formal model for modeling and reasoning about security protocols. Our model extends standard, inductive, trace-based, symbolic approaches with a formalization of physical properties of the environment, namely communication, location, and time. In particular, communication is subject to physical constraints, for example, message transmission takes time determined by the communication medium used and the distance traveled. All agents, including intruders, are subject to these constraints and this results in a distributed intruder with restricted, but more realistic, communication capabilities than those of the standard Dolev-Yao intruder. We have formalized our model in Isabelle/HOL and used it to verify protocols for authenticated ranging, distance bounding, and broadcast authentication based on delayed key disclosure.
Patrick Schaller, Benedikt Schmidt 0002, David A. Basin, Srdjan Capkun
CSF3
2009 Dynamic Enforcement of Abstract Separation of Duty Constraints
David A. Basin, Samuel J. Burri, Günter Karjoth
ESORICS1
2009 Multi-assignment clustering for Boolean data
abstract
Conventional clustering methods typically assume that each data item belongs to a single cluster. This assumption does not hold in general. In order to overcome this limitation, we propose a generative method for clustering vectorial data, where each object can be assigned to multiple clusters. Using a deterministic annealing scheme, our method decomposes the observed data into the contributions of individual clusters and infers their parameters. Experiments on synthetic Boolean data show that our method achieves higher accuracy in the source parameter estimation and superior cluster stability compared to state-of-the-art approaches. We also apply our method to an important problem in computer security known as role mining. Experiments on real-world access control data show performance gains in generalization to new employees against other multi-assignment methods. In challenging situations with high noise levels, our approach maintains its good performance, while alternative state-of-the-art techniques lack robustness.
Andreas P. Streich, Mario Frank 0001, David A. Basin, Joachim M. Buhmann
ICML3
2009 Developing Topology Discovery in Event-B
Thai Son Hoang, Hironobu Kuruma, David A. Basin, Jean-Raymond Abrial
IFM3
2009 Automated analysis of security-design models
David A. Basin, Manuel Clavel, Jürgen Doser, Marina Egea
Inf. Softw. Technol.1
2009 Labelled Tableaux for Distributed Temporal Logic
abstract
The distributed temporal logic DTL is a logic for reasoning about temporal properties of discrete distributed systems from the local point of view of the system's agents, which are assumed to execute sequentially and to interact by means of synchronous event sharing. We present a sound and complete labelled tableaux system for full DTL. To achieve this, we first formalize a labelled tableaux system for reasoning locally at each agent and afterwards we combine the local systems into a global one by adding rules that capture the distributed nature of DTL. We also provide examples illustrating the use of DTL and our tableaux system.
David A. Basin, Carlos Caleiro, Jaime Ramos, Luca Viganò 0001
J. Log. Comput.1
2009 Developing topology discovery in Event-B
Thai Son Hoang, Hironobu Kuruma, David A. Basin, Jean-Raymond Abrial
Sci. Comput. Program.3
2008 A class of probabilistic models for role engineering
abstract
Role Engineering is a security-critical task for systems using role-based access control (RBAC). Different role-mining approaches have been proposed that attempt to automatically infer appropriate roles from existing user-permission assignments. However, these approaches are mainly combinatorial and lack an underlying probabilistic model of the domain. We present the first probabilistic model for RBAC. Our model defines a general framework for expressing user permission assignments and can be specialized to different domains by limiting its degrees of freedom with appropriate constraints. For one practically important instance of this framework, we show how roles can be inferred from data using a state-of-the-art machine-learning algorithm. Experiments on both randomly generated and real-world data provide evidence that our approach not only creates meaningful roles but also identifies erroneous user-permission assignments in given data.
Mario Frank 0001, David A. Basin, Joachim M. Buhmann
CCS2
2008 Mechanisms for usage control
abstract
Usage control is a generalization of access control that also addresses how data is used after it is released. We present a formal model for different mechanisms that can enforce usage control policies on the consumer side.
Alexander Pretschner, Manuel Hilty, David A. Basin, Christian Schaefer, Thomas Walter 0001
AsiaCCS3
2008 Cryptographically-Sound Protocol-Model Abstractions
abstract
We present a formal theory for cryptographically-sound theorem proving. Our starting point is the Backes-Pfitzmann-Waidner (BPW) model, which is a symbolic protocol model that is cryptographically sound in the sense of blackbox reactive simulatability. To achieve cryptographic soundness, this model is substantially more complex than standard symbolic models and the main challenge in formalizing and using this model is overcoming this complexity. We present a series of cryptographically-sound abstractions of the original BPW model that bring it much closer to standard Dolev-Yao style models. We present a case study showing that our abstractions enable proofs of complexity comparable to those based on more standard models. Our entire development has been formalized in Isabelle/HOL.
Christoph Sprenger 0001, David A. Basin
CSF2
2008 Runtime Monitoring of Metric First-order Temporal Properties
abstract
We introduce a novel approach to the runtime monitoring of complex system properties. In particular, we present an online algorithm for a safety fragment of metric first-order temporal logic that is considerably more expressive than the logics supported by prior monitoring methods. Our approach, based on automatic structures, allows the unrestricted use of negation, universal and existential quantification over infinite domains, and the arbitrary nesting of both past and bounded future operators. Moreover, we show how to optimize our approach for the common case where structures consist of only finite relations, over possibly infinite domains. Under an additional restriction, we prove that the space consumed by our monitor is polynomially bounded by the cardinality of the data appearing in the processed prefix of the temporal structure being monitored.
David A. Basin, Felix Klaedtke, Samuel Müller 0002, Birgit Pfitzmann
FSTTCS1
2008 Topology dynamics and routing for predictable mobile networks
abstract
Predictable mobile networks are dynamic in terms of the mobility and connectivity of the network nodes. However, in contrast to mobile ad-hoc networks, their dynamics are mostly predictable, as the name suggests. Currently, no adequate topology model exists for such networks. Moreover, routing protocols based on either static or mobile ad-hoc topology models do not exploit this predictability and thus are too inefficient for use in some application areas. We present a model that formalizes predictable dynamic topologies as sequences of static snapshots. We use this model to design and prove the correctness of a protocol based on link-state routing, whose performance is superior to its static and ad-hoc counterparts. Our routing protocol accounts for occurrences of additional, unpredictable changes, as well as their interaction with predictable changes. As an application area, we focus on routing in spacecraft networks and explain the suitability of our protocol for this application domain.
Daniel Fischer 0006, David A. Basin, Thomas Engel 0001
ICNP2
2008 A Labeled Tableaux Systemfor the Distributed Temporal Logic DTL
abstract
DTL is a distributed temporal logic for reasoning about temporal properties of distributed systems from the local point of view of the system's agents, which are assumed to execute sequentially and to interact by means of synchronous event sharing. We present a sound and complete labeled tableaux system for future-time DTL. To achieve this, we first formalize a labeled tableaux system for reasoning locally at each agent, which provides a system for full future-time LTL, and afterwards we combine the local systems into a global one by adding rules that capture the distributed nature of DTL.
David A. Basin, Carlos Caleiro, Jaime Ramos, Luca Viganò 0001
TIME1
2008 SSL/TLS session-aware user authentication revisited
Rolf Oppliger, Ralf Hauser, David A. Basin
Comput. Secur.3
2007 Midpoints Versus Endpoints: From Protocols to Firewalls
Diana von Bidder, David A. Basin, Germano Caronni
ACNS2
2007 BAP: Broadcast Authentication Using Cryptographic Puzzles
Patrick Schaller, Srdjan Capkun, David A. Basin
ACNS3
2007 Specifying and analyzing security automata using CSP-OZ
abstract
Security automata are a variant of Büchi automata used to specify security policies that can be enforced by monitoring system execution. In this paper, we propose using CSP-OZ, a specification language combining Communicating Sequential Processes (CSP) and Object-Z (OZ), to specify security automata, formalize their combination with target systems, and analyze the security of the resulting system specifications. We provide theoretical results relating CSP-OZ specifications and security automata and show how refinement can be used to reason about specifications of security automata and their combination with target systems. Through a case study, we provide evidence for the practical usefulness of this approach. This includes the ability to specify concisely complex operations and complex control, support for structured specifications, refinement, and transformational design, as well as automated, tool-supported analysis.
David A. Basin, Ernst-Rüdiger Olderog, Paul E. Sevinç
AsiaCCS1
2007 An information-theoretic model for adaptive side-channel attacks
abstract
We present a model of adaptive side-channel attacks which we combine with information-theoretic metrics to quantify the information revealed to an attacker. This allows us to express an attacker's remaining uncertainty about a secret as a function of the number of side-channel measurements made. We present algorithms and approximation techniques for computing this measure. We also give examples of how they can be used to analyze the resistance of hardware implementations of cryptographic functions to both timing and power attacks.
Boris Köpf, David A. Basin
CCS2
2007 A Policy Language for Distributed Usage Control
Manuel Hilty, Alexander Pretschner, David A. Basin, Christian Schaefer, Thomas Walter 0001
ESORICS3
2007 A Metamodel-Based Approach for Analyzing Security-Design Models
David A. Basin, Manuel Clavel, Jürgen Doser, Marina Egea
MoDELS1
2007 Securing the Distribution and Storage of Secrets with Trusted Platform Modules
Paul E. Sevinç, Mario Strasser, David A. Basin
WISTP3
2007 Verifying a signature architecture: a comparative case study
abstract
Abstract We report on a case study in applying different formal methods to model and verify an architecture for administrating digital signatures. The architecture comprises several concurrently executing systems that authenticate users and generate and store digital signatures by passing security relevant data through a tightly controlled interface. The architecture is interesting from a formal-methods perspective as it involves complex operations on data as well as process coordination and hence is a candidate for both data-oriented and process-oriented formal methods. We have built and verified two models of the signature architecture using two representative formal methods. In the first, we specify a data model of the architecture in Z that we extend to a trace model and interactively verify by theorem proving. In the second, we model the architecture as a system of communicating processes that we verify by finite-state model checking. We provide a detailed comparison of these two different approaches to formalization (infinite state with rich data types versus finite state) and verification (theorem proving versus model checking). Contrary to common belief, our case study suggests that Z is well suited for temporal reasoning about process models with complex operations on data. Moreover, our comparison highlights the advantages of proving theorems about such models and provides evidence that, in the hands of an experienced user, theorem proving may be neither substantially more time-consuming nor more complex than model checking.
David A. Basin, Hironobu Kuruma, Kunihiko Miyazaki, Kazuo Takaragi, Burkhart Wolff
Formal Aspects Comput.1
2007 Preface
abstract
This special issue collects extended versions of selected papers presented at the second ACM Workshop on Formal Methods in Security Engineering (FMSE) 2004, held in Washington DC, October 29th, in conjunction with the 11th ACM Conference on Computer and Communications Security.The purpose of FMSE is to bring together researchers and practitioners from both the security and the software engineering communities, from academia and industry, who are working on applying formal methods to designing and validating large-scale security-critical systems.The scope of the workshop covers security and formalmethods related aspects of: security specification techniques, formal trust models, combination of formal techniques with semi-formal techniques like UML, formal analyses of specific security properties relevant to software development, securitypreserving composition and refinement of processes, faithful abstractions of cryptographic primitives and protocols in process abstractions, integration of formal security specifications, as well as refinement and validation techniques in development methods and tools.
Michael Backes 0001, David A. Basin, Michael Waidner
J. Comput. Secur.2
2006 Model Driven Security
abstract
Summary form only given. We present an approach to integrating security into the system design process. Namely, models are made of system designs along with their security requirements, and security architectures are automatically generated from the resulting security-design models. We call the resulting approach "model driven security" as it represents a specialization of model driven development to the domain of system security. To illustrate these ideas we present SecureUML, a modeling language based on UML for modeling system designs along with their security requirements. From SecureUML models, we automatically generate security architectures, built from declarative and procedural access control mechanisms, for distributed middleware-based applications. The process has been implemented in the ArcStyler tool, which generates security infrastructures based on Sun's Enterprise Java Bean standard. We report on case studies using this tool, which illustrate the flexibility and power of our approach.
David A. Basin
ARES1
2006 Cryptographically Sound Theorem Proving
abstract
We describe a faithful embedding of the Dolev-Yao model of Backes, Pfitzmann, and Waidner (CCS 2003) in the theorem prover Isabelle/HOL. This model is cryptographically sound in the strong sense of blackbox reactive simulatability/UC, which essentially entails the preservation of arbitrary security properties under active attacks and in arbitrary protocol environments. The main challenge in designing a practical formalization of this model is to cope with the complexity of providing such strong soundness guarantees. We reduce this complexity by abstracting the model into a sound, light-weight formalization that enables both concise property specifications and efficient application of our proof strategies and their supporting proof tools. This yields the first tool-supported framework for symbolically verifying security protocols that enjoys the strong cryptographic soundness guarantees provided by reactive simulatability/UC As a proof of concept, we have proved the security of the Needham-Schroeder-Lowe protocol using our framework
Christoph Sprenger 0001, Michael Backes 0001, David A. Basin, Birgit Pfitzmann, Michael Waidner
CSFW3
2006 Timing-Sensitive Information Flow Analysis for Synchronous Systems
Boris Köpf, David A. Basin
ESORICS2
2006 SSL/TLS session-aware user authentication - Or how to effectively thwart the man-in-the-middle
Rolf Oppliger, Ralf Hauser, David A. Basin
Comput. Commun.3
2006 Automated Reasoning for Security Protocol Analysis
Alessandro Armando, David A. Basin, Jorge Cuéllar, Michaël Rusinowitch, Luca Viganò 0001
J. Autom. Reason.2
2006 On the semantics of Alice&Bob specifications of security protocols
Carlos Caleiro, Luca Viganò 0001, David A. Basin
Theor. Comput. Sci.3
2006 Model driven security: From UML models to access control infrastructures
abstract
We present a new approach to building secure systems. In our approach, which we call Model Driven Security, designers specify system models along with their security requirements and use tools to automatically generate system architectures from the models, including complete, configured access control infrastructures. Rather than fixing one particular modeling language for this process, we propose a general schema for constructing such languages that combines languages for modeling systems with languages for modeling security. We present several instances of this schema that combine (both syntactically and semantically) different UML modeling languages with a security modeling language for formalizing access control requirements. From models in the combined languages, we automatically generate access control infrastructures for server-based applications, built from declarative and programmatic access control mechanisms. The modeling languages and generation process are semantically well-founded and are based on an extension of Role-Based Access Control. We have implemented this approach in a UML-based CASE-tool and report on experiments.
David A. Basin, Jürgen Doser, Torsten Lodderstedt
ACM Trans. Softw. Eng. Methodol.1
2005 The AVISPA Tool for the Automated Validation of Internet Security Protocols and Applications
Alessandro Armando, David A. Basin, Yohan Boichut, Yannick Chevalier, Luca Compagna, Jorge Cuéllar, Paul Hankes Drielsma, Pierre-Cyrille Héam, Olga Kouchnarenko, Jacopo Mantovani, Sebastian Mödersheim, David von Oheimb, Michaël Rusinowitch, Judson Santiago, Mathieu Turuani, Luca Viganò 0001, Laurent Vigneron
CAV2
2005 On Obligations
Manuel Hilty, David A. Basin, Alexander Pretschner
ESORICS2
2005 Verification of a Signature Architecture with HOL-Z
David A. Basin, Hironobu Kuruma, Kazuo Takaragi, Burkhart Wolff
FM1
2005 Algebraic Intruder Deductions
David A. Basin, Sebastian Mödersheim, Luca Viganò 0001
LPAR1
2004 Reflective metalogical frameworks
abstract
A metalogical framework is a logic with an associated methodology that is used to represent other logics and to reason about their metalogical properties. We propose that logical frameworks can be good metalogical frameworks when their theories always have initial models and they support reflective and parameterized reasoning.We develop this thesis both abstractly and concretely. Abstractly, we formalize our proposal as a set of requirements and explain how any logic satisfying these requirements can be used for metalogical reasoning. Concretely, we present membership equational logic as a particular metalogic that satisfies these requirements. Using membership equational logic, and its realization in the Maude system, we show how reflection can be used for different, nontrivial kinds of formal metatheoretic reasoning. In particular, one can prove metatheorems that relate theories or establish properties of parameterized classes of theories.
David A. Basin, Manuel Clavel, José Meseguer 0001
ACM Trans. Comput. Log.1
2003 CDiff: a new reduction technique for constraint-based analysis of security protocols
abstract
We introduce CDiff, a new technique for reducing search when model-checking security protocols. Our technique is based on eliminating certain kinds of redundancies that arise in the search space when using symbolic exploration methods, in particular methods that employ constraints to represent and manipulate possible messages from an active intruder. Formally, we prove that CDiff terminates and is correct and complete, in that it preserves the set of reachable states so that all state-based properties holding before reduction (such as the intruder discovering a secret on the network) hold after reduction. Practically, we have integrated this technique into OFMC, a state-of-the-art model-checker, and demonstrated its effectiveness by extensive experimentation. Our results show that CDiff substantially reduces search and considerably improves the performance of OFMC, enabling its application to a wider class of problems.
David A. Basin, Sebastian Mödersheim, Luca Viganò 0001
CCS1
2003 An On-the-Fly Model-Checker for Security Protocol Analysis
David A. Basin, Sebastian Mödersheim, Luca Viganò 0001
ESORICS1
2003 Model driven security for process-oriented systems
abstract
Model Driven Architecture is an approach to increasing the quality of complex software systems based on creating high-level system models and automatically generating system architectures from the models. We show how this paradigm can be specialized to what we call Model Driven Security. In our specialization, a designer builds a system model along with security requirements, and automatically generates from this a complete, configured security infrastructure.We propose a modular approach to constructing modeling languages supporting this process, which combines languages for modeling system design with languages for modeling security. We present an application to constructing systems from process models, where we combine a UML-based process design language with a security modeling language for formalizing access control requirements. From models in the combined language, we automatically generate security architectures for distributed applications.
David A. Basin, Jürgen Doser, Torsten Lodderstedt
SACMAT1
2003 Bytecode Verification by Model Checking
David A. Basin, Stefan Friedrich 0001, Marek Gawkowski
J. Autom. Reason.1
2003 Decision procedures for inductive Boolean functions based on alternating automata
Abdelwaheb Ayari, David A. Basin, Felix Klaedtke
Theor. Comput. Sci.2
2002 The AVISS Security Protocol Analysis Tool
Alessandro Armando, David A. Basin, Mehdi Bouallagui, Yannick Chevalier, Luca Compagna, Sebastian Mödersheim, Michaël Rusinowitch, Mathieu Turuani, Luca Viganò 0001, Laurent Vigneron
CAV2
2002 QUBOS: Deciding Quantified Boolean Logic Using Propositional Satisfiability Solvers
Abdelwaheb Ayari, David A. Basin
FMCAD2
2001 A formal data-model of the CORBA security service
abstract
We use the formal language Z to specify and analyze the security service of CORBA. In doing so, we tackle the problem of how one can apply lightweight formal methods to improve the precision and aid the analysis of a substantial, informal specification. Our approach is scenario-driven: we use representative scenarios to determine which parts of the informal specification should be formalized and then verify the formal specification against the requirements of these scenarios.
David A. Basin, Frank Rittinger, Luca Viganò 0001
ESEC / SIGSOFT FSE1
2001 Automated complexity analysis based on ordered resolution
abstract
We define order locality to be a property of clauses relative to a term ordering. This property generalizes the subformula property for proofs where the terms appearing in proofs can be bounded, under the given ordering, by terms appearing in the goal clause. We show that when a clause set is order local, then the complexity of its ground entailment problem is a function of its structure (e.g., full versus Horn clauses), and the ordering used. We prove that, in many cases, order locality is equivalent to a clause set being saturated under ordered resolution. This provides a means of using standard resolution theorem provers for testing order locality and transforming non-local clause sets into local ones. We have used the Saturate system to automatically establish complexity bounds for a number of nontrival entailment problems relative to complexity classes which include polynomial and exponential time and co-NP.
David A. Basin, Harald Ganzinger
J. ACM1
2001 Current Trends in Logical Frameworks and Metalanguages
David A. Basin, Amy P. Felty
J. Autom. Reason.1
2001 A Higher-order Interpretation of Deductive Tableau
Abdelwaheb Ayari, David A. Basin
J. Symb. Comput.2
2001 A theoretical and empirical investigation of search in imperfect information games
Ian Frank, David A. Basin
Theor. Comput. Sci.2
2000 Bounded Model Construction for Monadic Second-Order Logics
Abdelwaheb Ayari, David A. Basin
CAV2
2000 Decision Procedures for Inductive Boolean Functions Based on Alternating Automata
Abdelwaheb Ayari, David A. Basin, Felix Klaedtke
CAV2
2000 B2M: A Semantic Based Tool for BLIF Hardware Descriptions
David A. Basin, Stefan Friedrich 0001, Sebastian Mödersheim
FMCAD1
2000 Rewriting Logic as a Metalogical Framework
David A. Basin, Manuel Clavel, José Meseguer 0001
FSTTCS1
2000 Structuring Metatheory on Inductive Definitions
David A. Basin, Seán Matthews
Inf. Comput.1
2000 Program Development Schemata as Derived Rules
Penny Anderson, David A. Basin
J. Symb. Comput.2
1999 Java Bytecode Verification by Model Checking
David A. Basin, Stefan Friedrich 0001, Joachim Posegga, Harald Vogt
CAV1
1999 Modeling a Hardware Synthesis Methodology in Isabelle
David A. Basin, Stefan Friedrich 0001
Formal Methods Syst. Des.1
1998 Search in Games with Incomplete Information: A Case Study Using Bridge Card Play
Ian Frank, David A. Basin
Artif. Intell.2
1997 Labelled Propositional Modal Logics: Theory and Practice
abstract
We show how labelled deductive systems can be combined with a logical framework to provide a natural deduction implementation of a large and well-known class of propositional modal logics (including K, D, T, B, S4, S4.2, KD45, S5). Our approach is modular and based on a separation between a base logic and a labelling algebra, which interact through a fixed interface. While the base logic stays fixed, different modal logics are generated by plugging in appropriate algebras. This leads to a hierarchical structuring of modal logics with inheritance of theorems. Moreover, it allows modular correctness proofs, both with respect to soundness and completeness for semantics, and faithfulness and adequacy of the implementation. We also investigate the tradeoffs in possible labelled presentations: we show that a narrow interface between the base logic and the labelling algebra supports modularity and provides an attractive proof-theory but limits the degree to which we can make use of extensions to the labelling algebra.
David A. Basin, Seán Matthews, Luca Viganò 0001
J. Log. Comput.1
1996 Structuring Metatheory on Inductive Definitions
David A. Basin, Seán Matthews
CADE1
1996 Experiments in Automating Hardware Verification Using Inductive Proof Planning
Francisco J. Cantú Ortiz, Alan Bundy, Alan Smaill, David A. Basin
FMCAD4
1996 Implementing Modal and Relevance Logics in a Logical Framework
David A. Basin, Seán Matthews, Luca Viganò 0001
KR1
1996 Complexity Analysis Based on Ordered Resolution
abstract
We define order locality to be a property of clauses relative to a term ordering. This property is a kind of generalization of the subformula property for proofs where terms arising in proofs are bounded, under the given ordering, by terms appearing in the goal clause. We show that when a clause set is order local, then the complexity of its ground entailment problem is a function of its structure (e.g., full versus Horn clauses), and the ordering used. We prove that, in many cases, order locality is equivalent to a clause set being saturated under ordered resolution. This provides a means of using standard resolution theorem provers for testing order locality and transforming non-local clause sets into local ones. We have used the Saturate system to automatically establish complexity bounds for a number of nontrivial entailment problems relative to complexity classes which include polynomial and exponential time and co-NP.
David A. Basin, Harald Ganzinger
LICS1
1996 A Calculus for and Termination of Rippling
David A. Basin, Toby Walsh
J. Autom. Reason.1
1996 Middle-Out Reasoning for Synthesis and Induction
Ina Kraan, David A. Basin, Alan Bundy
J. Autom. Reason.2
1996 Adding Metatheoretic Facilities to First-Order Theories
abstract
Generic proof systems like Isabelle provide some limited but useful metatheoretic facilities for declared logics; in particular, users can prove simple derived rules and also ‘solve’ formulae that contain metavariables—a technique useful for program synthesis. We show how an arbitrary first-order theory can be conservatively extended to provide similar facilities, without a supporting metatheory, and examine what the limitations of this approach are.
David A. Basin, Seán Matthews
J. Log. Comput.1
1995 Hardware Verification using Monadic Second-Order Logic
David A. Basin, Nils Klarlund
CAV1
1994 Termination Orderings for Rippling
David A. Basin, Toby Walsh
CADE1
1994 Coloured Rippling: An Extension of a Theorem Proving Heuristic
Tetsuya Yoshida, Alan Bundy, Ian Green, Toby Walsh, David A. Basin
ECAI5
1994 IsaWhelk Interpreted in Isabelle
David A. Basin
ICLP1
1994 A Term Equality Problem Equivalent to Graph Isomorphism
David A. Basin
Inf. Process. Lett.1
1993 A Conservative Extension of First-order Logic and Its Application to Theorem Proving
David A. Basin, Seán Matthews
FSTTCS1
1993 Middle-Out Reasoning for Logic Program Synthesis
Ina Kraan, David A. Basin, Alan Bundy
ICLP2
1993 Difference Unification
David A. Basin, Toby Walsh
IJCAI1
1992 Difference Matching
David A. Basin, Toby Walsh
CADE1
1992 An Adaptation of Proof-Planning to Declarer Play in Bridge
Ian Frank, David A. Basin, Alan Bundy
ECAI2
1991 Formally verified synthesis of combinational CMOS circuits
David A. Basin, Geoffrey M. Brown, Miriam Leeser
Integr.1
1990 Equality of Terms Containing Associative-Commutative Functions and Commutative Binding Operators in Isomorphism Complete
David A. Basin
CADE1
1988 An Environment For Automated Reasoning About Partial Functions
David A. Basin
CADE1