121 words
1 minute
TCTT25 Mobile: Custom Browser

Custom Browser (100 pts) - Mobile Security Write-up#

โจทย์#

คุณได้รับไฟล์ติดตั้งแอป Android (APK) ของแอป “Custom Browser” ที่ดูเหมือนธรรมดา แต่กลับมีโหมดลับซ่อนอยู่

งานของคุณคือสวมบท IT Security Engineer ตามล่าข้อความลับที่ถูกซ่อนอยู่และไขปริศนาจากเว็บวิวสุดแสบ

Flag format: flag{MD5}


ดาวน์โหลดไฟล์#

ไฟล์ดาวน์โหลด
APK File📦 GitHub Folder

แนวทางการวิเคราะห์#

1. Decompile APK#

Terminal window
apktool d custom-browser.apk -o output/
jadx-gui custom-browser.apk

2. ตรวจสอบ AndroidManifest.xml#

มองหา:

  • Exported activities
  • Secret activities
  • Custom URL schemes
  • Debug flags

3. วิเคราะห์ Java/Kotlin Code#

Terminal window
grep -r "flag" output/
grep -r "secret" output/
grep -r "hidden" output/
grep -r "debug" output/

4. ตรวจสอบ WebView Implementation#

มองหา JavaScript interfaces ที่อาจ expose ข้อมูลที่ sensitive

5. ค้นหา Secret Mode#

แอปน่าจะมี hidden activity หรือ WebView feature ที่เปิดเผย flag


Tools ที่ใช้#

Toolวัตถุประสงค์
jadxJava decompiler
apktoolAPK extraction
adbAndroid debugging
FridaDynamic analysis

ADB Commands#

Terminal window
# Install APK
adb install custom-browser.apk
# Launch secret activity (if found)
adb shell am start -n com.app/.SecretActivity
# View logs
adb logcat | grep -i flag

หมายเหตุ#

Challenge นี้ต้องมีการวิเคราะห์ APK จริง Flag ซ่อนอยู่ใน secret mode/activity ของแอป


Credits#

Writeup by netw0rk7 | Original Repo

TCTT25 Mobile: Custom Browser
https://blog.lukkid.dev/posts/tctt25-mobile-custom-browser/
Author
LUKKID
Published at
2025-12-13
License
CC BY-NC-SA 4.0