Skip to content

vigie assess: from a maturity level to the attack paths it leaves open (0.6.0) - #6

Merged
Bouliw merged 6 commits into
mainfrom
assess
Nov 26, 2026
Merged

Bouliw merged 6 commits into
mainfrom
assess

Conversation

@Bouliw

@Bouliw Bouliw commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

What this adds

vigie assess: from a security maturity level to the attack paths it leaves open. A questionnaire of security controls (CSV, Excel or JSON, or the generic one shipped with Vigie: one control per MITRE mitigation, 86 in ten domains) is mapped to MITRE ATT&CK and ATLAS through their mitigations. Vigie writes an interactive page that works offline:

  • the easiest way through the stages of an attack, ATT&CK and ATLAS, with the technique an attacker would find the easiest at each stage, and where the path is blocked;
  • an exposure index (0 to 100) and the techniques by status: facilitated, no preventive control, partly hindered, hindered, not assessed;
  • the questionnaire itself, rated in the page with everything updating live; import and export in CSV, Excel and JSON, print to PDF;
  • what to raise first: the controls whose raise to level 4 stops the most techniques from being facilitated;
  • with --logs, or from a report in the app, the alerts that hit techniques the maturity leaves open.

vigie assess --demo tries it on a fictitious organization crossed with the sample logs.

Your own questionnaire, in your own words. With --map, or when a file is imported in the page, controls that name no MITRE id get up to three mitigations proposed from their wording, in English or French ("MFA", "bastion", "sauvegardes hors ligne", "garde-fous sur les prompts"). Each proposal says which words it rests on; the page shows them dashed, to remove or edit, and --map writes questionnaire-mapped.csv to check.

Threat profiles. --sector healthcare (14 sectors) or --group APT29,FIN7, or the Threat profile picker in the page, keep the ATT&CK techniques of the groups that target a sector, read from their ATT&CK description, or of the groups named. The chain, the counts and the priorities follow.

Blind spots. The techniques the maturity leaves open that no detection rule covers (Vigie's Sigma rules, or --rules), stage by stage.

Before and after. --baseline last-year.csv, or Compare with in the page: each exposure index before and after, the techniques that became harder or easier to use, the controls whose level changed. The page also prints a one-page summary.

How far the attack got. The report's tactic heatmap becomes a chain of the stages of an attack: the furthest one reached is flagged, each stage shows when it was first seen, and the report says in which order the stages were reached. The Markdown report names the furthest stage too.

In the app. A new Assess tab opens the assessment page, and each report has an "Assess maturity" button that crosses the assessment with its alerts.

Data

  • The ATT&CK extract now keeps each technique's mitigations (mitigates relationships) and how many known groups, campaigns, malware and tools use it (uses relationships, sub-techniques included). It grows from about 300 KB to about 400 KB.
  • The extract also keeps each group (G0016...): its techniques and those of its campaigns, and the sectors its description names. It is now about 450 KB.
  • tools/build_questionnaire.py builds the generic questionnaire from the ATT&CK and ATLAS extracts.
  • src/vigie/assess/data/keywords.json lists the English and French words tied to each mitigation, for the mapping from the wording.

Checks

  • tests/test_assess.py: knowledge base, questionnaires (CSV with French headers, Excel, JSON, errors), engine rules, rendering, command line.
  • The page computes the assessment in the browser: a test runs its script in Node on random answers and checks it gives the same statuses, paths, exposure indexes and priorities as Python.
  • The packaged-app smoke test runs vigie assess --demo and fetches the assessment from the app.
  • tests/test_assess_more.py: profiles, detection, comparison, mapping from the wording, command line; the page and Python agree on all of them, mapping proposals included.
  • ruff check, ruff format --check and the whole test suite pass.

Version 0.6.0, also including the ATLAS context and questions about an alert already on main. No release is made from this branch.

Stack the kill chain vertically on phones with arrows pointing down, hide
the arrow after the last stage of a row, keep the toolbar and domain
headers on one column, and show when each tactic was first seen as a date
under its name. Say that the headline counts cover ATT&CK and ATLAS
together, shorten how common a technique is, and normalize line endings
before the page script is run in the tests, so they pass on Windows.
…parison

vigie assess --map proposes the MITRE mitigations of controls that name
none, from English and French words tied to each mitigation, and writes
them to questionnaire-mapped.csv to check; the page does the same on
import and shows the proposals dashed, to remove or edit. --sector and
--group keep the ATT&CK techniques of the groups that target a sector,
read from their ATT&CK description, or of groups named; the extract now
keeps each group's techniques and sectors. The techniques left open that
no detection rule covers are listed as blind spots, and --baseline (or
Compare with, in the page) shows what changed since a previous
assessment. The page prints a one-page summary for a steering committee.
The same rules run in the page; the tests check both agree.
@Bouliw
Bouliw merged commit 8655ea7 into main Nov 26, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant