Coder Social home page Coder Social logo

maff1t / injectiontracer Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 3.0 6.05 MB

PINTool to help analyzing malware that uses process injection

C++ 94.70% Batchfile 4.02% VBScript 1.28%
reverse-engineering malware-analysis process-injection malware-analyzer

injectiontracer's Introduction

InjectionTracer

Demo

InjectionTracer is a PIN tool that aims to help the analysis of malware that uses process injection. It allows you to:

  • Understand rapidly the injection technique used, by looking at the Windows API involved.
  • Stop the execution before the remote thread is executed, and put a breakpoint on the entrypoint.
  • Automatically dump the injected code and fix PE Image on disk (ImageBase and Section Alignment).

Installation

To install this tool you will need to download first:

  • Visual Studio (also community edition is ok). Make sure to have C++ Windows development kit
  • Intel PIN > 3.19 (you can download it from HERE)

Then simply follow those 5 steps:

  1. Extract the zip containing IntelPIN inside C:\ and rename it to "pin" so that you should have the pin executable at C:\pin\pin.exe
  2. Move into C:\pin\source\tools and clone the repo.
  3. Open the file C:\pin\source\tools\InjectionTracer\InjectionTracer.sln with Visual Studio.
  4. Build the project in Release mode, both x86 and x64.

If everything is ok, you should find InjectionTracer.dll inside C:\pin\source\tools\InjectionTracer\Release and C:\pin\source\tools\InjectionTracer\x64\Release

  1. Double click on "addContextMenu.reg" file inside the Runner folder

Now you should find the context menu when you do a right click on an executable or a DLL.

injectiontracer's People

Contributors

lmaffia-mwb avatar maff1t avatar

Stargazers

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

Watchers

 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.