TARAflow
App / 05

Threats

TARAflow generates STRIDE threats automatically from your DFD. Every threat is linked to the element or interaction it originates from, to the asset it endangers, and to the mitigations and verifications that address it.

01

Generation Methods

Per Element

Element-level threats

One threat per STRIDE category per DFD element. Focuses on internal vulnerabilities: what can go wrong inside this component.

Per Interaction

Communication threats

Threats from sender and receiver perspective on each DataFlow. Focuses on communication risks: spoofing, tampering, eavesdropping on the channel. Physical boundaries and interfaces have no flows of their own — in both methods their threats come from the element templates made for them.

Manual

Custom threats

Add threats that the generator cannot derive from the model — scenario-specific, compliance-driven, or expert knowledge.

Choosing a method: Per-element is efficient and well-suited for standard systems. Per-interaction gives better coverage for communication-heavy architectures (fieldbus, REST APIs, embedded buses). Both methods can be used in the same project — they populate separate tables. In ISO/SAE 21434 projects only per element runs; the risk is carried by the attack paths of the attack trees.

02

STRIDE Categories

CategoryThreat typeTypical elementExample
S — SpoofingIdentity impersonationExternalEntity, Process, InterfaceRogue device claiming PLC address on fieldbus
T — TamperingData or code modificationDataFlow, DataStore, ChipBoundaryModified Modbus setpoint injected on OT network
R — RepudiationDenying an actionProcess, DataStore, InterfaceEmbedded controller denies having sent a command
I — Info DisclosureUnauthorized data exposureDataStore, DataFlow, ChipBoundaryFirmware extracted via unlocked JTAG interface
D — Denial of ServiceAvailability disruptionProcess, DataFlow, InterfaceFieldbus flooded, safety controller misses heartbeat
E — Elevation of PrivilegeUnauthorized access gainProcess, ChipBoundary, InterfaceAttacker connects JTAG probe, reads crypto keys from RAM
03

Review Workflow

1

Generate

Click "Generate Threats" to run the generator for all DFD elements. TARAflow creates one threat per applicable STRIDE category per element, filtered by element type, technology, and protocol properties — and only for categories that violate an active security goal of the linked assets.

2

Review & Prioritize

Each generated threat has a description, cause, attack scenario, and proposed mitigations pre-filled from the catalog. Rate each threat relevant, not relevant or uncertain — the ⓘ next to its element or flow shows what the DFD knows about it (properties, boundaries, flows, linked assets) without switching tabs. Only relevant and not relevant count as rated; uncertain keeps the phase open. In ISO/SAE 21434 projects the relevance follows the asset relation unless you override it. A threat is open, then reviewed, and closed once its treatment is decided in the Risk tab.

3

Link Assets

Threats are automatically linked to the assets on the source DFD element. Verify the asset links and adjust if needed — asset CIANAAA goals determine which STRIDE categories were generated.

4

Assign Mitigations

Each threat comes with catalog mitigations pre-proposed. Mitigations already reflected in DFD element properties are marked as already implemented. Add, remove, or replace mitigations as needed.

5

Sync after DFD changes

When the DFD changes — new elements, renamed components, moved boundaries — TARAflow detects which threats are orphaned or missing and offers a one-click sync. Manual threat assignments are preserved. Before regenerating, a reconciliation lists new, unchanged, changed and obsolete threats; a threat whose references changed keeps its rating and is flagged for review. When generation rules or security goals change, threats the current rules no longer produce are listed for review — keep (marked as retained) or remove; nothing is dropped silently.

04

Findings and Imported Threats

  • A findings panel lists every threat that is not decided, has no description, lost its element or is to review — a click opens exactly that threat
  • A dot on a STRIDE method shows when its threats no longer match the DFD (orange) or a regeneration would change them (blue)
  • Threats of an imported component appear in their own section, read-only — the component TARA decides text, STRIDE and relevance; on a flow across the component's boundary you can override the relevance for this machine, with a rationale (Component TARAs)
  • Each generation records the version of the threat catalogue per method; a newer catalogue is named in the Threats tab, with the regeneration and its preview one click away
  • Threats the current rules no longer produce are listed with their text — keep or remove
  • EN 50742: a threat dismissed as not relevant on a relevant interface needs a note — without one it is listed as a warning
  • Deleting a threat asks first and says what goes with it
  • Flows between two external entities are out of scope; a regeneration lists existing threats on such flows as obsolete
05

Leveled DFDs

  • Threat tables are grouped per decomposed multiprocess, with a summary per group; everything else is "Top level"
  • A flow between two multiprocesses belongs to the side it attacks
  • Filter by page and by analysis state
  • A banner lists the flows analysed on a parent level — their threats are provisional until the flow is drawn on the child page
06

Domain Coverage

The threat catalog is organized by domain. TARAflow selects templates based on element type, technology, protocol, and system class — you see threats relevant to your system, not a generic flat list.

General
Process, DataStore, DataFlow, ExternalEntity — baseline STRIDE for any system.
Embedded / OT
Fieldbus protocols (Modbus, CAN, Profibus), bootloaders, RTOS tasks, firmware tampering.
Cloud
API boundaries, service-to-service, JWT/token threats, cloud-specific DoS.
Mobile
App binary tampering, repackaging, client-side storage threats.
Physical
ChipBoundary (JTAG, side-channel, Secure Boot), PhysicalBoundary (tamper, depot attacks).
Gap
Property-triggered threats: missing fail-safe state, no backup, unsigned firmware update. A condition on a missing or weak control also matches while the property is not set yet — an unfinished model never looks safer than a complete one.
07

Project Mitigations & Closed Loop

  • Write your own mitigations once (M-C-nnn) — text, STRIDE category, optional attack vectors and the DFD properties they set — and use them on any threat or risk like a catalog entry
  • Project mitigations are kept on regeneration, can be merged and are checked by the closed loop; free-text mitigations are no longer offered, existing ones can be converted
  • The DFD notification panel separates planned mitigations (information) from mitigations marked done that the DFD contradicts (warning / conflict) — in the Smoke Detector example 1 notification instead of 81
  • Apply is offered only for a mitigation that is done, and can restore a value that was changed back
  • Project mitigations say which IEC 62443-4-2 requirements they implement — the Compliance tab counts them
08

Controls by Attack Vector

  • Attack-path risks get the catalog controls that fit the path's attack vector first (network / adjacent / local / physical), then vector-independent ones — a physical-access path is no longer offered rate limiting
  • The project context gates the proposals: in-vehicle controls only in the Automotive domain, embedded-only controls only on an embedded platform; without a vector the proposals are as before
  • 20 additional controls with verifications — firewall default deny, egress filtering, RBAC / ABAC, SELinux / AppArmor, seccomp, read-only verified root file system, SecOC, CAN IDS, authenticated diagnostics, signed OTA with anti-rollback, SBOM-based patch management and more