competition-android-hooking
하는 일
이 도구는 특히 보안 상황에서 안드로이드 모바일 앱(APK)이 내부적으로 어떻게 작동하는지 조사하도록 돕습니다. 앱이 실행되는 동안 관찰하고 상호작용하여 앱의 비밀을 이해할 수 있게 합니다.
사용하는 경우
- ✓앱이 비밀 정보에 어떻게 서명하는지 보고 싶을 때.
- ✓앱이 기기가 신뢰할 수 있는지(루팅이나 탈옥을 피하는지) 어떻게 확인하는지 이해해야 할 때.
- ✓앱이 서버와 어떻게 통신하고 어떤 데이터를 보내는지 알고 싶은 경우.
스킬 링크
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-android-hooking/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 안드로이드 앱이 서버로 보내는 요청에 어떻게 서명하는지 조사하고 싶습니다.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
도구는 앱의 특정 지점에 작은 코드 조각(후크)을 넣어 데이터를 관찰하고 가져옵니다. 데이터 서명, 암호화, 서버 통신처럼 중요한 부분에 집중합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Competition Android Hooking
Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.
Use this skill when the decisive path runs through an Android app's live trust boundary rather than static strings alone.
Reply in Simplified Chinese unless the user explicitly requests English.
Quick Start
- Preserve the original APK, extracted resources, and decompiled output before patching or resigning.
- Start with manifest, exported components, deeplinks, native libs, prefs, local DBs, and bundled configs.
- Decide the narrowest runtime boundary to hook: signer, crypto helper, JNI bridge, WebView bridge, or request builder.
- Correlate static evidence and dynamic traces before claiming a trust edge is understood.
- Reproduce the signed request, accepted token, or gated branch from the smallest hook set.
Workflow
1. Static Triage Before Hooks
- Map package structure, exported activities, services, receivers, providers, and deeplink handlers.
- Note SSL pinning logic, root checks, feature flags, token storage, shared prefs, SQLite tables, and protobuf or RPC boundaries.
- Identify whether the sensitive logic sits in Java, Kotlin, JNI, or a bundled WebView.
2. Hook The Narrowest Boundary
- Prefer hooking request signers, crypto helpers, keystore access, protobuf encode or decode, or JNI marshaling instead of broad UI hooks.
- Record plaintext inputs, signed strings, headers, nonces, and outputs at the boundary that actually changes trust.
- If pinning or environment checks block progress, patch or hook only enough to expose the real request path.
3. Replay The Accepted Path
- Rebuild the smallest sequence that reaches the accepted server-side branch: local state, nonce, request body, signature, and headers.
- Keep hook logs, captured request shapes, and local storage paths tied to the same account or session state.
- If the challenge becomes more about transform recovery than Android runtime, switch back to the broader crypto or mobile skill.
Read This Reference
- Load
references/android-hooking.mdfor hook targets, storage checklist, and evidence packaging.
What To Preserve
- Hook points, class names, JNI symbols, signer inputs and outputs, and header names
- Shared prefs, local DB rows, deeplinks, exported components, and token storage paths
- The smallest replayable request or branch that proves the trust boundary
자주 묻는 질문
‘후킹’이란 무엇인가요?
앱의 특정 지점에 ‘스파이’를 두어 무슨 일이 일어나는지 보거나 정보를 가로채는 것과 같습니다.
‘SSL 피닝’이란 무엇인가요?
일부 앱이 올바른 서버와 통신하고 있는지 확인하기 위해 사용하는 추가 보안 장치입니다. 이 도구는 분석을 위해 이를 우회하는 데 도움을 줄 수 있습니다.
사용하려면 프로그래밍을 알아야 하나요?
이 도구는 보안 맥락에서 이미 앱을 조사하고 있는 사람들을 위한 것입니다. 최종 사용자에게 직접적인 프로그래밍을 요구하지는 않지만, 개념을 이해하면 매우 도움이 됩니다.
상세 정보
작성자의 원본 설명
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for Android APK hooking, Frida tracing, request-signing recovery, SSL pinning bypass, JNI boundary inspection, and app trust-boundary analysis. Use when the user asks to hook an APK, inspect signer logic, trace Java or native boundaries, bypass pinning or root checks, inspect shared prefs or app databases, or replay accep
인기도
- GitHub 스타
- 42k
- 순위
- #6419
- 라이선스
- MIT
- 업데이트
- 2026. 9. 22.
댓글
- …
이 저장소의 다른 스킬
competition-ad-certificate-abuse
42k에이전트가 디지털 인증서 시스템에 대한 공격을 분석하도록 돕습니다. 인증서가 접근 권한을 얻는 데 어떻게 악용될 수 있는지 조사합니다.
competition-agent-cloud
42k에이전트가 AI와 클라우드 시스템의 보안 과제를 분석하도록 돕습니다. 프롬프트, 도구, 클라우드가 어떻게 악용될 수 있는지 조사합니다.
competition-browser-persistence
42k에이전트가 웹사이트가 브라우저에 정보를 저장하는 방식을 분석하도록 돕습니다. 쿠키와 기타 데이터를 조사해 세션이 어떻게 작동하는지 이해합니다.
competition-bundle-sourcemap-recovery
42k에이전트가 웹사이트 코드를 재구성하도록 돕습니다. 파일과 코드 맵을 분석해 사이트가 어떻게 만들어졌고 어떻게 작동하는지 이해합니다.
비슷한 스킬
android-clean-architecture
280k에이전트가 Android 프로젝트를 효율적으로 구성하도록 돕습니다. 유지보수와 새 기능 개발이 쉽도록 코드를 구조화합니다.
compose-multiplatform-patterns
280k에이전트가 KMP 프로젝트에서 Compose Multiplatform과 Jetpack Compose 패턴을 쓰도록 돕습니다. 상태, 내비게이션, 테마, 성능을 다룹니다.
dart-flutter-patterns
280kDart와 Flutter 앱용 코드를 작성하도록 에이전트를 돕습니다. 견고하고 관리하기 쉬운 앱을 만드는 현대적인 패턴을 씁니다.