Apollo (University of Cambridge) · 2015 · 24 citations · 26 references
ComputingComputer EngineeringComputer ScienceFormal MethodsProgramming LanguagesSecurity ProtocolsSecure System DesignSecurity Protocol VerificationTransport Layer SecurityProtocol SpecificationSecure Protocol ImplementationSpecification-based SecurityTest Oracle DesignTest Oracle ProblemTrusted ComputingTrusted Computing Base DesignTrusted Computing Bases
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 nqsb-TLS, the result of our re-engineered approach to security protocol specification and implementation that addresses these root causes.The same code serves two 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.nqsb-TLS can be used in standalone Unix applications, which we demonstrate with a messaging client, and can also be compiled into Xen unikernels (specialised virtual machine image) with a trusted computing base (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.Despite the dual-role design, the high-level implementation style, and the functional programming language we still achieve reasonable performance, with the same handshake performance as OpenSSL and 73% -84% for bulk throughput.
26
Seán Turner · IEEE Internet Computing · 2014 · 455 citations
The most dangerous code in the world
Martin Georgiev, Subodh Iyengar, Suman Jana et al. · 2012 · 414 citations
Anil Madhavapeddy, Richard Mortier, Charalampos Rotsos et al. · 2013 · 402 citations
Mining your Ps and Qs: detection of widespread weak keys in network devices
Nadia Heninger, Zakir Durumeric, Eric Wustrow et al. · 2012 · 339 citations