VSL 2014: VIENNA SUMMER OF LOGIC 2014

A Sound Abstraction of the Parsing Problem

Authors: Sebastian A. Mödersheim and Georgios Katsoris

PapersPapers with AbstractsPrefaceAuthor IndexKeyword Index

Paper Information

Title:A Sound Abstraction of the Parsing Problem
Authors:Sebastian A. Mödersheim and Georgios Katsoris
Proceedings:CSF 2014 Proceedings
Editors: Anupam Datta, Cedric Fournet, Deepak Garg and Laura Kovacs
Keywords:Formal Verification, Security Protocols, Algebraic Message Model, Message Formats, Sound Abstraction
Abstract:

ABSTRACT. In formal verification, cryptographic messages are often represented by algebraic terms. This abstracts not only from the intricate details of the real cryptography, but also from the details of the non-cryptographic aspects: the actual formatting and structuring of messages.

We introduce a new algebraic model to include these details and define a small, simple language to precisely describe message formats. We support fixed-length fields, variable-length fields with offsets, tags, and encodings into smaller alphabets like Base64, thereby covering both classical formats as in TLS and modern XML-based formats.

We define two reasonable properties for formats. First, they should be un-ambiguous: for a given format, any string can be parsed in at most one way. Second, they should be pairwise disjoint: a string can be parsed as at most one of the formats. We show how to easily establish these properties for many practical formats.

An abstract model is obtained by replacing the formats with free function symbols. This abstract model is compatible with all existing verification tools. We prove that the abstraction is sound for un-ambiguous, disjoint formats: there is an attack in the concrete message model if (and actually only if) there is one in the abstract message model.

Pages:15
Talk:Jul 21 12:15
Paper:
Disclaimer | Powered by EasyChair Smart Program