A vulnerable Android application with ctf examples based on bug bounty findings, exploitation concepts, and pure creativity.
-
Download the latest debug or release injuredandroid.apk from the releases.
-
Enable USB debugging on your Android test phone.
-
Connect your phone and your pc with a usb cable.
-
Install via adb.
adb install InjuredAndroid.apk
. Note: You need to use the absolute path to the .apk file or be in the same directory.
-
Download the apk file.
-
Start the emulator from Android Studio (I recommend downloading an emulator with Google APIs so root adb can be enabled).
-
Drag and drop the .apk file on the emulator and InjuredAndroid.apk will install.
Build steps in progress. The flutter module makes this slightly more complicated.
Decompiling the Android app is highly recommended.
-
XSSTEST is just for fun and to raise awareness on how WebViews can be made vulnerable to XSS.
-
The login flags just need the flag submitted.
-
The flags without a submit that demonstrate concepts will automatically register in the "Flags Overview" Activity.
-
The exclamatory buttons on the bottom right will give users up to three tips for each flag.
Good luck and have fun! :D
Looking at the source code of the applications in the InjuredAndroid directory, InjuredAndroid-FlagWalkthroughs.md file, or binary source code in the Binaries directory will spoil some if not all of the ctf challenges.