Skip to content
On this page

Hidden Edges: Getting Started

A threat model shows the flows its authors declared. An attacker is not limited to them: a credential found on one host may open another, and a remote service may answer from a place no flow names. A hidden edge is such a path: an attack path between two of the model's components that no declared flow shows. The platform's hidden-edges module infers candidate edges from the model's findings and structure.

The Hidden edges workspace lists a model's candidate edges in the browser. Each one is checked against the model, told as a short story of how the attacker moves, and shown with the findings it rests on, what would remove it, and its place on the model map. You can add an edge to the model as a flow, or reject it. Later, the workspace checks your decisions again, and you can take an accepted edge back or restore a rejected one.

This page explains what a candidate edge is, what you need, and how to open the workspace. The other pages of this part:

What a candidate edge is

Each candidate is one proposed path, from a source component (the starting point) to a target component, of one of four kinds:

KindThe path
Credential captureAn attacker positioned at the source captures a credential a flow carries and uses it at that flow's responder.
Credential reuseA credential the source holds is accepted by the target.
Host escapeAn attacker in a container breaks out to its host and reaches what runs there outside the container.
Remote serviceAn attacker who holds the source reaches a remote service on the target.

A candidate also carries:

  • Its evidence, High, Medium or Low: how firmly the model supports the path (see How evidence works).
  • The findings it rests on: the model's findings (exposures) that make the path possible. Every candidate cites at least one.
  • One or more ways in: the rules that produced it. The first is told on the edge's detail as steps and as a story; the others are listed as Other ways in.
  • What removes it: the changes to the model that would remove the edge, or lower its evidence.
  • A path technique: the ATT&CK technique the path uses.

A candidate is not part of the model until someone adds it. The model holds an edge as a data flow between its two ends, of the kind's hidden-edge class (for example Hidden Edge: Credential Reuse). Dethereal, the AI modelling companion, works on the same candidates from your AI coding agent; see Reviewing Hidden Edges.

What you can do here

  • Accept an edge. The workspace adds it to the model as a flow of its hidden-edge class, after a confirmation that says exactly what it will write. Accepting never confirms a finding unless you tick it. See Accepting an edge.
  • Decide the finding an edge rests on, as a live risk, without leaving the workspace. See Deciding a finding.
  • Reject an edge, one or many at once, with an optional note, and restore it later. See Rejecting and restoring an edge.
  • Accept many edges you ticked, in one run that confirms no finding. See Accepting many edges.
  • Take an accepted edge back. The workspace records why, then deletes its flow. See Taking an edge back.
  • See whether your decisions still hold. After each read, the workspace asks the hidden-edges module about every accepted and rejected edge again. See Checking Your Decisions.

However an edge is added, in this workspace, by Dethereal or in the model editor, once the model holds it the workspace lists it under Accepted.

Before you start

  • The Review module on your platform. It is a paid module. If you do not see Hidden edges under New Analysis, contact your administrator.
  • The hidden-edges module, version 0.2.0 or later. The candidates come from the platform's hidden-edges module. Without it, the workspace says The hidden-edges module is not installed on this platform, so there are no candidate edges to review. With an older version, it names the version you have and says this review needs 0.2.0 (the next platform release). Accepted and Rejected still work. To decide is then empty, but you can still take back and restore edges, without the recheck.
  • Findings already raised. Every candidate rests on the model's findings, so run the platform's analysis of the model first. Findings marked Not applicable or False positive never lead to a candidate.
  • Decided findings help. A candidate that rests only on findings no one has confirmed is never above Medium. Deciding the findings in the Triage workspace, or with Decide this finding… here, gives firmer evidence.

Create and open a Hidden edges workspace

  1. Open the model and click Analyses, the sparkle icon in the toolbar.
  2. Click + New Analysis and choose Hidden edges. A Hidden edges row appears in the list.
  3. Click View results on the row. There is nothing to run: the workspace reads the model and asks the hidden-edges module for its candidates when it opens.

The workspace shows Loading the model and its candidate edges…, then:

  • The top line: Hidden edges and the model's name, the counts (see The top line), How evidence works, and Reload, which reads the model and the candidates again.
  • The tabs: To decide, Accepted and Rejected, each with its count. The left and right arrow keys move between them.
  • The controls, on To decide: Group by, Evidence, Highest score among cited findings, and the search box End name or kind.
  • Three panes: the groups; the edges of the selected group, with the bar for ticked edges at its foot; and the detail of the edge you select. On a narrow screen the groups pane becomes a list above the edges.

