MobilityReadingGroup

π-calculus, Session Types research at Imperial College

Secure Execution of Distributed Session Programs
Nuno ALVES , Raymond HU , Nobuko YOSHIDA , Pierre-Malo DENIÉLOU
3rd Workshop on Programming Language Approaches to Concurrency and communication-cEntric Software (PLACES 2010) p. 1 - 11

The development of the SJ Framework for session-based distributed programming is part of recent and ongoing research into integrating session types and practical, real-world programming languages. SJ programs featuring session types (protocols) are statically checked by the SJ compiler to verify the key property of communication safety, meaning that parties engaged in a session only communicate messages, including higher-order communications via session delegation, that are compatible with the message types expected by the recipient.

This paper presents current work on security aspects of the SJ Framework. Firstly, we discuss our implementation experience from improving the SJ Runtime platform with security measures to protect and augment communication safety at runtime. We implement a transport component for secure session execution that uses a modified TLS connection with authentication based on the Secure Remote Password (SRP) protocol. The key technical point is the delicate treatment of secure session delegation to counter a previous vulnerability. We find that the modular design of the SJ Runtime, based on the notion of an Abstract Transport for session communication, supports rapid extension to utilise additional transports whilst separating this concern from the application-level session programming task. In the second part of this abstract, we formally prove the target security properties by modelling the extended SJ delegation protocols in the pi-calculus.

@inproceedings{AHYD2010,
  author = {Nuno Alves and Raymond Hu and Nobuko Yoshida and Pierre-Malo Deniélou},
  title = {{Secure Execution of Distributed Session Programs}},
  booktitle = {3rd Workshop on Programming Language Approaches to Concurrency and communication-cEntric Software},
  series = {EPTCS},
  volume = {69},
  pages = {1--11},
  year = 2010
}
@inproceedings{AHYD2010,
  author = {Nuno Alves and Raymond Hu and Nobuko Yoshida and Pierre-Malo Deniélou},
  title = {{Secure Execution of Distributed Session Programs}},
  booktitle = {3rd Workshop on Programming Language Approaches to Concurrency and communication-cEntric Software},
  series = {EPTCS},
  volume = {69},
  pages = {1--11},
  doi = "10.4204/EPTCS.69.1",
  year = 2010
}