Giter Site home page Giter Site logo

finspy_devirtualizer's Introduction

Devirtualizer for FinSpy VM that I presented at VB2023

How to Use

  1. Download a FinSpy sample from VXUnderground (https://samples.vx-underground.org/root/APTs/2015/2015.10.15%20-%20Mapping%20FinFisher%E2%80%99s%20Continuing%20Proliferation/Samples/94abf6df38f26530da2864d80e1a0b7cdfce63fd27b142993b89c52b3cee0389.7z)
  2. Download the two scripts and the bytecode (extracted from that sample) from this repository.
  3. Specify the path to the downloaded bytecode in the TranslateInstructions.py script.
  4. Run the TranslateInstructions.py and FixDecompilation.py scripts.
  5. Patch the bytes of JMP instruction at 0x405379 to E9 C6 D3 02 00 and define a function at 0x405362 (you can also test the script on other functions).
  6. Decompile this function. You should be able to see readable code.

Please also read the paper published at (https://www.virusbulletin.com/conference/vb2023/abstracts/deobfuscating-virtualized-malware-using-hex-rays-decompiler/).

If you encounter problems with this script

Please open an issue or contact me on Twitter (@kucher1n)

finspy_devirtualizer's People

Contributors

gkucherin avatar

Stargazers

Karsten Hahn avatar Mark Lim avatar

Watchers

Mark Lim avatar  avatar

Forkers

peta909

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.