Giter Club home page Giter Club logo

afl-in-the-cloud's Introduction

AFL in the Cloud

Proof of concept implementation of fuzzing workload using AFL as the fuzzer and Terraform to codify infrastructure

Usage

  • Download and install Terraform following the Installation Guide
  • Edit terraform.tfvars as required
  • Deploy infrastructure by running the plan
terraform init
terraform validate
terraform apply

To destroy the infrastructure

terraform destroy

What it does?

The Terraform script creates a bunch of resources in AWS. The resources basically are

  1. EC2 instances for deploying fuzzer containers
  2. EFS storage as shared storage across all instances

Resources Created

  1. VPC
  2. Internet Gateway
  3. Subnet and Route
  4. Security Group
  5. EFS Storage
  6. EFS Mount Target (NFS)
  7. IAM Role for attaching to EC2 instances
  8. IAM Policy for allowing access to ECR
  9. 1 x EC2 instance for master
  10. N x EC2 instances for slaves

Notes

The setup uses multi-machine fuzzing to achieve scale. The sync-dir is on a shared network file system, something which is not recommended by the AFL author due to lock-up issues with NFS. As workaround, we are using -f option to have AFL create the input file in /tmp. Only internal fuzzer state and crashes are shared over NFS.

References

afl-in-the-cloud's People

Contributors

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