Table of Contents
Fetching ...

Protocol Dialects as Formal Patterns: A Composable Theory of Lingos -- Technical report

Víctor García, Santiago Escobar, Catherine Meadows, Jose Meseguer

TL;DR

This work develops a formal theory of lingos—parametric message transformations—and a modular dialect framework that uses lingos to fortify protocols against on-path attackers. It introduces f-checkable, authenticating, and malleable lingos, and defines four lingo-composition operators (horizontal, functional, data-adaptor, Cartesian products/tupling) to automatically synthesize stronger lingos and dialects. The authors provide executable Maude specifications and demonstrate concepts on MQTT, highlighting a path toward lightweight, composable, and verifiable first-line security layers. The framework supports dialects that wrap existing protocols without invasive changes and points toward non-malleable designs and formal security analysis via probabilistic model checking. Overall, the approach offers a rigorous, reusable foundation for creating moving-target security through protocol dialects and lingos with practical realizations.

Abstract

Protocol dialects are methods for modifying protocols that provide light-weight security, especially against easy attacks that can lead to more serious ones. A lingo is a dialect's key security component by making attackers unable to "speak" the lingo. A lingo's "talk" changes all the time, becoming a moving target for attackers. We present several kinds of lingo transformations and compositions to generate stronger lingos from simpler ones, thus making dialects more secure.

Protocol Dialects as Formal Patterns: A Composable Theory of Lingos -- Technical report

TL;DR

This work develops a formal theory of lingos—parametric message transformations—and a modular dialect framework that uses lingos to fortify protocols against on-path attackers. It introduces f-checkable, authenticating, and malleable lingos, and defines four lingo-composition operators (horizontal, functional, data-adaptor, Cartesian products/tupling) to automatically synthesize stronger lingos and dialects. The authors provide executable Maude specifications and demonstrate concepts on MQTT, highlighting a path toward lightweight, composable, and verifiable first-line security layers. The framework supports dialects that wrap existing protocols without invasive changes and points toward non-malleable designs and formal security analysis via probabilistic model checking. Overall, the approach offers a rigorous, reusable foundation for creating moving-target security through protocol dialects and lingos with practical realizations.

Abstract

Protocol dialects are methods for modifying protocols that provide light-weight security, especially against easy attacks that can lead to more serious ones. A lingo is a dialect's key security component by making attackers unable to "speak" the lingo. A lingo's "talk" changes all the time, becoming a moving target for attackers. We present several kinds of lingo transformations and compositions to generate stronger lingos from simpler ones, thus making dialects more secure.
Paper Structure (18 sections, 12 theorems, 31 equations, 4 figures)

This paper contains 18 sections, 12 theorems, 31 equations, 4 figures.

Key Result

Lemma 1

Let $\Lambda=(D_1,D_2,A,f,g)$ be a lingo. Then, $\forall d_1, d'_1 \in D_1$, $\forall a \in A$$f(d_1, a) = f(d'_1, a) \Rightarrow d_1 = d'_1$.

Figures (4)

  • Figure 1: Subset of actor rules from the MQTT Maude specification, formalizing the semantics of a client connecting to a broker.
  • Figure 2: Initial MQTT configuration for experiments.
  • Figure 3: Dialect meta-object enhanced from ProtocolDialects-FormalPatterns.
  • Figure 4: Meta-Actor Rewrite Rules.

Theorems & Definitions (32)

  • Example 1
  • Definition 1: Lingo
  • Example 2: The XOR$\{n\}$ Lingo
  • Example 3: XOR-BSEQ Lingo for Bit-sequences
  • Example 4: Divide and Check (D&C) Lingo
  • Lemma 1
  • Lemma 2
  • Corollary 1
  • Corollary 2
  • Corollary 3
  • ...and 22 more