Giter Site home page Giter Site logo

peutils's Introduction

Binary Ninja PE Utils

Bunch'a niche utilities for working with PE-based binaries.

Features

Resolve ordinal imports

Ordinal imports can be resolved to symbol names from external BNDBs. If you rename an exported function in the external BNDB, the name you defined will be used instead of the original export name.

Given an example import as shown below:

Import table with unresolved ordinals

IAT with unresolved ordinals

By loading a binary view for OLEAUT32.dll, we can update the import names for the target binary view with the real name behind the import:

Import table with resolved ordinals

IAT with resolved ordinals

Synchronize symbol names and types across binaries

Types defined in external BNDBs can be transferred to the current binary view in order to aid with reversing.

Continuing from the above example, we can rename the arg of the function SysStringLen from the external BNDB OLEAUT32.dll:

Function with renamed argument

When synced, the IAT will be updated with the new argument:

IAT with renamed argument

We can also see that the new argument is exposed through other disassembly views, like MLIL:

MLIL call with renamed argument

As mentioned earlier, symbol names also get transferred between loaded BNDBs. Renaming the export from the external BNDB then resyncing, we can see that the changes is transferred to the target binary view:

Function with renamed symbol

MLIL call with renamed symbol

peutils's People

Contributors

404d avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jeffli678 xylearn

peutils's Issues

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.