Romain KRAFT <romain.kraft@protonmail.com>
APKTool
Frida
~ $ sudo pip install frida
~ $ frida-trace -i "recv*" -i "read*" *twitter*
recv: Auto-generated handler: …/recv.js
# (snip)
recvfrom: Auto-generated handler: …/recvfrom.js
Started tracing 21 functions. Press Ctrl+C to stop.
39 ms recv()
112 ms recvfrom()
128 ms recvfrom()
129 ms recvfrom()
BurpSuite
De la cryptographie
Des regex bien utilisées
if(url.matches("^http(.+)/Android/(.+)?/OrderProcessing/AdyenResponse\\?(.+)")){
...
this.webView.getSettings().setJavaScriptEnabled(true);
this.webview.getSettings().allowFileAccess(true);
...
loadUrl(url);
}
Vulnerable APK
Malicious APK
XSS url
Des logs utiles !