go-rust-reverse – skill Lập trình cho agent AI
Dịch ngược binary Go và Rust đã bị strip: nhận diện runtime, khôi phục metadata pclntab/module, phân tích chuỗi panic và chiến lược decompile theo phong cách idiomatic.
Cài skill go-rust-reverse bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/go-rust-reverse-69873.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /go-rust-reverse – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/go-rust-reverse-69873.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $go-rust-reverse – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/go-rust-reverse-69873.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /go-rust-reverse – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/go-rust-reverse-69873.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /go-rust-reverse – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Go / Rust Binary Reverse Engineering
When to Use
- Analyzing a stripped Go or Rust binary where symbols are absent.
- Recovering function boundaries and names from language-specific metadata.
适用场景
- 剥离符号的 Go 恶意软件/工具
- Rust 发行二进制、panic 字符串驱动分析
- 与通用 ida/ghidra 互补的语言专用方法
工作流
Go
□ 识别 go.buildid、runtime 符号残留、pclntab
□ GoReSym / redress / IDA Go 插件恢复函数名
□ 注意 interface、slice、string 结构在反编译中的形态
□ 网络/加密库路径:crypto/* net/httpRust
□ panic 字符串、rust_begin_unwind、crate 路径暗示
□ 范型实例化导致的代码膨胀;先定位字符串 xref
□ 异步/tokio 状态机需结合交叉引用动态
□ 仍可用 Frida;注意 Go 栈与调度
□ 优先日志与配置字符串驱动断点工具链
| 工具 | 用途 |
|------|------|
| GoReSym | Go 元数据 |
| 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
任务完成自检
- [ ] 是否恢复关键函数名或等价映射?
- [ ] 是否标注语言运行时证据?
- [ ] Checklist?
Limitations
- New compiler versions change metadata layouts; tooling must be kept current.
- Aggressive inlining still yields large, hard-to-read decompilation.
> Adapted from [zhaoxuya520/reverse-skill](https://github.com/zhaoxuya520/reverse-skill) (MIT).
Skill liên quan
- golang-pro – Làm chủ Go 1.21+ với các mẫu hiện đại, concurrency nâng cao, tối ưu hiệu năng và…
- google-no-code – Thiết kế Google Forms và kết nối trigger Apps Script (onFormSubmit) để gửi cảnh báo…
- graphql-schema – Các mẫu truy vấn, mutation và sinh code GraphQL. Dùng khi tạo thao tác GraphQL, làm việc…
- grok-delegate – Chỉ giao tác vụ lập trình cho Grok Build CLI khi người dùng yêu cầu rõ ràng, trong khi…
- grpc-golang – Xây dựng dịch vụ gRPC sẵn sàng production trong Go với mTLS, streaming và observability…
- hasdata-cli – Truy cập qua dòng lệnh để tìm kiếm, thu thập dữ liệu web và lấy dữ liệu có cấu trúc.
- site-architecture – Khi người dùng muốn kiểm tra, thiết kế lại hoặc lên kế hoạch cấu trúc website, cấu trúc…
- skill-doctor – Dùng khi người dùng muốn chấm điểm thiết lập agent của mình dựa trên lịch sử hội thoại…