Code Monkey home page Code Monkey logo

meltdown's Introduction

Meltdown

This is a demonstration of the Meltdown attack, primarily intended for FreeBSD systems.

The code should build and run on most BSD and Linux flavors, on both i386 and amd64 systems. However, the Makefile assumes that you are building on a FreeBSD system, i386 support is only partially implemented, and functionality on non-FreeBSD systems is limited: mdattack's self-test mode should work, and an actual attack on a carefully selected target may work, but mdcheck will not. Patches to address these issues are more than welcome.

Tools

mdcheck

The mdcheck tool attempts to determine if your system is vulnerable. The exact method varies from one platform to another. The result is indicated by the exit code: 0 for complete success, 1 for partial success (mostly seen in virtual machines) and 2 for complete failure.

mdattack

The mdattack tool performs a Meltdown attack on a designated target specified as a virtual address and a length and prints the result.

Principle of operation

TBW

Contributing

Feel free to clone this repo and submit pull requests. Patches must comply with the FreeBSD style guide.

If these tools do not perform as expected on a supported and presumed-vulnerable system, and you do not have the time and / or experience to track the problem down yourself, please consider providing me with an unprivileged account on said system.

Author and license

These tools were developed by Dag-Erling Smørgrav for the FreeBSD project with support from the University of Oslo, and published under a three-clause BSD license. See the LICENSE file for further details.

meltdown's People

Contributors

dag-erling avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.