Giter VIP home page Giter VIP logo

attack-reference-monitors's Introduction

attack-reference-monitors

Goal: Attack other students' reference monitors.

Create multiple test cases:

  1. One test per issue (if you add multiple tests within the same program (file) and one of them is wrong, you will lose points for all of them)
  2. Must output only when a bug is found! (outputs can be exceptions or log statements)

Your test case should not output anything if the security layer passes it. It should print appropriate error message only if the security layer fails in terms of either of the following:

  1. Accuracy bug
  2. Security bug

Note: Use the test cases attached to this assignment as examples, since the ones on the website will produce an output even when the security layer has no bugs.

If your test is wrong, you will lose points!

Assignment instructions:

https://seattle.poly.edu/wiki/EducationalAssignments/SecureStoragePartTwo

How to run your tests on many reference monitors:

If you are using Mac or Linux, you can do something like the following:

Put all security layer and attack cases in the same directory you were using before to run single security layer and attack program.

Then you can type the following in the bash shell to execute the testcases with the reference monitors:

for referencemonitor in reference_; do for testcase in netid_.r2py; do python repy.py restrictions.default encasementlib.r2py $referencemonitor $testcase; done; done

attack-reference-monitors's People

Contributors

nikhil-reddy avatar

Watchers

James Cloos 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.