www.avispa-project.org
IST-2001-39252
Automated Validation of Internet Security Protocols and Applications
HLPSL Tutorial
A Beginner’s Guide
to
Modelling and Analysing Internet Security Protocols
The AVISPA team
Document Version: 1.1
June 30, 2006
Project funded by the European Community under the
Information Society Technologies Programme (1998-2002)CONTENTS 1
Contents
1 HLPSL Basics 3
1.1 Using the AVISPA Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Basic Roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3 Transitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4 Composed Roles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 HLPSL Examples 9
2.1 Example 1 - from Alice-Bob notation to HLPSL speci cation . . . . . . . . . . . . 9
2.2 2 - common errors, untrusted agents, attack traces . . . . . . . . . . . . 14
2.2.1 Modelling Tips and Pitfalls . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.2.2 Discussion and Analysis Results . . . . . . . . . . . . . . . . . . . . . . . . 22
2.3 Example 3 - security goals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.3.1 Discussion and Analysis Results . . . . . . . . . . . . . . . . . . . . . . . . 28
2.4 Example 4 - Algebraic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3 HLPSL Tips 41
3.1 Priming Variables . . . . . . . . . . . . . . . . . . . . . ...
Voir