Giter Site home page Giter Site logo

hwabis / rowhammer-detector Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 17.14 MB

provided test attacks don't represent a real attack at all. just a proof-of-concept

C++ 38.71% Makefile 0.93% HTML 14.94% CSS 0.26% JavaScript 0.51% XSLT 0.01% C 39.13% CMake 0.13% Shell 1.51% M4 0.05% Meson 0.04% Perl 2.08% Assembly 1.38% Python 0.28% Batchfile 0.02% GDB 0.01%

rowhammer-detector's Introduction

For Rutgers 14:332:446 Hardware and System Security taught by Professor Sheng Wei. 

This is a fun attempt at writing an Intel Pin 
(https://www.intel.com/content/www/us/en/developer/articles/tool/pin-a-dynamic-binary-instrumentation-tool.html)
tool to detect hypothetical rowhammer attacks.

This has only been tested on Linux. To compile and run (with an example program /bin/ls):
`cd RowhammerDetector` 
`make PIN_ROOT=../pin-3.26-98690-g1fc9d60e6-gcc-linux obj-intel64/RowhammerDetector.so`
`../pin-3.26-98690-g1fc9d60e6-gcc-linux/pin -t obj-intel64/RowhammerDetector.so -- /bin/ls`

You will probably want to run it on the test programs, so compile them first with g++,
then replace /bin/ls to the path of those programs.

To see the results: `cat out.log`.

(I tested with https://github.com/google/rowhammer-test. Unfortunately the attack program just gets stuck. Lol.)

rowhammer-detector's People

Contributors

hwabis avatar

Watchers

 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.