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
apktool d custom-browser.apk -o output/jadx-gui custom-browser.apk2. ตรวจสอบ AndroidManifest.xml
มองหา:
- Exported activities
- Secret activities
- Custom URL schemes
- Debug flags
3. วิเคราะห์ Java/Kotlin Code
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 | วัตถุประสงค์ |
|---|---|
| jadx | Java decompiler |
| apktool | APK extraction |
| adb | Android debugging |
| Frida | Dynamic analysis |
ADB Commands
# Install APKadb install custom-browser.apk
# Launch secret activity (if found)adb shell am start -n com.app/.SecretActivity
# View logsadb 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/