Communitygithub.com

Go/Rust 리버스 엔지니어링

스트리핑된 Go 및 Rust 바이너리를 리버스 엔지니어링하는 데 사용되며, 런타임 인식, pclntab/moduel 데이터 복구, 패닉 문자열 및 관용적 디컴파일 복구를 포함합니다.

Rust 리버스 엔지니어링란 무엇인가요?

이 스킬은 스트리핑된 Go 및 Rust 바이너리의 리버스 엔지니어링을 위한 전문 기술입니다. Go 악성코드나 Rust 배포 바이너리에서 흔히 볼 수 있는 stripped 심볼 환경에서도 GoReSym과 같은 특화 도구를 활용하여 pclntab, 런타임 심볼, 패닉 문자열 등의 메타데이터를 복구하고 IDA/Ghidra와 같은 범용 도구와 결합해 함수명과 비즈니스 로직을 재구성합니다. IDA, Ghidra, radare2, Frida 등 여러 플랫폼에서 사용 가능하며, Go의 고루틴 스택과 인터페이스/슬라이스 구조, Rust의 제네릭 인스턴스화로 인한 코드 비대 및 async/tokio 상태 머신과 같은 언어별 특성을 고려한 분석 워크플로를 제공합니다. 사전 정의된 체크리스트를 통해 작업 완료 여부를 점검하고, 마스터 워크플로와 연계되어 `malware-analysis` 또는 `reverse-engineering` 하위 경로로 라우팅됩니다.

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

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

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

문서

Go / Rust 바이너리 리버스 엔지니어링

필수 수행 (读完后立刻执行)

  1. NOW: ../field-journal/precedent-reverse.md 읽기
  2. NOW: 샘플이 Go/Rust 컴파일 결과물인지 확인 (file/문자열/런타임 특징)
  3. NEXT: GoReSym / 관련 플러그인 사용 가능 여부 확인
  4. ACT: 런타임 식별 → 심볼/메타데이터 복구 → 비즈니스 로직

적용 시나리오

  • 스트리핑된 Go 악성코드/도구
  • Rust 배포 바이너리, panic 문자열 기반 분석
  • 일반 IDA/Ghidra와 상호 보완하는 언어 특화 접근법

워크플로

Go

□ go.buildid, runtime 심볼 잔재, pclntab 식별
□ GoReSym / redress / IDA Go 플러그인으로 함수명 복구
□ 인터페이스, 슬라이스, 문자열 구조가 디컴파일에서 나타나는 형태 주의
□ 네트워크/암호화 라이브러리 경로: crypto/* net/http

Rust

□ panic 문자열, rust_begin_unwind, crate 경로 단서
□ 제네릭 인스턴스화로 인한 코드 비대; 먼저 문자열 xref 찾기
□ async/tokio 상태 머신은 교차 참조와 결합

동적 분석

□ Frida 여전히 사용 가능; Go 스택 및 스케줄링 주의
□ 로그 및 설정 문자열 기반 중단점 우선 사용

도구 체인

도구용도
GoReSymGo 메타데이터
IDA/Ghidra + Go/Rust 플러그인디컴파일
radare2빠른 문자열 검색
strings / rabin2초기 진단

참고

  • references/go-rust-notes.md
  • ../reverse-engineering/go-reverse.md ../ida-reverse/ ../ghidra-reverse/
  • seed: field-journal/seed-002_go-malware-stripped.md

라우팅 컨텍스트

상위: MASTER R33
하위: 악성 샘플 흐름 malware-analysis; 일반 RE reverse-engineering

작업 완료 자가 점검

  • 주요 함수명 또는 이에 상응하는 매핑을 복구했습니까?
  • 언어 런타임 증거를 표시했습니까?
  • 체크리스트를 완료했습니까?

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

|

browser-extension-reverse

Use for authorized reverse engineering of browser extensions (Chrome/Firefox) including manifest analysis, background workers, and extension-based credential or traffic logic recovery.

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.

관련 스킬