Communitygithub.com

브라우저 확장 프로그램 리버스 엔지니어링

크롬/파이어폭스 브라우저 확장 프로그램의 매니페스트 분석, 백그라운드 워커, 확장 기반 자격 증명 또는 트래픽 로직 복구 등 공인된 리버스 엔지니어링을 수행합니다.

브라우저 확장 프로그램 리버스 엔지니어링란 무엇인가요?

이 스킬은 보안 연구원이나 개발자가 브라우저 확장 프로그램(Chrome/Edge MV2/MV3, Firefox)을 체계적으로 리버스 엔지니어링할 수 있도록 돕습니다. 확장 프로그램 패키지(crx/xpi)를 분석하고, 매니페스트 파일에서 과도한 권한(permissions, host_permissions)과 백그라운드 스크립트(service_worker/background) 진입점을 식별합니다. 또한 콘텐츠 스크립트 주입, chrome.storage/IndexedDB 내 중요 데이터, runtime.sendMessage 기반 메시지 전달 로직을 복구하는 데 중점을 둡니다. 악성 확장 프로그램 IOC 분석, 공급망 공격 조사, 난독화된 JS 로직 해독 등에 유용하며, Chrome DevTools를 통한 동적 디버깅과 Frida/CDP 연동을 지원합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/zhaoxuya520/reverse-skill/tree/main/skills/browser-extension-reverse

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

브라우저 확장 프로그램 리버스 엔지니어링은(는) 무엇을 하나요?

ACTION REQUIRED (즉시 수행)

  1. 지금: ../field-journal/precedent-reverse.md 읽기
  2. 지금: 대상이 브라우저 확장 프로그램(crx/xpi/압축 해제 디렉터리)인지 확인 (일반 웹 JS인 경우 → js-reverse/)
  3. 다음: 확장 프로그램 압축 해제; 매니페스트 읽기
  4. 실행: 권한 면 → 백그라운드 스크립트 → 네트워크/저장소 훅

적용 시나리오

  • Chrome/Edge MV2/MV3 확장 프로그램 분석
  • Firefox 확장 프로그램
  • 악성 확장 IOC, 공급망 확장 프로그램 독점 조사
  • 확장 프로그램으로 구현된 서명/암호화/프록시 로직 복원

워크플로우

1. 패키지

□ crx 압축 해제 / 프로필에서 확장 디렉터리 가져오기
□ manifest.json: permissions, host_permissions, background, content_scripts
□ 과도한 권한 평가 (<all_urls>, webRequest, debugger)

2. 로직

□ service_worker / background 진입점
□ content_script 주입 지점과 세계(isolated)
□ chrome.storage / IndexedDB 키
□ `js-reverse`와 동일: 네트워크 및 메시지 전달(runtime.sendMessage) 관찰

3. 동적 분석

□ 개발자 모드에서 압축 해제 디렉터리 로드
□ chrome://extensions 에서 오류 확인
□ DevTools에 service worker 연결
□ 필요한 경우 Frida/브라우저 CDP(jshookmcp)

도구 체인

도구용도
압축 해제/jq매니페스트
Chrome DevTools워커 디버깅
js-reverse 도구 체인심층 JS
YARA악성 확장 규칙

참고

  • references/extension-analysis.md
  • field-journal 확장 복구 관련 항목
  • ../js-reverse/ ../malware-analysis/

라우팅 컨텍스트

상위: MASTER R30
하위: 복잡한 난독화 JS → js-reverse; 독점 조사 → supply-chain / malware

작업 완료 자체 점검

  • 권한 면과 진입 스크립트가 나열되었습니까?
  • 주요 데이터 흐름이 복구되었습니까?
  • 체크리스트 완료?

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication, authorization, rate-limit, and CI/CD testing.

apk-reverse

在 CLI 环境下做 Android APK 逆向时使用。适用于 APK 解包、Java 反编译、smali 修改、重打包、Frida 动态 Hook,以及按需切换到 so/native 分析。优先使用本机已安装的 jadx、apktool、frida、adb、ida-reverse、radare2。

attack-chain

Use for authorized multi-stage attack-path planning and orchestration when a task spans reconnaissance, initial access, privilege escalation, lateral movement, or impact assessment. Route single-stage tasks directly to their specialist skill.

binary-diff

|

binary-ninja-reverse

Use for authorized binary analysis in Binary Ninja, including HLIL/MLIL/LLIL inspection, strings/imports/exports, cross-references, types, patch review, Python API automation, and optional Binary Ninja MCP or localhost HTTP integration.

browser-automation

|

case-review

Reviews a reverse-skill case package for scope readiness, Evidence to Finding to Path traceability, work item coverage, timeline references, and optional artifact hash integrity before report handoff.

cloud-k8s

Use for authorized cloud, container, and Kubernetes security assessment including metadata SSRF, IAM misconfig, container escape paths, and cluster RBAC review.

code-audit

Use for authorized source-code security review and SAST workflows including Semgrep, CodeQL patterns, dangerous API hunting, and fix verification.

ctf-sandbox

Thin PRIMARY for CTF / AWD / 靶场 multi-type orchestration. Hands off to the sidecar CTF-Sandbox-Orchestrator. Use when the user says CTF, AWD, 靶场, or 比赛题 and no more specific pwn/APK/IDA route already won.

database-security

Use for authorized database security assessment covering PostgreSQL/MySQL/MSSQL/Mongo/Redis exposure, authz, UDF/command paths, and misconfiguration review.

diagram-generator

generate, refine, validate, and render diagrams from natural language, notes, code snippets, schemas, tables, or existing diagram source. use for flowcharts, swimlanes, sequence diagrams, state diagrams, er diagrams, class diagrams, architecture/c4-style diagrams, dependency graphs, gantt charts, mind maps, user journeys, sankey-style flows, org charts, network graphs, and other visual models. supports mermaid by default, graphviz dot for complex graph layout, plantuml for uml-heavy engineering diagrams, and svg output when direct markup is more reliable.

digital-forensics

Use for authorized digital forensics including memory dumps, disk timelines, PCAP investigation, artifact triage, and IR evidence preservation.

docs-generator

|

dotnet-reverse

.NET / C# 二进制逆向。当目标是 .NET assembly(PE 头含 CLR、.exe/.dll 托管程序)、C# 编译产物(含 NativeAOT)、红队 Sharp* 工具(Rubeus / SharpHound / SharpHound 等)、.NET 混淆程序(ConfuserEx / SmartAssembly / Babel / Eazfuscator)、.NET loader / info-stealer / 套壳 malware 时使用。优先用 dnSpyEx + de4dot,需要 AI 直接操作时联动 dnSpy MCP。不用于纯 native 二进制(走 reverse-engineering / ida-reverse)。

edr-bypass-re

|

email-security

Use for authorized email security review including phishing analysis, header authentication (SPF/DKIM/DMARC), BEC patterns, and mailbox token abuse research.

firmware-pentest

|

ghidra-reverse

Use for free/open reverse engineering with Ghidra (headless or GUI), including decompile, cross-refs, and optional Ghidra MCP workflows when IDA is unavailable.

go-rust-reverse

Use for reverse engineering stripped Go and Rust binaries including runtime recognition, pclntab/moduel data recovery, panic strings, and idiomatic decompilation recovery.

관련 스킬