Logo de Control Coverage Mapping

Control Coverage Mapping

Organização
Liberty91LTD
control-coverage-mapping

Use for "which attacker techniques do our controls stop, and how well?", "what controls should I have for this threat?" or "what telemetry detects it?": joins a security control baseline to ATT&CK techniques using 9,545 public control-to-technique mappings from six sources and returns four ranked lists (strong, weak, gaps, unaddressed anywhere). For gap analysis, programme prioritisation, board coverage reporting or FAIR Resistance Strength. Invoke after /threat-actor-profiling or /lookup-liberty91 has produced a technique list.

Visão geral

Publicado porLiberty91LTD
Repositóriocti-skills
Nome da habilidadecontrol-coverage-mapping
Estrelas
37
Forks
10
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por Liberty91LTD no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Control Coverage Mapping no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/Liberty91LTD/cti-skills/tree/main/skills/control-coverage-mapping
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Liberty91LTD/cti-skills.git /tmp/cti-skills
mkdir -p .claude/skills
cp -r /tmp/cti-skills/skills/control-coverage-mapping .claude/skills/control-coverage-mapping
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Control Coverage Mapping em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Control Coverage Mapping automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Control Coverage Mapping não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Control Coverage Mapping

Answers one question with evidence instead of opinion: which attacker techniques does this control set actually address, and at what strength?

The usual way to answer it is to put people in a room and negotiate a percentage. This skill replaces that with a join against a public, versioned table that both sides can read and challenge. Where the evidence rates a control's strength, that rating is carried through unchanged. Where it does not, the output says so rather than inventing a number.

When to invoke

  • The user asks what their controls cover, where the gaps are, or how to prioritise security spend
  • The user asks what controls they should have for a given threat, campaign or sector, with no baseline in hand
  • A threat profile has produced a technique list and the next question is "so are we covered?"
  • A FAIR or risk-quantification workflow needs the Resistance Strength input
  • Board or audit reporting needs a defensible coverage statement with citations
  • A vendor claims a product "stops" a technique and you want the public evidence
  • A detection team asks what telemetry to collect for a given threat (--telemetry)

Do NOT invoke for: deciding whether a control is correctly configured in a specific environment (that is a testing question, not a mapping question), or for producing a single vulnerability percentage (see Limits).

Four modes

Be clear which question you are answering, because the inputs and the honest wording differ.

QuestionModeNeeds a baseline?
"What does my current control set cover?"--controls baseline.csvyes
"What controls should I have for this threat?"omit --controlsno
"What do I actually implement?"--mitigationsno
"What do I collect and correlate?"--telemetryno
bash
# COVERAGE — gap assessment against what they actually run
python3 tools/clis/map_controls.py --controls baseline.csv --techniques techs.json

# RECOMMEND — no baseline needed
python3 tools/clis/map_controls.py --techniques T1566,T1190,T1078 --top 15

# ACTIONABLE — ATT&CK mitigations and telemetry, combinable
python3 tools/clis/map_controls.py --techniques techs.json --mitigations --telemetry

Stdlib only, no install, no API key. Bundled data lives in data/attack-control-mapping/.

When "SI-04 System Monitoring" is not a useful answer

It usually is not, and this is a limit of the evidence base rather than of the question. The NIST half of the workbook carries a control id and a control name and nothing else: no control text, no enhancements, no protect/detect/respond split. SI-04 maps to 52 techniques in a real run, so as advice it means "monitor things". There is no field to expand it from, and paraphrasing NIST from memory into a customer deliverable is not sourcing, it is bluffing.

Two modes exist to answer the question properly, both carrying MITRE's own text unchanged:

--mitigations returns ATT&CK M-codes ranked by coverage of the supplied techniques, each with its published definition. On a real 79-technique set: M1047 Audit (19 techniques), M1026 Privileged Account Management (17), M1018 User Account Management (21), M1017 User Training (13). Narrower than a NIST family and each one arrives with a definition the reader can act on.

