Logo: Reversing Flutter Apps

Reversing Flutter Apps

Communautéit
trilwu
reversing-flutter-apps

Féiert Reverse Engineering duerch a fänkt den Trafic vu Flutter-/Dart-Mobile-Apps mat blutter, reFlutter a Frida of. Benotzt dëse Skill, wann en APK oder IPA libflutter.so, libapp.so, App.framework oder flutter_assets enthält, wann jadx nëmmen e klengen Dart-Wrapper weist, wann Burp oder mitmproxy keen Trafic vun enger App gesäit, déi offensichtlech online ass, oder wann d'Zil als mat Flutter oder Dart gebaut beschriwwe gëtt.

Add to TypingMind

Iwwersiicht

Editeurtrilwu
Repositorysecskills
Skill-Nummreversing-flutter-apps
Stären
144
Forks
15
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    trilwu huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Reversing Flutter Apps an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/trilwu/secskills/tree/main/secskills-core/skills/reversing-flutter-apps
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/trilwu/secskills.git /tmp/secskills
mkdir -p .claude/skills
cp -r /tmp/secskills/secskills-core/skills/reversing-flutter-apps .claude/skills/reversing-flutter-apps
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Reversing Flutter Apps an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Reversing Flutter Apps automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Reversing Flutter Apps net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Reversing Flutter Apps

Flutter breaks both halves of the standard mobile workflow at once. Dart is AOT-compiled to a native snapshot, so there is no dex for jadx to decompile — and the Flutter engine ships its own BoringSSL with its own trust store, so it ignores the system proxy and the user CA store, and your interception proxy sees nothing. Neither failure is obvious from the symptoms, which is why people burn hours on this before recognizing what they are looking at.

When to Use

  • jadx on the APK shows a near-empty MainActivity and little else
  • The APK contains lib/arm64-v8a/libflutter.so and libapp.so, or assets/flutter_assets/
  • An IPA contains Frameworks/App.framework and Frameworks/Flutter.framework
  • Burp, mitmproxy, or Charles shows zero traffic from an app that is plainly making network calls
  • You need to recover Dart class and method names, or find the API layer, in a release build

When NOT to Use

  • Ordinary Java/Kotlin Android apps — use testing-mobile-applications
  • React Native (index.android.bundle, Hermes) — use reversing-react-native-apps
  • Unity (global-metadata.dat, libil2cpp.so) — use reversing-unity-il2cpp
  • The backend the app talks to — use testing-apis once you can see traffic
  • Generic native .so reversing — use analyzing-binaries

Identify the Build First

The build mode decides everything that follows. Check before installing tools.

bash
unzip -l target.apk | rg 'libflutter|libapp|flutter_assets|kernel_blob'
What you seeBuildWhat it means
libapp.so + libflutter.soAOT releaseThe normal case. Dart compiled to a native snapshot — this skill's main path
assets/flutter_assets/kernel_blob.binDebug / JITFar easier: Dart kernel bytecode, and the VM service may be reachable
App.framework/App (iOS)AOT releaseSame as libapp.so; extract from the decrypted IPA
Only arm64-v8a present—Expected; blutter targets arm64. armeabi-v7a support is weaker
bash
# Confirm the engine version — it gates which tools work
strings lib/arm64-v8a/libflutter.so | rg -m5 'Flutter|Dart VM version|dart-sdk'

If kernel_blob.bin is present, stop and unpack that instead: debug builds retain far more, and the Dart VM service (if enabled) gives you live inspection. Release builds are the hard case, and the rest of this assumes one.

Recovering Dart Structure with blutter

blutter parses the Dart AOT snapshot and recovers class, method, and field names plus the object pool — the difference between an unreadable arm64 listing and a navigable app.

bash
# blutter needs BOTH libraries: libapp.so is the snapshot, libflutter.so
# identifies the exact Dart version used to compile it
unzip -j target.apk 'lib/arm64-v8a/*' -d ./libs
python3 blutter.py ./libs ./out

Output you will actually use:

ArtifactUse
pp.txtObject pool dump — string constants, URLs, keys, endpoints. Read this first
objs.txtRecovered Dart objects and classes
asm/Per-library disassembly with Dart symbols applied
ida_script/Loads symbols into IDA; equivalents exist for Ghidra
blutter_frida.jsGenerated Frida hooks against recovered Dart functions

The failure you will hit is a Dart version mismatch. blutter compiles against a specific Dart SDK, and the snapshot format changes between versions. When it errors on parsing, the fix is to build blutter against the Dart SDK version that matches the app's engine, not to try a different snapshot. Read the version out of libflutter.so first, and expect the first run against a brand-new Flutter release to fail until blutter catches up.

