HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

Protected KVM on Arm64: A Technical Deep Dive - Quentin Perret, Google

The Linux FoundationCited 3× on HN, 2023-2025
YouTube
6K views · 4 years ago · talk · dated

Quentin Perret of Google gives a technical deep dive into protected KVM (pKVM) on Arm64, a confidential computing approach for CPUs without hardware extensions. It explains how the nVHE hypervisor manages stage-2 MMU access control to protect guest memory.

Used as a primary source for pKVM architecture in threads on Android virtualization and isolated VMs.

Operating systems & kernelsSecurity & hackingComputer architecture & CPUs#pkvm#kvm#arm64#hypervisor#android#confidentialcomputing

3 comments from Hacker News

@ignoramous2025 · in “Toro: Deploy Applications as Unikernels”

> Separation from the hypervisor kernel? Not really. Separation from (type 1) hypervisor (or rather distrust of the host [0]) requires hardware support; ex: ARM CCA / AMD SEV-SNP / Intel TDX. For separation from the supervisor, Android developed a peculiar approach in "pKVM" for ARM where the host (supervisor) is partitioned away from the guest [1]. Both those "separations" is not something Toro provides on its own; the Toro unikernel would totally be under the control of the host, from what I can tell. That said, what Toro (or any unikernel, really) does is reduce the attack surface area, as the (guest) supervisor is pruned to run just one particular application (more code to partition things up will eliminate a class of attacks but may result in new attack vectors [2]). [0] ex: link [1] Protected KVM on Arm64: A Technical Deep Dive - Quentin Perret, Google ▶ this video (2023) [2] Mitigations are attack surface, too link (2020)

CitesView on HN
@stacktrust2024 · in “Unfashionably secure: why we use isolated VMs”

A modern virtualization architecture can be found in the OSS pKVM L0 nested hypervisor for Android Virtualization Framework, which has some architectural overlap with HP/Bromium AX L0 + [Hyper-V | KVM | Xen] L1 + uXen L2 micro-VMs with copy-on-write memory. A Bromium demo circa 2014 was a web browser where every tab was an isolated VM, and every HTTP request was an isolated VM. Hundreds of VMs could be launched in a couple of hundred milliseconds. Firecracker has some overlap. > Lastly, this approach is almost certainly more expensive. Our instances sit idle for the most part and we pay EC2 a pretty penny for the privilege. With many near-idle server VMs running identical code for each customer, there may be an opportunity to use copy-on-memory-write VMs with fast restore of unique memory state, using the techniques employed in live migration. Xen/uXen/AX: link pKVM: ▶ this video

CitesView on HN
@transpute2023 · in “Virtual Machine as a Core Android Primitive”

The architecture pattern is similar to Bromium/HP AX + Type 2 μXen on x86, link (2018), which ships on HP business PCs. Bare metal runs a tiny L0 hypervisor making use of hardware support for nested virtualization. In turn, the L0 can run an L1 hypervisor, e.g. KVM or "host" OS, or minimal L1 VMs that are peers to the L1 "host"-guest of L0. Google pKVM-for-Arm tech talk (2022), hopefully x86 will follow, ▶ this video

CitesView on HN
Joanna Rutkowska: Towards (reasonably) trustworthy x86 laptops1:02:52

Joanna Rutkowska: Towards (reasonably) trustworthy x86 laptops

media.ccc.de
27K views • 10 years ago
The State of Kernel Self Protection Project by Kees Cook, Google45:47

The State of Kernel Self Protection Project by Kees Cook, Google

The Linux Foundation
7K views • 9 years ago
Lest We Remember: Cold Boot Attacks on Encryption Keys5:22

Lest We Remember: Cold Boot Attacks on Encryption Keys

pucitp
749K views • 18 years ago
Intel ME explained (intel management engine) from insider6:36

Intel ME explained (intel management engine) from insider

jessie
12K views • 8 years ago
NVIDIA — Securing the Future of Safety and Security of Embedded Software (Captioned)58:37

NVIDIA — Securing the Future of Safety and Security of Embedded Software (Captioned)

AdaCore
5K views • 5 years ago
Qubes OS: The Operating System That Can Protect You Even If You Get Hacked51:13

Qubes OS: The Operating System That Can Protect You Even If You Get Hacked

Micah Lee
63K views • 8 years ago
36C3 -  Uncover, Understand, Own - Regaining Control Over Your AMD CPU56:37

36C3 - Uncover, Understand, Own - Regaining Control Over Your AMD CPU

media.ccc.de
23K views • 6 years ago
GOD MODE UNLOCKED - Hardware Backdoors in x86 CPUs51:00

GOD MODE UNLOCKED - Hardware Backdoors in x86 CPUs

Black Hat
319K views • 8 years ago
DEF CON 26  - Christopher Domas - GOD MODE UNLOCKED Hardware Backdoors in redacted x8646:04

DEF CON 26 - Christopher Domas - GOD MODE UNLOCKED Hardware Backdoors in redacted x86

DEFCONConference
86K views • 8 years ago
C++ and Beyond 2012: Herb Sutter - atomic Weapons 2 of 21:32:33

C++ and Beyond 2012: Herb Sutter - atomic Weapons 2 of 2

alexsmail
29K views • 9 years ago
DEF CON 19 - Artem Dinaburg - Bit-squatting: DNS Hijacking Without Exploitation45:14

DEF CON 19 - Artem Dinaburg - Bit-squatting: DNS Hijacking Without Exploitation

DEFCONConference
4K views • 13 years ago
Guarding Against Physical Attacks: The Xbox One Story — Tony Chen, Microsoft58:05

Guarding Against Physical Attacks: The Xbox One Story — Tony Chen, Microsoft

Platform Security Summit
95K views • 7 years ago
The Memory Sinkhole - Unleashing An X86 Design Flaw Allowing Universal Privilege Escalation46:34

The Memory Sinkhole - Unleashing An X86 Design Flaw Allowing Universal Privilege Escalation

Black Hat
169K views • 10 years ago
The new Windows subsystem for Linux architecture: a deep dive - BRK306858:11

The new Windows subsystem for Linux architecture: a deep dive - BRK3068

Microsoft Developer
188K views • 7 years ago
MINIX 3: a Modular, Self-Healing POSIX-compatible Operating System56:19

MINIX 3: a Modular, Self-Healing POSIX-compatible Operating System

FOSDEM
90K views • 16 years ago
Florian Grunow, Niklaus Schiess: Lifting the Fog on Red Star OS56:52

Florian Grunow, Niklaus Schiess: Lifting the Fog on Red Star OS

media.ccc.de
46K views • 10 years ago
CppCon 2016: Herb Sutter “Leak-Freedom in C++... By Default.”1:39:25

CppCon 2016: Herb Sutter “Leak-Freedom in C++... By Default.”

CppCon
149K views • 10 years ago
HC2023-K2: Hardware for Deep Learning1:05:28

HC2023-K2: Hardware for Deep Learning

hotchipsvideos
15K views • 3 years ago
Behind the scenes of iOS and Mac Security44:29

Behind the scenes of iOS and Mac Security

Black Hat
36K views • 6 years ago
Hackfest 2015: Theo de Raadt presented "Pledge: A new security technology in openbsd"53:53

Hackfest 2015: Theo de Raadt presented "Pledge: A new security technology in openbsd"

Hackfest Communication
27K views • 10 years ago