A tool/framework for analyzing hostname verification in SSL/TLS implementations using automata learning
Java Python C Shell Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CERT_TEMPLATES minor fix doc Jun 10, 2017
dfa_diff Update README.md Apr 13, 2017
dfa_learner add dfa_diff module Apr 13, 2017
ssl update Apr 12, 2017
HVLearn.pdf camera ready paper Mar 21, 2017
LICENSE update license and readme Apr 11, 2017
README.md minor fix Jun 10, 2017

README.md

HVLearn

HVLearn is an open-source tool/framework for analyzing hostname verification in SSL/TLS implementations using automata learning. It is good for finding bugs, vulnerabilities and RFC discrepancies in implementations. The core of this project is written in Java and mainly implemented with LearnLib project. Some parts of the code are written in C, particularly for generating certificate template.

Given a specific pattern of certificate identifier (e.g., common name and subject alternative name fields), HVLearn uses automata learning algorithms to infer a Deterministic Finite Automaton (DFA) that describes the set of all hostnames that match the given certificate identifier. The output inferred DFA can be compared to DFAs from different implementations to find discrepancies or performed an equivalence test against a DFA which is derived from any regular expression as an expected rule.

For more detail about algorithm and evaluation, see our paper:
HVLearn: Automated Black-box Analysis of Hostname Verification in SSL/TLS Implementations [PDF]
Suphannee Sivakorn, George Argyros, Kexin Pei, Angelos D. Keromytis and Suman Jana

Want to try? Please refer to our Wiki page for setting up instruction and framework implementation. Look for certificate templates we have used in testing, they are in our CERT_TEMPLATES directory.

HVLearn is developed at Columbia University, New York, NY, USA in 2016-2017.

Useful Resources

Developers/Maintainers

HVLearn is developed and maintained by (alphabetically):

Bugs

Found a bug? Please open a new issue!

Copyright and License

All code and documentation copyright the HVLearn Authors and Network Security Lab at Columbia University, New York, NY, USA. Code released under MIT License and document released under Creative Commons.