Not-quite-so-broken TLS: lessons in re-engineering a security protocol specification and implementation
- đ¤ Speaker: David Kaloper Mersinjak
- đ Date & Time: Wednesday 11 March 2015, 13:00 - 14:00
- đ Venue: FW26
Abstract
Transport Layer Security (TLS) implementations have a history of security flaws. The immediate causes of these are often programming errors, e.g.~in memory management, but the root causes are more fundamental: the challenges of interpreting the ambiguous prose specification, the complexities inherent in large APIs and code bases, inherently unsafe programming choices, and the impossibility of directly testing conformance between implementations and the specification.
We present Not-quite-so-broken TLS , the result of our re-engineered approach to security protocol specification and implementation that addresses these root causes. The same code serves dual roles: it is both a specification of TLS , executable as a test oracle to check conformance of traces from arbitrary implementations, and a usable implementation of TLS ; a modular and declarative programming style provides clean separation between its components. Many security flaws are thus excluded by construction.
Not-quite-so-broken TLS can be used in standalone applications, which we demonstrate with a messaging client, and can also be compiled into a Xen unikernel (a specialised virtual machine image) with a TCB that is 4\% of a standalone system running a standard Linux/OpenSSL stack, with all network traffic being handled in a memory-safe language; this supports applications including HTTPS , IMAP, Git, and Websocket clients and servers.
Series This talk is part of the REMS lunch series.
Included in Lists
- All Talks (aka the CURE list)
- bld31
- Cambridge talks
- Department of Computer Science and Technology talks and seminars
- FW26
- Interested Talks
- School of Technology
- Trust & Technology Initiative - interesting events
- yk449
Note: Ex-directory lists are not shown.
![[Talks.cam]](/static/images/talkslogosmall.gif)


Wednesday 11 March 2015, 13:00-14:00