Discovered in 2017 and publicly disclosed in January 2018, the Meltdown exploits critical vulnerabilities existing in many modern processors, including those from Intel and ARM. The vulnerabilities allow a user-level program to read data stored inside the kernel memory. Such an access is not allowed by the hardware protection mechanism implemented in most CPUs, but a vulnerability exists in the design of these CPUs that makes it possible to defeat the hardware protection. Because the flaw exists in the hardware, it is very difficult to fundamentally fix the problem, unless we change the CPUs in our computers. The Meltdown vulnerability represents a special genre of vulnerabilities in the design of CPUs. Along with the Spectre vulnerability, they provide an invaluable lesson for security education.

The learning objective of this lab is for students to gain first-hand experiences on the Meltdown attack. The attack itself is quite sophisticated, so we break it down into several small steps, each of which is easy to understand and perform. Once students understand each step, it should not be difficult for them to put everything together to perform the actual attack.

Lab Tasks (Description)

  • VM versions: This lab is supported by both SEEDUbuntu12.04 and SEEDUbuntu16.04 VMs.
  • Note:
    • The Ubuntu 16.04 VM is still in the beta testing stage, so frequent changes are expected. It will be officially released in Summer 2018 for the Fall semester.
    • Meltdown only works against Intel CPU, so if the host machine does not use Intel CPU, the attack in this lab will not work.
    • Even if the OS of the host machine is patched, the attack still works, because we did not patch the Linux OS running inside the VM.

Recommended Time:

  • Supervised situation (e.g. a closely-guided lab session): 2 hours
  • Unsupervised situation (e.g. take-home project): 1 week

Files that are Needed

Helpful Documents

SEED Project