Airsc miễn phí cho tất cả. Nếu nó giúp bạn, hãy ủng hộ $2–$20.

Ủng hộ
PluginCẩn thậnĐăng nhập & bảo mậtNâng cao

offensive-claude

hypnguyen1209 · hypnguyen1209/offensive-claude

Plugin này cung cấp một framework bảo mật tấn công theo định hướng đặc tả cho Claude Code, bao gồm các kỹ năng "kill-chain", tác nhân cộng tác và thư viện tham chiếu lỗ hổng.

Offensive security toolkit for Claude Code covering red team, exploit dev, AD attacks, EDR bypass, mobile pentest

384 sao68Giấy phép: MITCập nhật 21 ngày trước0 lượt mở

Xem trước

▍

Bạn có thể làm gì với nó

  • Thực hiện các cuộc tấn công Red Team theo quy trình làm việc có cấu trúc.
  • Phát triển các khai thác và vượt qua các hệ thống EDR.
  • Phân tích các cuộc tấn công Active Directory và thực hiện kiểm thử xâm nhập di động.

Kiểm tra an toàn

Cẩn thận

Dùng được, nhưng nên đọc ghi chú trước.

  • ●Yêu cầu quyền quản trị (sudo).skills/active-directory-attack/SKILL.md
  • ●Có câu lệnh cố ghi đè chỉ dẫn của agent hoặc giấu hành động khỏi bạn.skills/ai-agent-redteam/SKILL.md
  • ●Trình cài đặt tải script từ xa và chạy thẳng bằng shell.README.md

Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.

Trích từ README

Offensive Security Research Config for Claude Code

A spec-driven offensive security framework for Claude Code — structured engagement workflows based on the Cyber Kill Chain, 32 kill-chain skills (multi-file progressive-disclosure) plus a discipline layer (a SessionStart dispatcher + 6 process/discipline skills), 8 collaborative agents, and a shared 47-file vulnerability reference library. Inspired by GitHub's spec-kit, obra/superpowers, and gadievron/raptor (crash→exploitability + OSS-repo forensics).

Quick Setup

# Method 0: Install as a Claude Code plugin (recommended — auto-loads the skill dispatcher)
/plugin marketplace add hypnguyen1209/offensive-claude
/plugin install offensive-claude@offensive-claude-marketplace

Installing as a plugin registers a SessionStart hook that injects the using-offensive-claude dispatcher into every conversation, so the skill-invocation discipline (scope → finding → OPSEC) is active from the first message.

# Method 1: One-liner install (recommended)
curl -sL https://raw.githubusercontent.com/hypnguyen1209/offensive-claude/main/install.sh | bash
# Method 2: Clone + install script
git clone https://github.com/hypnguyen1209/offensive-claude.git ~/offensive-claude
cd ~/offensive-claude && bash install.sh
# Method 3: Manual copy
git clone https://github.com/hypnguyen1209/offensive-claude.git ~/offensive-claude
cp -r ~/offensive-claude/skills ~/.claude/skills
cp -r ~/offensive-claude/agents ~/.claude/agents
cp -r ~/offensive-claude/templates ~/.claude/templates
cp -r ~/offensive-claude/workflows ~/.claude/workflows
cp -r ~/offensive-claude/commands ~/.claude/commands
cp -r ~/offensive-claude/presets ~/.claude/presets
cp ~/offensive-claude/CLAUDE.md ~/.claude/CLAUDE.md

Skills and agents activate automatically — no additional configuration needed.

Engagement Workflow

Engagements follow the Cyber Kill Chain as a structured 9-phase pipeline with quality gates:

Phase 0    Phase 1    Phase 2      Phase 3     Phase 4       Phase 5       Phase 6    Phase 7       Phase 8
SCOPE  →  RECON  →  WEAPONIZE →  DELIVERY →  EXPLOIT  →  INSTALLATION →   C2    →  ACTIONS ON →  REPORT
                                                                                    OBJECTIVES

Quick Start — Web App Pentest

/engage.init web-app --client ACME
/engage.scope                           # Define targets, ROE, authorization
/engage.recon                           # Subdomain enum, port scan, tech fingerprint
/engage.weaponize                       # Select exploits, design payloads
/engage.exploit                         # Execute exploits, document findings
/engage.report                          # Generate technical report + executive summary

Orchestration Commands

CommandPhaseAction
/engage.init —Initialize engagement with workflow preset
/engage.scope0Define targets, ROE, authorization
/engage.recon1Passive/active reconnaissance
/engage.weaponize2Payload development, exploit design
/engage.deliver3Delivery vector execution
/engage.exploit4Exploitation, finding documentation
/engage.install5Persistence establishment
/engage.c26C2 infrastructure setup
/engage.actions7Objectives execution, lateral movement
/engage.report8Report generation
/engage.status—Show pipeline status and progress
/engage.gate—Validate current phase gate
/engage.crash4Crash → root cause (rr) → reachability (gcov/trace) → empirical exploitability verdict
/engage.cvediff2,4Find a CVE's canonical fix commit(s) across sources, then scope-gated diff for root cause
/engage.scorecard—Calibrate model verdict trust (Wilson-bounded miss-rate) to short-circuit re-validation
/engage.threatmodel1Materialize / lint / drift-check the engagement threat model
/engage.memory—Recall prior patterns / record confirmed findings (cross-engagement learning)
/engage.pickup—Resume an engagement from the engine trace (skip completed steps)

Workflow Presets

PresetPhasesUse Case
web-app0,1,2,3,4,8OWASP-focused web application assessment
network0,1,2,4,5,6,7,8Internal network penetration test
red-teamALL (0-8)Full adversary simulation
cloud0,1,4,8AWS/Azure/GCP security audit
mobile0,1,2,4,8Android/iOS application pentest
ad-domain0,1,2,4,5,7,8Active Directory domain assessment
bug-bounty0,1,4,8Bug bounty vulnerability hunting

Quality Gates

Each phase transition validates:

  • Required artifacts exist (templates filled)
  • Findings have mandatory fields (CWE, CVSS, evidence, ATT&CK ID)
  • Gate PASS → suggests next phase + relevant skills
  • Gate FAIL → lists missing items

Structure

.
├── skills/                        # 32 skill modules (progressive-disclosure layout)
│   ├── recon-osint/
│   │   ├── SKILL.md               #   thin router: when-to-activate + technique map + OPSEC/detection
│   │   ├── references/            #   per-skill technique deep-dives (theory + code + detection + OPSEC)
│   │   └── scripts/               #   runnable tooling backing each technique
│   ├── coding-mastery/scripts/_lib/  # shared safety libs: scope_guard, action_guard, http_creds, redact_headers
│   ├── engagement-memory/         #   cross-engagement pattern-learning memory (support skill)
│   ├── using-offensive-claude/    #   SessionStart DISPATCHER — skill-invocation discipline
│   ├── engagement-flow/           #   process skills: sequence the kill chain,
│   ├── scope-discipline/          #   no target without authorization,
│   ├── threat-mode
Xem mã nguồn trên GitHub