Giter VIP home page Giter VIP logo

flutter-re-demo's Introduction

flutter-re-demo

Overview

This repository contains the files you need to reproduce our experiments on the feasibility of Flutter app reverse engineering.

Renaming of Dart functions

All details can be found in this post.

You can find the non-obfuscated and obfuscated version of the NyaNya Rocket! Flutter game that we used in our experiments.

You can use the provided script to format the output of reFlutter or DWARF file. Later on, you can use the output of this script to rename/sort functions in IDA Pro using this IDA Python script.

Dealing with Dart decompilation

All details can be found in this post.

The application used in the post is the obfuscated APK.

You can find the output of the Flutter memory dump here. You can also generate it yourself using the Frida script.

You can import the memory dump into IDA Pro with this script. Don't forget to rebase your database before running this script.

Once this is done, you can create Dart object and add cross-references between Dart code and Dart objects.

If you want to see Dart object in decompiled code, you can register this decompilation plugin.

You can also patch Dart stack pointer register to allow IDA Pro to identify function parameters and local variable. Please note that it can generate incorrect code in function which are using both X15 and SP, thus use it only if you now what you are doing.

Disclaimer

These scripts are only provided for education purposes and are not meant to be stable reverse engineering tools.

flutter-re-demo's People

Contributors

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