Regrading Policies for Flexible Information Flow Control in Session-Typed Concurrency

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Derakhshan, Farzaneh, Balzer, Stephanie, Yao, Yue
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917736595062784
author Derakhshan, Farzaneh
Balzer, Stephanie
Yao, Yue
author_facet Derakhshan, Farzaneh
Balzer, Stephanie
Yao, Yue
contents Noninterference guarantees that an attacker cannot infer secrets by interacting with a program. Information flow control (IFC) type systems assert noninterference by tracking the level of information learned (pc) and disallowing communication to entities of lesser or unrelated level than the pc. Control flow constructs such as loops are at odds with this pattern because they necessitate downgrading the pc upon recursion to be practical. In a concurrent setting, however, downgrading is not generally safe. This paper utilizes session types to track the flow of information and contributes an IFC type system for message-passing concurrent processes that allows downgrading the pc upon recursion. To make downgrading safe, the paper introduces regrading policies. Regrading policies are expressed in terms of integrity labels, which are also key to safe composition of entities with different regrading policies. The paper develops the type system and proves progress-sensitive noninterference for well-typed processes, ruling out timing attacks that exploit the relative order of messages. The type system has been implemented in a type checker, which supports security-polymorphic processes using local security theories.
format Preprint
id arxiv_https___arxiv_org_abs_2407_20410
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Regrading Policies for Flexible Information Flow Control in Session-Typed Concurrency
Derakhshan, Farzaneh
Balzer, Stephanie
Yao, Yue
Programming Languages
Logic in Computer Science
Noninterference guarantees that an attacker cannot infer secrets by interacting with a program. Information flow control (IFC) type systems assert noninterference by tracking the level of information learned (pc) and disallowing communication to entities of lesser or unrelated level than the pc. Control flow constructs such as loops are at odds with this pattern because they necessitate downgrading the pc upon recursion to be practical. In a concurrent setting, however, downgrading is not generally safe. This paper utilizes session types to track the flow of information and contributes an IFC type system for message-passing concurrent processes that allows downgrading the pc upon recursion. To make downgrading safe, the paper introduces regrading policies. Regrading policies are expressed in terms of integrity labels, which are also key to safe composition of entities with different regrading policies. The paper develops the type system and proves progress-sensitive noninterference for well-typed processes, ruling out timing attacks that exploit the relative order of messages. The type system has been implemented in a type checker, which supports security-polymorphic processes using local security theories.
title Regrading Policies for Flexible Information Flow Control in Session-Typed Concurrency
topic Programming Languages
Logic in Computer Science
url https://arxiv.org/abs/2407.20410