Many widely used Internet messaging and calling apps, such as WhatsApp, Viber, Telegram, and Signal, have deployed an end-to-end encryption functionality. To defeat potential MITM attackers against the key exchange protocol, the approach relies on users to perform a code verification task whereby each user must compare the code (a fingerprint of the cryptographic keys) computed by her app with the one computed by the other user's app and reject the session if the two do not match.
In this paper, we study the security and usability of this human-centered code verification task for a setting where the end users are remotely located, and compare it as a baseline to a less frequent scenario where the users are in close proximity. We consider several variations of the code presentation and verification methods, incorporated into representative real-world apps, including codes encoded as numbers or images, displayed on the screen, and verbally spoken by the users. We perform a human factors study in a lab setting to quantify the security and usability of these different methods.
Our study results expose key weaknesses in the security and usability of the code verification methods employed in the apps. First, we show that most code verification methods offer poor security (high false accepts) and low usability (high false rejects and low user experience ratings) in the remote setting. Second, we demonstrate that, security and usability under the remote code verification setting is significantly lower than that in the proximity setting. We attribute this result to the increased cognitive overhead associated with comparing the codes across two apps on the same device (remote setting) rather than across two devices (proximity setting). Overall, our work serves to highlight a serious vulnerability of Internet-based communication apps in the remote setting stemming from human errors.
Multi-View Fusion for Encrypted C2 Detection: A Leakage-Controlled Measurement Study of Evaluation Pitfalls
Academy of Cryptography Techniques(密码技术学院);Ho Chi Minh City University of Technology (HCMUT)(胡志明市理工大学);Vietnam National University Ho Chi Minh City(越南胡志明市国家大学)
Reducing Metadata Leakage from Encrypted Files and Communication with PURBs
大多数加密的数据格式通过它们的明文头泄漏元数据,例如格式版本、使用的加密方案、可以解密数据的接收者的数量,甚至接收者的身份。这种泄漏可能会给用户带来安全和隐私风险,例如,通过从单个加密的电子邮件中揭示一组合作者的全部成员资格,或者通过使窃听者能够对发送者使用的精确加密软件版本和配置进行指纹识别。我们建议未来的加密数据格式通过产生$\textit{Padded Uniform Random Blobs}$或PURB来提高安全性和隐私卫生性:对于没有解密密钥的任何人来说,密文与随机位串无法区分。PURB的内容会泄漏$\textit{nothing at all}$,甚至是创建它的应用程序,并且会进行填充,以使其长度泄漏尽可能少。然而,使用$\textit{no}$明文标记对密文进行编码和解码存在效率挑战。我们提出了加密灵活的编码,使合法的收件人有效地解密PURB,即使加密的任何数量的收件人的公钥和/或密码,当这些公钥是从不同的加密套件。PURB采用Padmé,一种新颖的填充方案,其将经由最大长度$M$的密文的信息泄漏限制为$O(\log \log M)$比特的实际最优值,与填充为2的幂相当,但是具有最多$12\%$的较低开销,并且随着较大的有效载荷而降低。
How Private is Android's Private DNS Setting? Identifying Apps by Encrypted DNS Traffic
DNS over TLS(DoT)和DNS over HTTPS(DoH)承诺通过加密DNS消息来提高DNS的隐私和安全性,特别是当消息被填充到统一大小时。首先,为了证明推荐的填充方法的局限性,我们提出了Segram,这是一种新的应用程序指纹攻击,允许对手推断哪些移动应用程序在设备上执行。其次,我们使用10种不同的DoT/DoH解析器记录了118个Android应用程序的流量轨迹,以研究Segram在不同条件下的有效性。根据我们的结果,Segram在受控的封闭世界设置中识别应用程序的准确率高达72%。Segram的有效性与最先进的技术相当,但Segram需要更少的计算工作量。我们发布数据集和代码。第三,我们研究了以隐私为中心的DoT/DoH解决方案中填充的流行率,发现高达81%的样本未能启用填充。我们的研究结果表明,推荐的填充方法不如预期的有效,并且解析器操作员没有充分意识到这一功能。