Skip to content

Example of using revealed "Spectre" exploit (CVE-2017-5753 and CVE-2017-5715)

Notifications You must be signed in to change notification settings

Rybak5611/spectre-attack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Spectre Attack Example

Example of using revealed "Spectre" exploit from 2 Jan 2018 (CVE-2017-5753 and CVE-2017-5715)

Spectre breaks the isolation between different applications. It allows an attacker to trick error-free programs, which follow best practices, into leaking their secrets. In fact, the safety checks of said best practices actually increase the attack surface and may make applications more susceptible to Spectre.

Language

C, uses libs:

  • stdio.h
  • stdlib.h
  • stdint.h
  • intrin.h - for rdtscp and clflush

What's example do?

In this example we're putting text "The Magic Words are Squeamish Ossifrage." in memory and then we're trying to read it using exploit. If system is vulnerable, you'll see same text in output, readed from memory.

Sources

About

Example of using revealed "Spectre" exploit (CVE-2017-5753 and CVE-2017-5715)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%