The phases and gates method

Follow the access.
Define and manage specific exploit risks.

CounterWeave Audit systematically examines four critical gates in machine identity access: identity, trust and admission, permissions, and resource access. Its seven assessment phases carry the examination of these gates from evidence review through technical evaluation, findings and follow-up.

At each gate, the assessment identifies configuration weaknesses, examines how an attacker could exploit them, and determines which conditions would enable or block that exploitation. It distinguishes what the evidence establishes from what requires further investigation.

The resulting findings connect specific weaknesses and potential consequences to engineering and governance decisions: which risks demand attention, what mitigation is needed, who owns the response and what evidence is required to verify the correction.

Follow a worked example
From configuration to consequence
Configuration evidence A permission exceeds the approved task.
Potential exploit An attacker could use that authority to read other data.
What must also be true?

The actor can use the identity, the data exists, and the other controls permit the request.

Practical decision Restrict the permission. Verify the resulting boundary.
7

Phases The work we perform, in order.

4

Gates The access questions we follow through that work.

A gate is examined across several phases. Evidence is collected, evaluated, explained and revisited when new information arrives.

The assessment workflow

Seven phases.
Each step prepares the next.

The assessment begins with the owner's requirement. It ends with findings that can be explained, decisions that have owners and evidence that can be followed.

  1. Phase 1

    Set the scope

    The operator and owner identify the workload, resource, action and period to examine. They establish the approved task, processing authority and responsibilities.

    The result

    A precise question the assessment must answer.

  2. Phase 2

    Qualify the evidence

    The assessor checks where each record came from, what it describes and when it applies. Intended configuration, installed settings and records of actual use are kept distinct.

    The result

    Usable evidence, with omissions and disagreements identified.

  3. Phase 3

    Plan the checks

    The assessor selects the provider-specific checks and records what each must establish. The plan is saved before the evidence is judged.

    The result

    A reviewable plan tied to the owner's requirements.

  4. Phase 4

    Evaluate the gates

    The assessor examines identity, trust, authority and target access. It connects each supported weakness to possible misuse, including the prerequisites, barriers and remaining unknowns.

    The result

    Findings and evidence gaps, with the exploit potential explained.

  5. Phase 5

    Review the findings

    The assessor reconciles the findings with the original questions. The reviewer checks the reasoning and references, preserving successful operations, permission failures and unanswered questions separately.

    The result

    One reviewed assessment result for consistent reporting.

  6. Phase 6

    Preserve and hand over

    The operator keeps the assessment, evidence references and three reports connected. The handover identifies who owns each next action and what evidence would close it.

    The result

    A traceable record that supports technical and business decisions.

  7. Phase 7

    Close and follow up

    The operator records the stopping point and remaining work. New evidence can reopen affected conclusions. A product defect follows a separate correction and testing process.

    The result

    A controlled continuation that preserves the earlier assessment.

The gates stay in view throughout the phases.

For a permission finding at Gate 3, Phase 2 qualifies the policy record, Phase 4 evaluates the weakness, Phase 5 checks the conclusion and Phase 7 revisits it when correction evidence arrives.

The machine identity access path

Four gates.
Follow the conditions for access.

Each gate organizes a different part of the evidence. The cloud's actual identity rules, policies and resource controls enforce access; the gates explain how those controls work together.

Gate 1 Identity

Which identity is acting?

Connect the selected workload to the exact identity, account or tenant, and credential source.

Evidence to examine
Workload and identity records, credential origin, object identifiers and relevant times.
Connection to potential misuse
If an actor obtains usable credentials for this identity, they may act with its authority. The assessment checks which workload and credential source the records actually identify.
Gate 2 Trust and admission

How can it use that identity?

Examine who can obtain or use the credentials and which trust conditions permit that access.

Evidence to examine
Trust rules, credential registrations, issuance records, allowed workload conditions and timing.
Connection to potential misuse
A trust rule that admits an unintended workload could give that workload a way to obtain the identity's authority. The assessment checks whether the required conditions could be met.
Gate 3 Permissions

What does its authority allow?

