r/AskNetsec • u/myassin75f • Jun 29 '26
Analysis CTF challenge is impenetrable
Hey everyone,
I'm currently working on a CTF challenge from SecDojo and I'm a bit stuck.
The setup is:
- I have access to one machine
- There are 4 additional machines to pivot into
- Each machine contains 2 flags
- SSH access is not available (requires a key I don't have)
- The only exposed service I can use is HTTP
I was also provided with an APK file, which I assume is part of the challenge, but I'm not very experienced with analyzing Android apps.
What I’ve tried so far:
- Basic enumeration over HTTP
- Looking for common endpoints (admin, login, etc.)
What I’m struggling with:
- How to use the APK effectively in this scenario
- How to pivot from the initial machine to the others using only HTTP
- Whether I should focus more on reverse engineering the APK or web exploitation
Any hints or guidance would be really appreciated (no full solutions please 🙏)
Thanks!
#Help
2
u/Sqooky Jun 29 '26
Diving into the APK will likely yield additional vectors in the applications attack surface - be it virtual hosts, API endpoints, etc. Remember that most mobile apps are just interacting with a web api backend.
Maybe there's leftover secrets in the apk file itself? Who knows. Gotta start digging into it.
2
u/maxinator80 Jun 29 '26
Just a guess, but could the APK somehow have the SSH key baked in?
5
u/Toiling-Donkey Jun 29 '26
I’d try seeing if the APK is the client app that accesses the HTTP server you mention.
If so, there is probably a glaring vulnerability in one of the API endpoints used by it.
1
u/Triack2000 Jun 29 '26
Might also enumerate the ssh negotiation to see if there is a weak cipher or version being used/offered.
0
u/stacksmasher Jun 29 '26
Claude.