--telemetry resolves "monitoring" into named log sources and concrete detection logic, ranked by how much of the supplied technique set each covers, down to channel level: WinEventLog:Sysmon EventCode=1, auditd:SYSCALL execve, WinEventLog:Security 4688. Per technique it returns MITRE's detection strategy, e.g. for T1562 Impair Defenses: "unusual service stop events, termination of AV/EDR processes, registry modifications disabling security tools ... correlate process creation with service stop requests and registry edits."

Prefer these two whenever the output has to be acted on. Keep the NIST list for customers who must report in that language, and say plainly that the family label is doing a lot of work.

Both read pre-extracted files in data/attack-control-mapping/, not the full ATT&CK bundle, because mitre-attack/*.json is gitignored and absent on a fresh clone. Regenerate after an ATT&CK refresh with python3 data/attack-control-mapping/build_attack_extract.py.

Do not brief the basic hygiene: the distinctive/baseline split

An analyst does not put "user awareness training" in a threat briefing. It applies to everyone, everywhere, always, so it says nothing about the threat just analysed. But a naive ranking surfaces exactly those controls every time, because breadth is what it ranks on: M1018 User Account Management maps to 20% of every technique MITRE publishes, and SI-04 System Monitoring to most of the NIST-mapped universe. They top any list for any input.

The tool separates them by lift: the share of your techniques a control covers, divided by the share of all ATT&CK techniques it covers.

  • lift ≈ 1.0 — covers your set at the same rate it covers everything → baseline hygiene
  • lift ≥ 1.5 — over-represented in your set → distinctive to this threat

Both --mitigations and recommend mode return *_distinctive, *_baseline and *_low_support. On a real run against 79 techniques trending in US financial services:

DistinctiveBaseline
ATT&CKM1016 Vulnerability Scanning 5.2x, M1050 Exploit Protection 3.6x, M1033 Limit Software Installation 2.6x, M1013 Application Developer Guidance 2.6xM1026 PAM 1.3x, M1038 Execution Prevention 1.0x
NISTSC-29 Heterogeneity 7.3x, SC-30 Concealment and Misdirection 6.5x, RA-10 Threat Hunting 4.2xSI-04 System Monitoring 1.3x, CM-06 Configuration Settings 1.2x

That set was dominated by supply-chain compromise and public-facing exploitation, and the distinctive list names exactly that: application developer guidance, limit software installation, vulnerability scanning, exploit protection. Breadth ranking buried all four under "audit" and "user training".

Three things to say when you present it. Distinctive does not mean more important: baseline controls are usually the ones a customer must have first, they are simply not news and not evidence about this threat. Lift on a small denominator is noisy, which is why --min-support (default 3) holds thin controls back into low_support rather than letting a 1-of-2 control claim 20x. And a technique set of only a handful will put everything in low_support, which is correct rather than broken; the summary says so explicitly, and --min-support 1 overrides it if you accept the noise.

Tune with --lift-threshold (default 1.5): 1.2 is permissive, 3.0 gives only the sharpest signals.

Recommend mode returns two lists, and you must keep them apart

Only the four CTID cloud stacks carry effectiveness scores. Rank everything on strength and you get nothing but Microsoft, Google and AWS products, which is useless to a customer not on those stacks and reads as a product pitch. So the output splits:

  • recommended_scored_capabilities — the four cloud stacks, ranked by how many of the supplied techniques each addresses at significant strength.
  • recommended_control_classes — NIST 800-53 and ATT&CK mitigations, ranked by breadth of relevance only, because no source rates their strength.

The second list is not "weaker controls". It is "controls nobody has scored." Say that when presenting it. In practice it is the more useful list for most customers: a real run against 79 trending techniques put SI-04 System Monitoring at 52 techniques touched and AC-06 Least Privilege at 40, which is a far more actionable answer than a licence recommendation.

The control baseline

A CSV. Three required columns:

ColumnMeaning
control_refyour identifier, e.g. IAM-05
frameworkmust match the evidence base exactly: NIST SP 800-53 rev5, Microsoft 365 security, Microsoft Azure security, AWS security services, Google Cloud security, ATT&CK Mitigations
mapping_keythe control id in that framework, e.g. AC-06, EID-MFA-E3

Optional: control_name, implementation_status, owner, mapping_note. See data/attack-control-mapping/example_control_baseline.csv for a worked 45-control example.

Leave mapping_key empty when a control genuinely does not map. That is a finding to report, not a gap to paper over with the nearest-looking identifier. Forcing a match is the fastest way to make this analysis dishonest, and the output has a dedicated section for controls that do not map.

The two vocabularies the evidence base understands natively are NIST SP 800-53 rev5 and named cloud security capabilities. Getting a customer to express their baseline in one of them is most of the work of this skill.

The four output buckets

Three are the familiar coverage lists. The fourth is the one that gets misreported.

BucketMeaningActionable
significantat least one of their controls is scored significant against the techniqueyes, this is strength
weakreached only at partial, minimal, or coverage-onlyyes, this is where to invest
gapcontrols exist in the evidence base; theirs reach none of themyes, this is the real gap list
no_control_existsno source maps any control, or the only mapping is M1056 Pre-compromiseno

Never merge the fourth into the third. It inflates the gap list with things no control programme could close, which overstates the finding and costs you credibility the moment a competent CISO reads it. M1056 Pre-compromise is ATT&CK's explicit marker for "cannot be mitigated before compromise"; reconnaissance and resource-development techniques behave this way by nature, because the adversary performs them on their own infrastructure.

How to report the result

  • Cite the source and score on every mapped row. The evidence base carries both; a coverage claim without them is an assertion.
  • Never present a vendor score as a control-class score. A significant rating for an Azure capability describes that product, not "network security" generally. If you generalise, say that you did.
  • coverage-only is not partial protection. It means a recognised body asserts the control is relevant and makes no claim about strength. Only the four CTID cloud stacks carry effectiveness scores at all; ATT&CK's own mitigations and the entire NIST 800-53 mapping are relevance assertions.
  • Absence of a mapping is absence of evidence, not evidence of ineffectiveness.
  • Apply /apply-tlp and /confidence-language before the output leaves the building.

Known traps

These are empirical, found by running this against real data. Each one silently corrupts the output if unhandled.

  • Revoked ATT&CK IDs. Some feeds still emit T1081, T1192, T1188, T1488, T1022. They join to nothing, so a stale identifier reads as a security gap, and they fragment counts. The CLI remaps them to MITRE's successors and reports what moved.
  • Whole 800-53 families are missing. CTID's mapping has no PL, AT or IR family. Policy, awareness training and incident response controls therefore score zero here regardless of how good they are. Say so explicitly; do not let it read as a gap.
  • No EDR in the Microsoft 365 sheet. It scores Defender for Office, Identity, Cloud Apps and Entra ID. Defender for Endpoint and ASR rules are absent, so a well-run EDR deployment cannot be credited from that source.
  • The two workbook sheets disagree. Master_Mapping holds rows for 18 technique IDs absent from Technique_Summary, including the entire T1562 Impair Defenses family. Build the technique universe from Master_Mapping; the CLI does. Using the summary sheet misclassifies T1562 as unmapped when 40 mapped rows exist for it.
  • Parent vs sub-technique granularity. Many threat feeds report T1566 Phishing rather than T1566.001. The join works at both levels, but coverage assessed at parent granularity is blunter than the data supports. State it. Do not roll sub-techniques up to force matches.

Limits, state these in any output

  1. It cannot produce a vulnerability percentage. It tells you which behaviour your controls address and how strongly the public evidence rates that. Converting to a probability needs calibration with the customer.
  2. Scores are point-in-time expert judgement, not test results. Breach-and-attack-simulation or purple-team results for the specific environment supersede them.
  3. Version skew. CTID pins to ATT&CK 16.1 while native mitigation data is v19.1, so techniques introduced after 16.1 appear only via native mitigations or not at all. This accounts for most of the 32-technique gap list.
  4. It says nothing about configuration. A mapped, strongly-scored control that is deployed in audit mode protects nothing.
  5. No adversary adaptation. A significant rating says nothing about an attacker pivoting to an unscored sibling sub-technique.

Where this sits in FAIR

This supports Resistance Strength, one half of Vulnerability, under Loss Event Frequency.

Risk
├── Loss Event Frequency
│   ├── Threat Event Frequency        (not from this data)
│   └── Vulnerability
│       ├── Threat Capability          <- /lookup-liberty91, /threat-actor-profiling
│       └── Resistance Strength        <- THIS SKILL + the customer's baseline
└── Loss Magnitude                     (not from this data)

The pairing matters: a technique list without controls tells you what is coming, a control list without techniques tells you what you bought. Joined, they tell you what to do next.

The evidence base

data/attack-control-mapping/ — 9,545 normalized rows across 697 techniques, from six public, versioned sources: MITRE ATT&CK Enterprise v19.1 native mitigations, and CTID Mappings Explorer for NIST SP 800-53 rev5, AWS, Azure, GCP and Microsoft 365. Shipped as JSON so nothing needs Excel; the source workbook is included for provenance.

Verify it reproduces its own published figures before trusting it:

bash
python3 -c "
import json, collections
rows   = json.load(open('data/attack-control-mapping/master_mapping.json'))
active = [t['technique_id'] for t in json.load(open('data/attack-control-mapping/active_techniques.json'))]
by = collections.defaultdict(list)
for r in rows: by[r['technique_id']].append(r)
f = collections.Counter()
for t in active:
    rs = by.get(t, [])
    if   not rs:                                                        f['none'] += 1
    elif any(x['effectiveness']=='significant' for x in rs):            f['significant'] += 1
    elif any(x['effectiveness'] in ('partial','minimal') for x in rs):  f['partial/minimal'] += 1
    else:                                                               f['coverage-only'] += 1
print(len(rows), 'rows |', dict(f))"

Expected: 9545 rows | {'significant': 220, 'partial/minimal': 283, 'coverage-only': 162, 'none': 32}, matching data/attack-control-mapping/METHODOLOGY.md section 5. No score is ever synthesized — that rule must survive any refresh.

Related skills

  • /lookup-liberty91 — supplies the technique list, with per-occurrence notes on how each was used
  • /threat-actor-profiling, /campaign-tracking — technique sets for a named actor or campaign
  • /mitre-attack — the local ATT&CK dataset, for resolving technique names and revocations
  • /threat-assessment, /writing-assessments — turn coverage into a finished product
  • /detection-engineer, /sigma-writing, /kql-writing — the natural follow-on: write detections for the gap list
  • /apply-tlp, /confidence-language — rigor pipeline before dissemination

Perguntas frequentes

O que a habilidade de IA Control Coverage Mapping faz?

Use for "which attacker techniques do our controls stop, and how well?", "what controls should I have for this threat?" or "what telemetry detects it?": joins a security control baseline to ATT&CK techniques using 9,545 public control-to-technique mappings from six sources and returns four ranked lists (strong, weak, gaps, unaddressed anywhere). For gap analysis, programme prioritisation, board coverage reporting or FAIR Resistance Strength. Invoke after /threat-actor-profiling or /lookup-liberty91 has produced a technique list.

Por que usar Control Coverage Mapping no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Control Coverage Mapping é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Control Coverage Mapping no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Liberty91LTD/cti-skills/tree/main/skills/control-coverage-mapping. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Control Coverage Mapping?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Control Coverage Mapping?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Control Coverage Mapping com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Control Coverage Mapping é gratuita?

Sim. A habilidade é publicada no GitHub por Liberty91LTD sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