Compare granted operations and resource scope with the approved task. Include restrictions and relevant powers to change access.

Evidence to examine
Permission policies, role assignments, limits, applicable conditions and administrative rights.
Connection to potential misuse
Excessive authority can let an actor using the identity attempt access beyond its intended task. A complete access conclusion also needs the other applicable controls.
Gate 4 Resource access

What can it reach?
What do the records show happened?

Examine the target, operation and access route. Connect service events and application records to the selected request.

Evidence to examine
Resource controls, network restrictions, encryption-key controls where relevant, service events and application records.
Connection to potential misuse
A resource or route restriction may block an otherwise permitted request. Records of use establish what happened within their coverage; permission alone does not establish an attack.
See the Microsoft and AWS gate definitions

The questions above are the shared explanation. Each assessment uses its provider's exact gate definitions and applicable evidence.

Microsoft Azure & Entra ID

Gate 1 · M1
Identity and boundary
Gate 2 · M2
Admission and credential issuance
Gate 3 · M3
Granted authority and administrative reach
Gate 4 · M4
Target, route and operation

AWS

Gate 1 · G1
Workload identity and credential origin
Gate 2 · G2
Admission to the role
Gate 3 · G3
Granted authority and restrictions
Gate 4 · G4
Target access and operation

Time applies across all four gates. A current setting does not by itself establish what was in place when an earlier request occurred.

Technical walkthrough · AWS Lambda to DynamoDB

The task succeeds.
The permission is still too broad.

Consider a workload that must read one route's boarding setting. This example follows the development assessment explained in the user manual.

Approved task Read the setting for north-17.

Required boundary The named policy must restrict reads to that route.

Access arrangement A Lambda worker uses an AWS role to request a DynamoDB item.

  1. Gate 1

    Connect the worker to its role.

    The compute and credential records identify the selected worker and the role credentials associated with it.

    Identity established for the selected request
  2. Gate 2

    Explain why the worker could use it.

    The trust rule permits Lambda. The worker and service records connect this request to the role session.

    Admission explained
  3. Gate 3

    Locate the excessive permission.

    The named policy allows the read operation on the table but lacks the required north-17 restriction.

    Confirmed policy weakness
  4. Gate 4

    Separate the observed result from the exposure.

    The service and recovered application records establish that the selected worker received and used the approved setting before its deadline.

    Approved use established
Potential exploit

Cloud identity abuse.
Unauthorized data access.

An actor able to use the role could attempt to read another route's data using its existing authority.

The complete path depends on three conditions.

  1. Use of the role. The actor has a way to act through this identity.
  2. Another target. Another route's item exists in the named table.
  3. Access is permitted. The remaining applicable policies and resource controls allow the read.

The missing policy restriction establishes the configuration finding. It does not establish all three conditions or show that another route's data was accessed.

Successful use and excessive permission can both be true.

The approved operation does not clear the policy weakness. The policy weakness does not, by itself, prove an attack. Keeping both findings explicit gives the owner a sound basis for action.

From finding to practical decision

Name the action.
Define the evidence that closes it.

The report connects the weakness to a responsible owner and a verifiable next step. A proposed correction remains a proposal until evidence shows what changed.

Correct the permission

Restore the approved boundary.

The policy owner decides the response. An authorized engineer restricts the named permission to the approved route and supplies a dated record of the installed setting. The reviewer compares that record with the requirement.

Resolve the wider access question

Examine the remaining controls.

If the owner needs a complete answer about access to other data, collect the other applicable policies, resource controls and relevant activity records. The assessor evaluates that question within the evidence's actual coverage.

New evidence changes the conclusions it supports.

In this example, the recovered application record established the selected worker's use of the correct setting. It did not repair the permission or establish what every other worker had done. Follow-up preserves those distinctions and retains the earlier assessment.

One assessment. Three connected reports.

The same evidence chain carries into every report.

The Detailed Assessment Report preserves the technical reasoning. The Phases and Gates Communication and Decision Report connects the access path, potential exploits and decisions in plain language. The Two-Page Stakeholder Summary presents the priorities with references to that analysis.