Skip to content

benkenobi007/MeltdownAttack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MeltdownAttack

Attempt to exploit the meltdown attack

Instructions

Kernel Module to store the data

  1. Run make to generate the Kernel module
$make
  1. Run insmod to insert it
$ sudo insmod KernelModule.ko
  1. Check the address of the data
$tail /var/log/kern.log
  1. Note down the value in the statement
Secret data address = <value>
  1. In OutofOrderExecution.c replace the value of kernel_addr with the above.
unsigned long kernel_addr = 0xfab3b024;

Replace 0xfab3b024 with the value obtained.

Run the attack

  1. Compile the "OutofOrderExecution.c" file
gcc -march=native -o OutofOrder OutofOrderExecution.c
  1. Run OutofOrderExecution
./OutofOrder

About

Attempt to exploit the meltdown attack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published