Giter VIP home page Giter VIP logo

movery-public's Introduction

MOVERY

MOVERY is a tool for discovering modified vulnerable code clones. Principles and experimental results are discussed in our paper, which will be published in 31st USENIX Security Symposium (Security 2022).

How to use

[2023-03-31: NOW IT IS UPDATED] You can test MOVERY using Docker. All the datasets used in MOVERY and the source code of the detector are contained in the Docker image.

1. Execute MOVERY-Docker

$ sudo docker run -it seunghoonwoo/movery-public:latest
# cd /home/MOVERY

2. Prepare testing repository

Suppose we want to scan the "redis" repository.

# git clone https://github.com/redis/redis

Now "/home/MOVERY/redis" is prepared.

3. Run preprocessor

# python3 Preprocessor.py TARGET_PROGRAM
(e.g., python3 Preprocessor.py redis)

This may take several minutes depending on the code size.

4. Run Detector

# python3 Detector.py TARGET_PROGRAM 0
(e.g., python3 Detector.py redis 0)

The vulnerability detection result will be printed.

FAQ

  • You can check vulnerability and patch datasets from Docker.
  • A patch signature only considers code lines that are not included in the respective vulnerability signature.

About

This repository is authored and maintained by Seunghoon Woo.

For reporting bugs, you can submit an issue to the GitHub repository or send me an email ([email protected]).

movery-public's People

Contributors

wooseunghoon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

movery-public's Issues

Some bugs find in your tools

Hi,
when I use your tool to detect some vulnerabilities, I find your code in Preprocessing.py which is :newname = (funcName + '##' + '@@'.join(filePath.split(target+'/')[1].split('/')[0:])) if the target name is in filePath, it may be the wrong answer.

About VCC MOVERY discovered

Hi! I wonder if there is a list of all VCCs that MOVERY discovered or all the types of VCC. I notice that MOVERY has found 22 CWE groups. Can you tell me what they are, I only found five of them in the appendix.

How to generate signatures for my own patches

Dear author,

Thank you for sharing your excellent work. I noticed that the default dataset comes from 4,219 CVE patches from NVD. I'm wondering how I should generate signatures for the patches collected on my own. Would you mind sharing the dataset collector and signature generator modules with us?

Thank you,
Wei

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.