Git Product home page Git Product logo

libprotobuf-mutator-asn1's Introduction

libprotobuf-mutator-asn1

Overview

libprotobuf-mutator-asn1 is a library that uses https://github.com/google/libprotobuf-mutator to generate inputs that can exercise ASN.1 parsers, particularly DER parsers. By using a structurally-aware approach that is able to encode valid lengths, inputs are able to more quickly exercise interesting code paths.

In addition to structurally- and syntactically-valid DER, it supports generating BER inputs as well as generating random data, ensuring coverage is not lost compared to classic fuzzers.

X.509 Fuzzing

In addition to the generic ASN.1 fuzzer, this library can also generate X.509 certificates in a structure-aware fashion. This is to facilitate deeper fuzzing of certificate chain parsing, building, and validation engines, by creating certificates and certificate chains that are structurally-valid, but which can contain fuzzed data (e.g. arbitrary extensions)

Usage

This project is still a work-in-progress to separate as a standalone library. Until that work is completed, example usage within OSS-fuzz can be seen at https://github.com/google/oss-fuzz/commit/e15b72d833dd5c30f4cd4aed2ba06e64011ce73d

Disclaimer

This is not an officially supported Google product

libprotobuf-mutator-asn1's People

Contributors

brongan avatar dannyallover avatar dor1s avatar dukebarman avatar sleevi avatar

Stargazers

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

Watchers

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