Lune

USENIX Security2022顶会

TLS-Anvil: Adapting Combinatorial Testing for TLS Libraries

Marcel Maehren, Philipp Nieting, Sven Hebrok, Robert Merget, Juraj Somorovsky, Jörg Schwenk

摘要

Although the newest versions of TLS are considered secure, flawed implementations may undermine the promised security properties. Such implementation flaws result from the TLS specifications' complexity, with exponentially many possible parameter combinations. Combinatorial Testing (CT) is a technique to tame this complexity, but it is hard to apply to TLS due to semantic dependencies between the parameters and thus leaves the developers with a major challenge referred to as the test oracle problem: Determining if the observed behavior of software is correct for a given test input. In this work, we present TLS-Anvil, a test suite based on CT that can efficiently and systematically test parameter value combinations and overcome the oracle problem by dynamically extracting an implementation-specific input parameter model (IPM) that we constrained based on TLS specific parameter value interactions. Our approach thus carefully restricts the available input space, which in return allows us to reliably solve the oracle problem for any combination of values generated by the CT algorithm. We evaluated TLS-Anvil with 13 well known TLS implementations, including OpenSSL, BoringSSL, and NSS. Our evaluation revealed two new exploits in MatrixSSL, five issues directly influencing the cryptographic operations of a session, as well as 15 interoperability issues, 116 problems related to incorrect alert handling, and 100 other issues across all tested libraries.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • With Great Power Come Great Side Channels: Statistical Timing Side-Channel Analyses with Bounded Type-1 Errors 引用了 Systematic Fuzzing and Testing of TLS Libraries
  • DY Fuzzing: Formal Dolev-Yao Models Meet Cryptographic Protocol Fuzz Testing 引用了 DROWN: Breaking TLS Using SSLv2
  • DY Fuzzing: Formal Dolev-Yao Models Meet Cryptographic Protocol Fuzz Testing 引用了 Systematic Fuzzing and Testing of TLS Libraries
  • Constraint-guided Directed Greybox Fuzzing 引用了 Angora: Efficient Fuzzing by Principled Search
  • Systematic Fuzzing and Testing of TLS Libraries 引用了 DROWN: Breaking TLS Using SSLv2
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. DY Fuzzing: Formal Dolev-Yao Models Meet Cryptographic Protocol Fuzz TestingMax Ammann, Lucca Hirschi, Steve KremerS&P 2024 · 25 次引用
  2. CAmpactor: A Novel and Effective Local Search Algorithm for Optimizing Pairwise Covering ArraysQiyuan Zhao, Chuan Luo, Shaowei Cai, Wei Wu 等FSE 2023 · 9 次引用
  3. With Great Power Come Great Side Channels: Statistical Timing Side-Channel Analyses with Bounded Type-1 ErrorsMartin Dunsche, Marcel Maehren, Nurullah Erinola, Robert Merget 等USENIX Security 2024 · 5 次引用
  4. Bluetooth Low Energy Security Testing with Combinatorial MethodsDominik-Philip Schreiber, Manuel Leithner, Jovan Zivanovic, Dimitris E. SimosUSENIX ATC 2025 · 1 次引用
  5. Identifying Logical Vulnerabilities in QUIC ImplementationsKaihua Wang, Jianjun Chen, Pinji Chen, Jianwei Zhuge 等NDSS 2026 · 1 次引用

它引用的 Paper9

  1. Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 次引用
  2. DROWN: Breaking TLS Using SSLv2Nimrod Aviram, Sebastian Schinzel, Juraj Somorovsky, Nadia Heninger 等USENIX Security 2016 · 192 次引用
  3. On the Practical (In-)Security of 64-bit Block Ciphers: Collision Attacks on HTTP over TLS and OpenVPNKarthikeyan Bhargavan, Gaëtan LeurentCCS 2016 · 180 次引用
  4. Systematic Fuzzing and Testing of TLS LibrariesJuraj SomorovskyCCS 2016 · 136 次引用
  5. Constraint-guided Directed Greybox FuzzingGwangmu Lee, Woochul Shim, Byoungyoung LeeUSENIX Security 2021 · 99 次引用

相关 Paper

  1. ARMOR: A Formally Verified Implementation of X.509 Certificate Chain ValidationJoyanta Debnath, Christa Jenkins, Yuteng Sun, Sze Yiu Chau 等S&P 2024 · 6 次引用
  2. Big Numbers - Big Troubles: Systematically Analyzing Nonce Leakage in (EC)DSA ImplementationsSamuel Weiser, David Schrammel, Lukas Bodner, Raphael SpreitzerUSENIX Security 2020
  3. Removing Secrets from Android's TLSJaeho Lee, Dan S. WallachNDSS 2018 · 10 次引用
  4. SymCerts: Practical Symbolic Execution for Exposing Noncompliance in X.509 Certificate Validation ImplementationsSze Yiu Chau, Omar Chowdhury, Md. Endadul Hoque, Huangyi Ge 等S&P 2017 · 67 次引用
  5. RAT: Retrieval-Augmented Testing of Certificate Revocation List Parsers in TLS ImplementationsChu Chen, Qianxin Cheng, Pinghong Ren, Hairong Yu 等FSE 2026
黄昏的海面,两侧是细线勾勒的悬崖