One Hidden edges analysis serves the whole model, and you can keep it and come back to it. It works on its own model only: to see another model's candidates, create a Hidden edges analysis on that model.

Narrowing the list

  • Evidence shows one level: High, Medium or Low, or All.
  • Highest score among cited findings shows only the edges whose highest cited score meets the threshold you pick: 9.0 or higher, 7.0 or higher or 4.0 or higher. A finding marked Not applicable, False positive or Superseded does not count. An edge with no live cited score is shown only under All scores, the default.
  • End name or kind shows only the edges where either end's name, or the kind, contains what you type, in any letter case. Press Esc to clear it.

When nothing is left, the workspace says No candidate edge matches the score and search. Changing the group, grouping, evidence, score or search clears any ticks, and says Ticks cleared.

With the keyboard, the groups list and the edges list are one tab stop each. Tab into a list, then move through it with the arrow keys; the group or edge you move to is selected. In the edges list, x ticks the edge you are on. With a screen reader, a ticked row is read as ticked, each Restore and Take back… button names its edge, the forms take the focus when they open and give it back when you cancel, and the end of a recheck is announced.

Which candidates are shown

Before it shows a candidate, the workspace checks that it fits this model: its two ends are components of the model, and the findings it cites are the model's own. A candidate that does not fit is left out, and the workspace says how many: 2 candidates left out: they do not match this model.

Some edges are not listed under To decide, on purpose:

  • An edge already in the model. When a flow between the two ends carries the candidate's kind, the model holds the edge, however it was added. It is counted on the top line and listed under Accepted.
  • A rejected edge. An edge rejected on this analysis, or taken back while it still held, is not asked for again. It is listed under Rejected.

An edge you took back after it stopped holding is not kept out. If its grounds return, the module proposes it again, and its row says Came back after being taken back.

The top line

When the hidden-edges module answered, the top line counts the candidates, for example:

12 candidates · 3 already in the model as flows · 1 with an empty flow on the pair · 2 proposals no longer proposed · 5 AI analyst proposals (1 on changed facts)

CountWhat it is
candidatesThe candidate edges listed under To decide, after the checks
already in the model as flowsEdges the model already holds as a flow of their kind
with an empty flow on the pairListed candidates whose two ends already have a flow of their class with no attributes filled in: left by an accept that stopped partway, or an empty flow of that class drawn in the model editor
proposals no longer proposedProposals published to this analysis for edges the module no longer proposes, for example after the model changed. They are not listed
AI analyst proposalsListed candidates with an AI analyst's proposal (see The AI analyst's proposal). (1 on changed facts) appears only when some rest on changed facts

A count of zero is left out, except the candidates. When the hidden-edges module did not answer, or refused, the counts are not shown, and a message under To decide says why (see Hidden Edges Messages).

When the module could not list every candidate, an amber line says so under the tabs, for example: The list is incomplete: Remote service 50 listed, 23 not. The module lists at most 50 edges of a kind (200 in all). Decide some, then Reload, to see the rest. See Limits.

How evidence works

Click How evidence works on the top line to open its notes. They say:

  • Evidence is what the model states, not a test of the attack.
  • High needs a confirmed finding and every condition of the path stated in the model.
  • Medium: the finding is confirmed or the conditions are stated, not both; a pending finding keeps an edge at Medium at most. Low: neither, or a fact against the path lowered it.
  • Some rules never reach High, some are Low only, and High is out of reach on a pair to which no condition applies.
  • One line says whether the knowledge graph answered for this model, for example The knowledge graph answered for this model: where it holds a rule against a path, it lowers the edge one step. When it did not answer, the line says why, and that the evidence is the model's alone. The knowledge graph never raises an edge.
  • "Other paths may remain": the module walks a limited number of starting points per kind. Past that, a change that removes the paths it walked may leave others.
  • A recheck weighs the model's facts only; a one-step rise may be the knowledge graph's and is not shown as a change. The recheck is what the Accepted and Rejected tabs show (see Checking Your Decisions). Because it leaves the knowledge graph out, an edge the knowledge graph lowered at your decision can read one step higher now with nothing changed, so the workspace reports a change only when the evidence fell, or rose by two steps.
  • People are shown by their sign-in id.

Next

Back to top

Type to search every guide. Put a phrase in quotes to match it exactly, such as an error message. Use ↑ ↓ to move and Enter to open.

Guides