Eliminating timing channels through hardware-software codesign
Z401 | Fri 22 Jan 2:25 p.m.–3:10 p.m.
Presented by
-
Julia Vassiliki
https://trustworthy.systems/people/?cn=Julia+Vassiliki
Julia is an Operating Systems engineer from the Trustworthy Systems group at UNSW, Sydney. She works on 'Time Protection', implementing software and gateware to prevent timing channels. She also co-maintains the seL4 Microkit, an operating system framework built on top of the seL4 microkernel, to which she also contributes. In her free time, she can be found reading SciFi/Fantasy; her current favourite author is Ann Leckie.
Julia Vassiliki
https://trustworthy.systems/people/?cn=Julia+Vassiliki
Julia is an Operating Systems engineer from the Trustworthy Systems group at UNSW, Sydney. She works on 'Time Protection', implementing software and gateware to prevent timing channels. She also co-maintains the seL4 Microkit, an operating system framework built on top of the seL4 microkernel, to which she also contributes. In her free time, she can be found reading SciFi/Fantasy; her current favourite author is Ann Leckie.
Abstract
Timing channels entered the popular consciousness of the software developer nearly
a decade ago with the publishing of the SPECTRE CPU 'vulnerabilities'. Each year
since then we've had more 'hardware vulnerabilities': Speculative Store Bypass,
Zenbleed, Retbleed, SQUIP, SLAP, GPU.zip, and others with less entertaining names.
I work at Trustworthy Systems, the group behind seL4, a microkernel with formal
mathematical proofs of security guarantees. We research secure operating systems,
and are building 'LionsOS', intended to provide similarly proofs of security
and reliability targeted at IoT systems. Despite many mitigations in the kernel
browsers, and cryptographic software, new variations of timing channel attacks
keep appearing. We want to solve this - and prove that we did - not keep patching
and praying.
I will be presenting our work on the open-source RISC-V core (CVA6), where we
have designed hardware extensions - such as fence.t, currently in process of
being upstreamed to the RISC-V ISA spec - that enable an operating system to
eliminate timing channel attacks. I will discuss mechanisms behind timing channels
exploited in the CPU 'vulnerabilities', and the distinction between side-channels
and covert-channels. This includes a discussion on threat models, and when you
should care about these attacks, as well as a practical demonstration of a covert
channel between two distinct browser tabs. I will discuss why we believe that
the 'fixes' applied by browsers, kernels, and CPU vendors keep being bypassed
by new mechanisms.
Timing channels entered the popular consciousness of the software developer nearly a decade ago with the publishing of the SPECTRE CPU 'vulnerabilities'. Each year since then we've had more 'hardware vulnerabilities': Speculative Store Bypass, Zenbleed, Retbleed, SQUIP, SLAP, GPU.zip, and others with less entertaining names.
I work at Trustworthy Systems, the group behind seL4, a microkernel with formal mathematical proofs of security guarantees. We research secure operating systems, and are building 'LionsOS', intended to provide similarly proofs of security and reliability targeted at IoT systems. Despite many mitigations in the kernel browsers, and cryptographic software, new variations of timing channel attacks keep appearing. We want to solve this - and prove that we did - not keep patching and praying.
I will be presenting our work on the open-source RISC-V core (CVA6), where we
have designed hardware extensions - such as fence.t, currently in process of
being upstreamed to the RISC-V ISA spec - that enable an operating system to
eliminate timing channel attacks. I will discuss mechanisms behind timing channels
exploited in the CPU 'vulnerabilities', and the distinction between side-channels
and covert-channels. This includes a discussion on threat models, and when you
should care about these attacks, as well as a practical demonstration of a covert
channel between two distinct browser tabs. I will discuss why we believe that
the 'fixes' applied by browsers, kernels, and CPU vendors keep being bypassed
by new mechanisms.