> ## Documentation Index
> Fetch the complete documentation index at: https://bloodhound.specterops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Analysis Process

> Understand how the BloodHound Enterprise analysis process works to surface findings and prioritize risk.

![Applies to BloodHound Enterprise only](https://mintcdn.com/specterops/tTIczgde9H07oLXf/assets/enterprise-edition-pill-tag.svg?fit=max\&auto=format\&n=tTIczgde9H07oLXf\&q=85\&s=b682a26b342bde12302ec829e265bdb6)

BloodHound Enterprise's analysis process includes several key steps that work together to surface findings and prioritize risk.

Use this reference to understand when the BloodHound data pipeline runs graph analysis and which conditions cause it to skip an analysis pass.

> [!TIP]
>
> For details about tenant status, job status, and the broader datapipe lifecycle, see [Monitor Data Collection](https://bloodhound.specterops.io/collect-data/enterprise-collection/monitor.md).

## When analysis runs

The data pipeline runs on a repeating loop. On each loop iteration, the pipeline performs the following stages **in order**:

* **Purge**: Process any pending “delete collected graph data” requests.
* **Ingest**: Process uploaded/collected data files.
* **Analyze**: Enhance the graph and run [post-processing](https://bloodhound.specterops.io/analyze-data/findings/analysis.md#post-processing).
* **Optimize**: Perform database-specific optimization tasks.

When the pipeline reaches the Analyze stage, it uses the decision tree below to determine whether analysis runs and which steps it performs.

```mermaid theme={null}
flowchart TD
    A([Datapipe reaches<br/>the Analyze stage]) --> B{Scheduled analysis enabled<br/>and schedule time reached?}

    B -- Yes --> C[Run full analysis]
    B -- No --> D[Start with no analysis steps]

    D --> E{Pending analysis request?}
    E -- Yes --> F[Add requested steps]
    E -- No --> G
    F --> G{Any jobs waiting<br/>for analysis?}

    G -- Yes --> H[Add full analysis steps]
    G -- No --> I
    H --> I{Any steps to run?}

    I -- No --> J([Skip analysis])
    I -- Yes --> K[Run analysis with<br/>the collected steps]

    C --> L[Run analysis operations]
    K --> L

    L --> M{Outcome?}
    M -- Success --> N([Mark jobs complete<br/>record completion time<br/>reset caches])
    M -- Partial failure --> O([Mark jobs partially complete<br/>report error])
    M -- Failure --> P([Mark jobs failed<br/>report error])
```

## What triggers analysis

BloodHound evaluates the following triggers from top to bottom to determine whether analysis runs:

| Trigger | Result |
| - | - |
| **Scheduled analysis** | If recurring scheduled analysis is enabled and its next run time has passed, BloodHound runs a full analysis (All analysis steps are performed.). |
| **Requested analysis** | If a user or system action explicitly requests analysis, BloodHound runs the requested steps (A specific subset of steps attached to an explicit analysis request; may be merged with full steps if jobs are also waiting.). BloodHound also requests analysis after collected graph data is deleted. |
| **Jobs waiting for analysis** | If newly ingested data from ingest jobs or client collection jobs is waiting for analysis, BloodHound runs a full analysis. |

If none of these apply, the pipeline skips analysis for that iteration and moves on.

> [!NOTE]
>
> Scheduled analysis is a SpecterOps-managed feature.

### Trigger behavior

* **Scheduling takes priority:** When scheduled analysis is due, BloodHound runs a full analysis and does not evaluate pending requests or waiting jobs during that Analyze phase.
* **Data deletion requests analysis:** When collected graph data is purged, BloodHound automatically requests a full analysis so the graph is reconciled during the next Analyze phase.
* **Waiting jobs require full analysis:** When ingest or client collection jobs are waiting for analysis, BloodHound runs the full analysis pipeline and updates the associated jobs after analysis completes.
* **Invalid schedules do not run:** If scheduled analysis is enabled but its recurrence rule is empty or invalid, scheduled analysis does not run until the schedule is corrected.

## Full analysis stages

When a trigger requires full analysis, BloodHound runs the analysis-specific stages in the following order:

1. Active Directory post-processing
2. Azure post-processing
3. Tagging
4. Analysis

BloodHound uses the full analysis pipeline for standard, scheduled, and job-driven analysis runs. Requested analysis can run a subset of analysis steps. [Variable Analysis Mode](https://bloodhound.specterops.io/analyze-data/findings/analysis.md#variable-analysis-mode) enables BloodHound Enterprise to skip post-processing for some analysis runs to speed up the process (for example, when updating Privilege Zones).

## Choke point analysis

BloodHound Enterprise generates one choke point (An aggregate view of the graph for a selected environment and privilege zone. It simplifies large volumes of nodes and edges into a compact visualization optimized for readability.) view per environment, such as an Active Directory domain or Azure tenant. The choke point view organizes findings by category and shows the number of exposed principals in each, helping you quickly understand where risk concentrates.

> [!NOTE]
>
> [Exposure and impact](https://bloodhound.specterops.io/analyze-data/findings/graph-view.md#exposure-and-impact) metrics are calculated from this analysis and surfaced with findings.

## Relationships and zone boundaries

Attack Path analysis includes both relationship-driven path analysis and principal-level risky configuration findings.

BloodHound evaluates how abusable relationships connect principals across privilege boundaries and flags principals with configurations that increase risk.

This includes boundaries between Tier Zero and user-defined [Privilege Zones](https://bloodhound.specterops.io/analyze-data/privilege-zones/overview.md). A path that crosses zones can represent a stepping stone into higher-privilege assets, which is why zone-specific findings can differ in severity and priority.

## Post-processing

BloodHound does not rely only on directly collected relationships. During **post-processing**, it derives additional relationships that are relevant to Attack Path analysis. One result is a **composite edge**.

A composite edge is a derived relationship between two nodes that represents a group of underlying relationships condensed into a single, meaningful connection.

BloodHound uses composite edges to simplify understanding of that complexity and surface Attack Paths that are not visible from any single relationship alone. Some attack techniques require a combination of permissions before they can be abused, so BloodHound models those combined conditions as one simplified relationship.

For example, the [DCSync](https://bloodhound.specterops.io/resources/edges/dc-sync.md) edge requires a combination of permissions to create an abusable path. BloodHound models this as a composite edge, which allows it to surface Attack Paths that would otherwise be invisible if analysis relied only on directly collected relationships.

> [accordion] Show post-processed edges
>
> BloodHound creates the following edges during post-processing:
>
> * [`ADCSESC1`](https://bloodhound.specterops.io/resources/edges/adcs-esc1)
> * [`ADCSESC3`](https://bloodhound.specterops.io/resources/edges/adcs-esc3)
> * [`ADCSESC4`](https://bloodhound.specterops.io/resources/edges/adcs-esc4)
> * [`ADCSESC6a`](https://bloodhound.specterops.io/resources/edges/adcs-esc6a)
> * [`ADCSESC6b`](https://bloodhound.specterops.io/resources/edges/adcs-esc6b)
> * [`ADCSESC9a`](https://bloodhound.specterops.io/resources/edges/adcs-esc9a)
> * [`ADCSESC9b`](https://bloodhound.specterops.io/resources/edges/adcs-esc9b)
> * [`ADCSESC10a`](https://bloodhound.specterops.io/resources/edges/adcs-esc10a)
> * [`ADCSESC10b`](https://bloodhound.specterops.io/resources/edges/adcs-esc10b)
> * [`ADCSESC13`](https://bloodhound.specterops.io/resources/edges/adcs-esc13)
> * [`AddMember`](https://bloodhound.specterops.io/resources/edges/add-member)
> * [`AdminTo`](https://bloodhound.specterops.io/resources/edges/admin-to)
> * [`AZAddOwner`](https://bloodhound.specterops.io/resources/edges/az-add-owner)
> * [`AZRoleApprover`](https://bloodhound.specterops.io/resources/edges/az-role-approver)
> * [`CanPSRemote`](https://bloodhound.specterops.io/resources/edges/can-ps-remote)
> * [`CanRDP`](https://bloodhound.specterops.io/resources/edges/can-rdp)
> * [`CoerceAndRelayNTLMToADCS`](https://bloodhound.specterops.io/resources/edges/coerce-and-relay-ntlm-to-adcs)
> * [`CoerceAndRelayNTLMToLDAP`](https://bloodhound.specterops.io/resources/edges/coerce-and-relay-ntlm-to-ldap)
> * [`CoerceAndRelayNTLMToLDAPS`](https://bloodhound.specterops.io/resources/edges/coerce-and-relay-ntlm-to-ldaps)
> * [`CoerceAndRelayNTLMToSMB`](https://bloodhound.specterops.io/resources/edges/coerce-and-relay-ntlm-to-smb)
> * [`DCSync`](https://bloodhound.specterops.io/resources/edges/dc-sync)
> * [`EnrollOnBehalfOf`](https://bloodhound.specterops.io/resources/edges/enroll-on-behalf-of)
> * [`EnterpriseCAFor`](https://bloodhound.specterops.io/resources/edges/enterprise-ca-for)
> * [`ExecuteDCOM`](https://bloodhound.specterops.io/resources/edges/execute-dcom)
> * [`ExtendedByPolicy`](https://bloodhound.specterops.io/resources/edges/extended-by-policy)
> * [`GoldenCert`](https://bloodhound.specterops.io/resources/edges/golden-cert)
> * [`HasTrustKeys`](https://bloodhound.specterops.io/resources/edges/has-trust-keys)
> * [`IssuedSignedBy`](https://bloodhound.specterops.io/resources/edges/issued-signed-by)
> * [`OwnsLimitedRights`](https://bloodhound.specterops.io/resources/edges/owns-limited-rights)
> * [`ProtectAdminGroups`](https://bloodhound.specterops.io/resources/edges/protect-admin-groups)
> * [`SyncLAPSPassword`](https://bloodhound.specterops.io/resources/edges/sync-laps-password)
> * [`SyncedToADUser`](https://bloodhound.specterops.io/resources/edges/synced-to-ad-user)
> * [`SyncedToEntraUser`](https://bloodhound.specterops.io/resources/edges/synced-to-entra-user)
> * [`TrustedForNTAuth`](https://bloodhound.specterops.io/resources/edges/trusted-for-nt-auth)
> * [`WriteOwnerLimitedRights`](https://bloodhound.specterops.io/resources/edges/write-owner-limited-rights)

## Variable Analysis Mode

When updating Privilege Zones, you likely want to see updated object membership and related findings as quickly as possible. **Variable Analysis Mode** can speed up this process. This feature is available under early access and is enabled by default.

**Variable Analysis Mode** skips the post-processing stages of analysis. BloodHound still updates normal analysis completion tracking after these runs, including timestamps and related status information.

> [!NOTE]
>
> This option applies to Privilege Zone-triggered analysis only. Other actions that trigger analysis still run the full pipeline.

## Remediation

After reviewing findings on the **Attack Paths** page, you can:

* **Remediate** to sever the edges that create the risk and improve your environment's security posture.
* **Accept** when risk is known and temporarily tolerated.

For acceptance workflow steps, see [Risk Acceptance](https://bloodhound.specterops.io/analyze-data/findings/risk-acceptance.md).

To track remediation progress over time, see [Posture](https://bloodhound.specterops.io/analyze-data/findings/posture.md).
