Giter VIP home page Giter VIP logo

dotnetpefuzzing's Introduction

dotnetpefuzzing

NCC Code Navi the Text Viewer and Searcher for Code Reviewers

Released as open source by NCC Group Plc - http://www.nccgroup.com/

Developed by Ollie Whitehouse, ollie dot whitehouse at nccgroup dot com

http://www.github.com/nccgroup/dotnetpefuzzing

Released under AGPL see LICENSE for more information

Introduction

Tiny .NET PE Fuzzing Harness - Proof of Concept

Components

This code was released to support an NCC blog post. There are three basic components:

  • Win.DotNetAssemblyLoad - the loader harness which watches a directory a tries to load any modules
  • Win.Module - a simple managed .NET module (i.e. DLL)
  • Win.NULLFuzzer - a simple fuzz which just walks through and set each byte of the input file to null

Running

It would be run something like this:

  • Compile the module
  • Start the harness watching a directory
  • Attach WinDbg / debugger of choice to the harness to see any interesting yet handled exceptions in unmanaged code
  • Fuzz and produce DLL test cases in the directory the harness is monitoring

Basic Example

  • Win.DotNetAssemblyLoad C:!Research\Fuzzing\DotNetPE\TestCases
  • now attached WinDbg to the process
  • Win.NULLFuzzer.exe C:!Research\DotNetPE\Win.Module.dll C:!Research\Fuzzing\DotNetPE\TestCases

WARNING

This simple example on how to approach the problem did not find any issues in the 4.x runtime :)

dotnetpefuzzing's People

Stargazers

muuk avatar Mohamed Saher avatar  avatar  avatar Ege Balcı avatar Joe Leong avatar Parsia Hakimian avatar Glenn 'devalias' Grant avatar Brian Beaudry avatar Minh-Triet Pham Tran avatar Mario Vilas avatar

Watchers

Minh-Triet Pham Tran avatar Felix Ingram avatar James Cloos avatar Raviv Cohen avatar cara marie avatar Ollie avatar STEFANOS METZIDAKIS 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.