Obfuscated builds (flutter build --obfuscate --split-debug-info=...) strip Dart names. blutter still recovers structure — call graph, object pool, string constants — but the names are gone. Pivot to pp.txt: URLs, endpoint paths, and error strings survive obfuscation and are usually enough to locate the API layer, which is what you wanted anyway.

Seeing the Traffic

Two separate problems, and both must be solved. Fixing only one leaves you with an empty proxy and no idea why.

Problem 1 — Flutter ignores the system proxy. Dart's HTTP client does not read Android/iOS proxy settings, so setting a Wi-Fi proxy does nothing. Force traffic at the network layer instead:

bash
# Redirect transparently on the device/emulator
adb shell su -c 'iptables -t nat -A OUTPUT -p tcp --dport 443 -j DNAT --to <proxy-ip>:8080'
# or use a VPN-based tunnel (tun2socks / a VPN-mode proxy app)

Problem 2 — Flutter has its own CA store. Installing your CA as a user certificate, or even as a system certificate, does not make Flutter trust it. Two working approaches:

bash
# A. reFlutter — patches the Flutter engine to trust your proxy and to
#    reroute traffic. Repackage and re-sign afterwards.
reflutter target.apk           # prompts for the proxy IP
# outputs a patched APK; then:
apksigner sign --ks debug.keystore release.RE.apk

# B. Frida — hook the certificate check inside libflutter.so at runtime.
#    ssl_verify_peer_cert is not exported, so scripts locate it by pattern
#    scanning; the pattern is engine-version specific.
frida -U -f com.target.app -l flutter-ssl-bypass.js

Prefer reFlutter when you can repackage (it also enables snapshot dumping and socket-level logging); prefer Frida when the app has integrity checks that a repackage would trip, or when you cannot re-sign. If both fail, the fallback is to hook the Dart HTTP client functions that blutter recovered — you lose protocol-level fidelity but still see requests and responses.

Working the App

Once you have symbols and traffic:

  1. Start from pp.txt. Base URLs, endpoint paths, header names, and any embedded key material are in the object pool. This usually maps the API in minutes.
  2. Hook recovered functions using blutter_frida.js as a starting point — dump arguments and return values around the request builder, the auth token handler, and any local crypto.
  3. Check the platform channels. Flutter apps delegate to native code for biometrics, keystore, and payments; those are ordinary Java/Kotlin or Swift, so hand them to testing-mobile-applications.
  4. Then test the API properly with testing-apis. Everything above was to get you to the request; the vulnerabilities are usually on the other end.

Rationalizations to Reject

  • "The proxy shows nothing, so the app must not use the network." It uses the network. It is not using your proxy.
  • "I installed the CA as a system cert, so TLS interception will work." Flutter does not consult the system store.
  • "jadx showed nothing, so the app is heavily obfuscated." There is nothing in the dex to see. The app is in libapp.so.
  • "blutter failed, so this build can't be analyzed." It almost always means a Dart version mismatch. Read the engine version and rebuild blutter against it.
  • "It's obfuscated, so the strings are gone." Names are gone; the object pool is not. Read pp.txt.
  • "I'll just reverse the arm64 by hand." Dart AOT output without symbols is extraordinarily slow to read. Recover symbols first — it is the whole job.

References

  • testing-mobile-applications — the wider mobile assessment and native channels
  • testing-apis — testing the backend once traffic is visible
  • analyzing-binaries — deeper native work on the engine itself
  • blutter, reFlutter, Frida/objection, jadx, apktool, apksigner

Heefeg gestallte Froen

Wat mécht de KI-Skill Reversing Flutter Apps?

Féiert Reverse Engineering duerch a fänkt den Trafic vu Flutter-/Dart-Mobile-Apps mat blutter, reFlutter a Frida of. Benotzt dëse Skill, wann en APK oder IPA libflutter.so, libapp.so, App.framework oder flutter_assets enthält, wann jadx nëmmen e klengen Dart-Wrapper weist, wann Burp oder mitmproxy keen Trafic vun enger App gesäit, déi offensichtlech online ass, oder wann d'Zil als mat Flutter oder Dart gebaut beschriwwe gëtt.

Firwat Reversing Flutter Apps op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Reversing Flutter Apps besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Reversing Flutter Apps an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/trilwu/secskills/tree/main/secskills-core/skills/reversing-flutter-apps an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Reversing Flutter Apps benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Reversing Flutter Apps benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Reversing Flutter Apps domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Reversing Flutter Apps gratis?

Jo. trilwu huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