<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
---
name: performing-zero-trust-gap-assessment
description: >-
  Assess organizational zero trust maturity gaps against NIST SP 800-207 and CISA Zero Trust Maturity Model frameworks.
domain: cybersecurity
subdomain: zero-trust
tags:
  - gap-assessment
  - maturity-model
  - nist-800-207
  - cisa-ztmm
  - readiness
version: "1.0"
author: defconxt
license: AGPL-3.0
metadata:
  mitre-attack: ["T1595"]
  cwe: ["CWE-693"]
  tools: ["zt-assessment-tool", "nist-csf-mapper", "cisa-ztmm-tool"]
---

# Performing Zero Trust Gap Assessment

## Overview

Assess organizational zero trust maturity gaps against NIST SP 800-207 and CISA Zero Trust Maturity Model frameworks.

## Prerequisites

| Tool / Requirement | Details |
|---|---|
| `zt-assessment-tool` | Security tooling |
| `nist-csf-mapper` | Security tooling |
| `cisa-ztmm-tool` | Security tooling |
| Isolated lab environment for testing | Environment requirement |
| Authorization and signed Rules of Engagement (RoE) | Environment requirement |
| Relevant target samples or systems acquired through authorized channels | Environment requirement |

## Quick Reference

```bash
# Initialize working environment
mkdir -p /tmp/performing-zero-trust-gap-assessment/{output,logs,artifacts}

# Execute primary analysis with zt-assessment-tool
echo "[*] Running Performing Zero Trust Gap Assessment with zt-assessment-tool..."

# Validate results with nist-csf-mapper
echo "[*] Cross-validating with nist-csf-mapper..."

# Generate summary report
cat /tmp/performing-zero-trust-gap-assessment/output/report.json
```

## Workflow

### Step 1: Preparation and Reconnaissance

```bash
# Identify target and gather initial intelligence
file ./target_sample
zt-assessment-tool --version 2>/dev/null || echo "Install zt-assessment-tool"

# Set up working directory
mkdir -p /tmp/performing-zero-trust-gap-assessment/{output,logs,artifacts}
```

### Step 2: Primary Analysis

```bash
# Execute primary analysis with zt-assessment-tool
# Refer to Quick Reference above for detailed commands
echo "[*] Running Performing Zero Trust Gap Assessment with zt-assessment-tool..."

# Log all operations
script -q /tmp/performing-zero-trust-gap-assessment/logs/session.log
```

### Step 3: Deep Investigation

```bash
# Apply nist-csf-mapper for secondary analysis
echo "[*] Deep investigation with nist-csf-mapper..."

# Cross-reference findings
diff /tmp/performing-zero-trust-gap-assessment/output/primary.json /tmp/performing-zero-trust-gap-assessment/output/secondary.json
```

### Step 4: Documentation and Reporting

```bash
# Generate structured findings report
cat <<'EOF' > /tmp/performing-zero-trust-gap-assessment/output/report.json
{
  "technique": "performing-zero-trust-gap-assessment",
  "domain": "zero-trust",
  "tools_used": ["zt-assessment-tool", "nist-csf-mapper"],
  "findings": [],
  "recommendations": []
}
EOF
```

## Detection

```yaml
title: Zero Trust Gap Assessment Detection
id: 4b41b34e-4693-4eff-a6f6-15afe1479a25
status: experimental
description: Detects suspicious activity related to performing zero trust gap assessment techniques in zero trust context
logsource:
  category: authentication
  product: windows
detection:
  selection:
    EventType: authentication
    Status: failure
  condition: selection
level: medium
tags:
  - attack.t1595
  - attack.lateral_movement
falsepositives:
  - Zero trust policy engine evaluating routine access requests
```


**Detection Opportunities**

| Indicator | Source | Detection Logic |
|---|---|---|
| Zero Trust Gap Assessment Detection | windows/authentication | Sigma rule (medium) |
| ATT&CK Coverage | MITRE ATT&CK | T1595 |

## Verification

- [ ] Environment and tools verified and operational
- [ ] Target samples acquired through authorized channels
- [ ] Primary analysis completed with findings documented
- [ ] Secondary validation performed with independent tooling
- [ ] All artifacts preserved in structured output directory
- [ ] Detection opportunities documented for blue team

## References

- [MITRE ATT&CK T1595](https://attack.mitre.org/techniques/T1595) — Related technique
- [zt-assessment-tool Documentation](https://zt-assessment-tool.org/) — Primary tooling
- [nist-csf-mapper Reference](https://nist-csf-mapper.org/) — Secondary tooling
