Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
wgpsec avatar

C2 Evasion Methodology

  • 27 installs
  • 1.6k repo stars
  • Updated July 19, 2026
  • wgpsec/aboutsecurity

Helps with ai & agent building tasks during AI-assisted development.

About

c2-evasion-methodology is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • c2-evasion-methodology
  • AI & Agent Building
  • AI-coding skill

C2 Evasion Methodology by the numbers

  • 27 all-time installs (skills.sh)
  • +2 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #9,601 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/wgpsec/aboutsecurity --skill c2-evasion-methodology

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs27
repo stars1.6k
Last updatedJuly 19, 2026
Repositorywgpsec/aboutsecurity

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

C2 框架免杀方法论

深入参考

以下参考资料按需加载,到达对应 Phase 时读取:

Phase参考文档用途
2references/detection-search.mdYARA/Sigma/网络规则搜索命令
3references/rule-analysis.md逐规则分析与免杀策略制定
3.5references/hex-analysis.mdHex 模式深度分析
3.6references/binary-analysis.md二进制资产(shellcode/资源/配置)分析
3.7references/string-search.md敏感字符串主动搜索
4references/source-modify.md源码修改模式与编译器标志

---

6 步决策流程

Phase 1: 识别 C2 组件
├─ 找到 implant/beacon/agent 目录
└─ 识别语言(C/Go/Rust/Python)

Phase 2: 检测规则搜索 → ⛔必读 references/detection-search.md
├─ YARA 规则(VirusTotal/GitHub/Elastic/ESET)
├─ Sigma 规则(日志行为检测)
└─ 网络规则(Snort/Suricata/Zeek)

Phase 3: 逐规则分析 → ⛔必读 references/rule-analysis.md
├─ 解析每个 $s1/$a1/hex pattern
├─ 定位源码中产生该 pattern 的位置
├─ 制定免杀策略(优先级: 编译器标志 > 构建配置 > 源码修改 > 重构)
│
├─ Phase 3.5: Hex 分析 → references/hex-analysis.md
├─ Phase 3.6: 二进制资产 → references/binary-analysis.md
└─ Phase 3.7: 字符串搜索 → references/string-search.md

Phase 4: 靶向修改 → ⛔必读 references/source-modify.md
├─ ⛔ 编译器标志优先!(-O2, -fomit-frame-pointer, -fno-ident)
├─ 字符串混淆(XOR 加密)
├─ 函数重命名
└─ Makefile/构建链修改

Phase 5: 验证
└─ grep 确认所有检测 pattern 已消除

Phase 6: 文档
└─ 生成 modifications_summary.md

优先级框架

优先级组件动作
1 (最高)Implant/Beacon/Agent 二进制必须修改
2 (高)网络特征暴露必须修改
3 (跳过)内部字符串(不影响检测)可跳过

免杀策略决策矩阵

Pattern 类型编译器标志源码修改两者都需要
函数序言(prologue)✅ 通常足够✅ 备选少见
字符串字节❌ 无效✅ 必须
API 调用序列⚠️ 可能有效✅ 必须有时
配置结构体❌ 无效✅ 必须

字符串混淆

  • 混淆后必须验证:编译通过、功能正常、不影响运行
  • 自动化处理:脚本批量替换,非手动逐个修改

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.