Skip to content
Back to skills

Khaos Framework Mapping

ASecurity

Mapeamento de frameworks de segurança — CVE para CWE, CAPEC, ATT&CK e D3FEND. Ferramenta NSFW (Navigator for Security Frameworks) para enriquecer findings com cadeia de ataque e mitigações D3FEND durante assessment e reporting.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsgobashsqlgitsecurity

Works with

  • cli

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add henriqqw/Khaos-Pentester-Agent --skill khaos-framework-mapping --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Khaos Framework Mapping?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Khaos Framework Mapping
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/henriqqw-khaos-framework-mapping-khaos-pentester-agent/badge)](https://www.skillsdirectory.com/skills/henriqqw-khaos-framework-mapping-khaos-pentester-agent)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: khaos-framework-mapping
description: Mapeamento de frameworks de segurança — CVE para CWE, CAPEC, ATT&CK e D3FEND. Ferramenta NSFW (Navigator for Security Frameworks) para enriquecer findings com cadeia de ataque e mitigações D3FEND durante assessment e reporting.
metadata:
  khaos:
    tool_ids: []
    wordlist_ids: []
    stages: [recon, vuln, reporting]
    source_type: original
    source:
      repository: https://github.com/henriqqw/Khaos
      revision: embedded
      path: khaos-framework-mapping/SKILL.md
      license: not-declared
      reviewed_by: Khaos maintainers
      review_note: >
        Skill baseada no repositorio frncscrlnd/nsfw (Navigator for Security Frameworks).
        Ferramenta client-side que mapeia CVE-CWE-CAPEC-ATT&CK-D3FEND. Util para
        enriquecer findings com contexto de frameworks durante assessment e reporting.
---

# Framework Mapping — CVE, ATT&CK, D3FEND

**Stages:** recon / vuln / reporting
**Ferramenta:** frncscrlnd.github.io/nsfw (Navigator for Security Frameworks)

> **Uso principal:** dado um CVE encontrado em recon, encontrar o ATT&CK technique correspondente para incluir no finding. Dado um CWE, encontrar CAPEC attack patterns relacionados. Dado um ATT&CK technique, encontrar D3FEND mitigacoes para a secao de recommendations.

---

## Cadeia de mapeamento

```
CVE (vulnerabilidade especifica)
 └─ CWE (classe de fraqueza)
     └─ CAPEC (ataque abstrato)
         └─ ATT&CK (tecnica de ataque)
             └─ D3FEND (mitigacao defensiva)
```

**Traversal bidirecional:** tambem funciona de ATT&CK para D3FEND sem CVE, ou de CWE para ATT&CK.

---

## Fase 1 — Uso da ferramenta NSFW

**URL:** https://frncscrlnd.github.io/nsfw

```
1. Abrir frncscrlnd.github.io/nsfw
2. Digitar o ID do framework no campo de busca:
   - CVE: "CVE-2026-119977"
   - CWE: "CWE-79" (XSS)
   - CAPEC: "CAPEC-86" (XSS via HTTP Query Strings)
   - ATT&CK: "T1059" (Command and Scripting Interpreter)
   - D3FEND: "D3-MFA" (Multi-Factor Authentication)
3. Ver o grafo de relacionamentos e os IDs mapeados
4. Usar "Multi-ID intersection" para encontrar ATT&CK techniques comuns a varios CVEs
```

**Painel CPE:** mostra vendors, produtos e versoes afetados pelo CVE. Util para escopo de recon.

**CISA KEV highlighting:** CVEs em vermelho pulsante = estao no Known Exploited Vulnerabilities catalog = prioridade de remediation.

---

## Fase 2 — Enriquecimento de finding

Ao criar um finding via `khaos_create_finding`, adicionar:

```
# No campo description ou evidence do finding:

**CVE:** CVE-2026-119977
**CWE:** CWE-367 (Time-of-check Time-of-use)
**CAPEC:** CAPEC-26 (Code Injection)
**ATT&CK:** T1190 (Exploit Public-Facing Application)
**D3FEND:** D3-DA (Dynamic Analysis) / D3-EI (Executable Injection)
**CISA KEV:** Sim (adicionado Nov 3, 2026)
```

---

## Fase 3 — Mapeamentos frequentes em bug bounty

| Vulnerabilidade | CWE | CAPEC | ATT&CK |
|---|---|---|---|
| XSS | CWE-79 | CAPEC-86 | T1059.007 |
| SQLi | CWE-89 | CAPEC-66 | T1190 |
| SSRF | CWE-918 | CAPEC-664 | T1090 |
| IDOR/BOLA | CWE-639 | CAPEC-1 | T1078 |
| Path traversal | CWE-22 | CAPEC-139 | T1083 |
| RCE via upload | CWE-434 | CAPEC-17 | T1190 |
| Race condition | CWE-367 | CAPEC-26 | T1190 |
| JWT bypass | CWE-347 | CAPEC-194 | T1550 |
| Open redirect | CWE-601 | CAPEC-194 | T1566 |
| Broken auth | CWE-287 | CAPEC-16 | T1078 |

---

## Fase 4 — CVE hunt com contexto ATT&CK

```bash
# Encontrar CVEs de um produto e mapear para ATT&CK
khaos_query_cves product="wordpress" severity="CRITICAL"
# Para cada CVE retornado:
# 1. Abrir frncscrlnd.github.io/nsfw com o CVE ID
# 2. Capturar ATT&CK technique ID
# 3. Incluir no finding como contexto de ataque

# Multi-ID intersection (varios CVEs, encontrar ATT&CK comum):
# Na ferramenta NSFW, digitar varios CVEs separados por virgula
# Ferramenta mostra ATT&CK techniques comuns a todos
```

---

## Fase 5 — D3FEND para recommendations

Ao escrever recomendacoes de remediation no relatorio, mapear o ATT&CK technique para D3FEND:

```
Vuln: SQL Injection (T1190)
D3FEND mitigacoes:
- D3-DA  Dynamic Analysis (WAF + SAST/DAST)
- D3-NM  Network Monitoring
- D3-IH  Input Hardening (parameterized queries)

Vuln: Broken Auth (T1078)
D3FEND mitigacoes:
- D3-MFA Multi-Factor Authentication
- D3-SPP Strong Password Policy
- D3-AI  Account Integrity
```

---

## Referencias

- NSFW tool: frncscrlnd.github.io/nsfw
- Repo: github.com/frncscrlnd/nsfw
- MITRE ATT&CK: attack.mitre.org
- MITRE D3FEND: d3fend.mitre.org
- CISA KEV: cisa.gov/known-exploited-vulnerabilities-catalog
- NVD (CWE/CVE): nvd.nist.gov
- CAPEC: capec.mitre.org

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.