<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
---
name: implementing-zero-trust-data-classification
description: >-
  Implement automated data classification and labeling as a foundation for zero trust data protection policies.
domain: cybersecurity
subdomain: zero-trust
tags:
  - data-classification
  - labeling
  - data-protection
  - sensitivity-levels
  - automated-tagging
version: "1.0"
author: defconxt
license: AGPL-3.0
metadata:
  mitre-attack: ["T1530"]
  cwe: ["CWE-693"]
  tools: ["microsoft-purview", "google-dlp", "aws-macie"]
---

# Implementing Zero Trust Data Classification

## Overview

Implement automated data classification and labeling as a foundation for zero trust data protection policies.

## Prerequisites

| Tool / Requirement | Details |
|---|---|
| `microsoft-purview` | Security tooling |
| `google-dlp` | Security tooling |
| `aws-macie` | 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/implementing-zero-trust-data-classification/{output,logs,artifacts}

# Execute primary analysis with microsoft-purview
echo "[*] Running Implementing Zero Trust Data Classification with microsoft-purview..."

# Validate results with google-dlp
echo "[*] Cross-validating with google-dlp..."

# Generate summary report
cat /tmp/implementing-zero-trust-data-classification/output/report.json
```

## Workflow

### Step 1: Preparation and Reconnaissance

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

# Set up working directory
mkdir -p /tmp/implementing-zero-trust-data-classification/{output,logs,artifacts}
```

### Step 2: Primary Analysis

```bash
# Execute primary analysis with microsoft-purview
# Refer to Quick Reference above for detailed commands
echo "[*] Running Implementing Zero Trust Data Classification with microsoft-purview..."

# Log all operations
script -q /tmp/implementing-zero-trust-data-classification/logs/session.log
```

### Step 3: Deep Investigation

```bash
# Apply google-dlp for secondary analysis
echo "[*] Deep investigation with google-dlp..."

# Cross-reference findings
diff /tmp/implementing-zero-trust-data-classification/output/primary.json /tmp/implementing-zero-trust-data-classification/output/secondary.json
```

### Step 4: Documentation and Reporting

```bash
# Generate structured findings report
cat <<'EOF' > /tmp/implementing-zero-trust-data-classification/output/report.json
{
  "technique": "implementing-zero-trust-data-classification",
  "domain": "zero-trust",
  "tools_used": ["microsoft-purview", "google-dlp"],
  "findings": [],
  "recommendations": []
}
EOF
```

## Detection

```yaml
title: Zero Trust Data Classification Detection
id: 06f7e3ec-a1f1-47f5-8d40-bdc3980e096e
status: experimental
description: Detects suspicious activity related to implementing zero trust data classification techniques in zero trust context
logsource:
  category: authentication
  product: windows
detection:
  selection:
    EventType: authentication
    Status: failure
  condition: selection
level: medium
tags:
  - attack.t1530
  - attack.lateral_movement
falsepositives:
  - Zero trust policy engine evaluating routine access requests
```


**Detection Opportunities**

| Indicator | Source | Detection Logic |
|---|---|---|
| Zero Trust Data Classification Detection | windows/authentication | Sigma rule (medium) |
| ATT&CK Coverage | MITRE ATT&CK | T1530 |

## 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 T1530](https://attack.mitre.org/techniques/T1530) — Related technique
- [microsoft-purview Documentation](https://microsoft-purview.org/) — Primary tooling
- [google-dlp Reference](https://google-dlp.org/) — Secondary tooling
