Code Monkey home page Code Monkey logo

taintinduce's Introduction

taintinduce

TaintInduce is a project which aims to automate the creation of taint propagation rules for unknown instruction sets.

References

One Engine To Serve 'em All: Inferring Taint Rules Without Architectural Semantics

Zheng Leong Chua, Yanhao Wang, Teodora Băluță, Prateek Saxena, Zhenkai Liang, Purui Su.

In the Network and Distributed System Security Symposium 2019, San Diego, CA, US, Feb 2019.

Disclaimer

We are currently in the process of rewriting the prototype to better serve our goal of providing an online taint service for different architectures. For people who are interested in the implementation used in the paper, feel free to contact us.

Requirements

Python3.6

  • capstone
  • keystone
  • unicorn
  • tqdm
  • squirrel-framework

Usage

@TODO

taintinduce.py provides the inference interface and is the CLI tool to generate the rule.
Checkout the --help option on how to use the CLI tool.

python -m taintinduce.taintinduce c3 X86

taintinduce_worker.py is the compute process that SquirrelFlowDB uses.

python -m taintinduce.taintinduce_worker localhost 1234

Issue with virtual env (Ubuntu 16.04, Python 2.7.12)

When installing capstone and keystone-engine with pip in a virtual environment, the shared library files are expected to be in a folder like ~/.virtualenvs/<virtual_env>/lib/python2.7/site-packages/capstone. If not, you might run into an import error: ImportError: ERROR: fail to load the dynamic library.

A quick solution is to find where the library is and copy it to the expected path. For example, find - name libcapstone* inside ~/.virtualenvs/<virtual_env> and copy it to ~/.virtualenvs/<virtual_env>/lib/python2.7/site-packages/capstone.

Format of rules

@TODO

taintinduce's People

Contributors

melynx avatar ntddk 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.