본문으로 건너뛰기
Skillpedia
모바일 앱42k · #6419

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-android-hooking/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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

  1. Preserve the original APK, extracted resources, and decompiled output before patching or resigning.
  2. Start with manifest, exported components, deeplinks, native libs, prefs, local DBs, and bundled configs.
  3. Decide the narrowest runtime boundary to hook: signer, crypto helper, JNI bridge, WebView bridge, or request builder.
  4. Correlate static evidence and dynamic traces before claiming a trust edge is understood.
  5. 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.md for 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

repo: zhaoxuya520/reverse-skill

인기도

GitHub 스타
42k
순위
#6419
라이선스
MIT
업데이트
2026. 9. 22.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