Skip to main content
QUICK REVIEW

[论文解读] Analysis and Improvements of the Sender Keys Protocol for Group Messaging

David Balbás. Daniel Collins, Collins, Daniel|arXiv (Cornell University)|Jan 17, 2023
Advanced Authentication Protocols SecurityComputer Science被引用 3
一句话总结

本文对WhatsApp和Signal用于群组消息的Sender Keys协议进行了首次形式化安全分析。提出了一种新的密码学原原子——群组消息器(Group Messenger, GM),并构建了基于游戏的安全模型,以评估前向安全性和后 compromise 安全性,识别出与随机性操纵及消息认证中前向安全性不足相关的漏洞,提出通过滚动签名密钥和状态依赖密钥派生等修复方案。

ABSTRACT

Messaging between two parties and in the group setting has enjoyed widespread attention both in practice, and, more recently, from the cryptographic community. One of the main challenges in the area is constructing secure (end-to-end encrypted) and efficient messaging protocols for group conversations. The popular messaging applications WhatsApp and Signal utilise a protocol in which, instead of sharing a single group key, members have individual extit{sender keys}, which are shared with all other group members. The Sender Keys protocol is claimed to offer forward security guarantees. However, despite its broad adoption in practice, it has never been studied formally in the cryptographic literature. In this paper we present the first analysis of the Sender Keys protocol along with some prospective improvements. To this end, we introduce a new cryptographic primitive, develop a game-based security model, present a security analysis in the passive and active settings, and propose several improvements to the protocol.

研究动机与目标

  • 对广泛应用于WhatsApp和Signal但此前未在密码学文献中被研究过的Sender Keys协议进行形式化分析。
  • 识别协议中的安全弱点,特别是关于前向安全性和对随机性操纵攻击的抗性。
  • 提出一种专为非基于群组密钥协商的协议(如Sender Keys)设计的新密码学原原子——群组消息器(Group Messenger, GM)。
  • 设计一种基于游戏的安全模型,以捕捉在被动和主动攻击者下的前向安全群组消息机制。
  • 提出具体协议改进措施,包括滚动发送方签名密钥和状态依赖密钥派生,以增强安全性。

提出的方法

  • 引入一种新的密码学原原子——群组消息器(Group Messenger, GM),以建模不依赖群组密钥协商的协议。
  • 基于Signal源码的逆向工程和WhatsApp安全白皮书,形式化定义Sender Keys协议。
  • 定义一个包含预言机和洁净性谓词的安全游戏,以建模群组消息中的前向安全性。
  • 在被动和主动敌手模型下分析协议,同时考虑诚实随机性和随机性操纵。
  • 提出改进措施,如滚动发送方签名密钥,并将新密钥与当前状态哈希以抵抗基于随机性的攻击。
  • 评估密钥更新和群组操作对后 compromise 安全性的影响,指出在实现完全后 compromise 安全性方面存在局限。

实验结果

研究问题

  • RQ1在存在主动攻击者的情况下,Sender Keys协议能否提供强前向安全性?
  • RQ2敌手对随机性的操纵在多大程度上影响Sender Keys的安全保证?
  • RQ3与单个群组密钥相比,使用多个发送方密钥在安全性上有多大提升?
  • RQ4考虑到协议设计,是否能在Sender Keys模型中实现有意义的后 compromise 安全性?
  • RQ5哪种形式化安全模型最能捕捉具有独立发送方密钥的群组消息威胁模型?

主要发现

  • Sender Keys协议在消息认证方面仅提供次优的前向安全性,因为链密钥滚动无法保护签名密钥。
  • 该协议易受随机性操纵攻击,若敌手控制随机源,可阻止从密钥泄露中恢复,从而破坏后 compromise 安全性。
  • 滚动发送方签名密钥可提升前向安全性,并降低长期暴露的风险。
  • 将新密钥与当前状态哈希(如NAXOS技巧)可有效抵抗基于随机性的攻击,且开销极低。
  • 由于单个成员的密钥更新无法保护其他成员的消息,该协议无法实现有意义的后 compromise 安全性。
  • 若随机性为诚实生成,使用多个发送方密钥与单个群组密钥相比并无显著安全优势,原因在于密钥派生中缺乏状态隔离。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。