Configuring active directory tiered model

From oyi77/1ai-skills · View interactive version

Configuring active directory tiered model is an AI agent skill from the GitHub repository oyi77/1ai-skills. Use when implementing Microsoft's Enhanced Security Admin Environment (ESAE) tiered administration model for Active Directory. Covers Tier 0/1/2 separation, privileged access workstations (PAWs), administrative f

How to use this skill

Skill file

Configuring Active Directory Tiered Model

Overview

Implement Microsoft's Enhanced Security Admin Environment (ESAE) tiered administration model for Active Directory. Covers Tier 0/1/2 separation, privileged access workstations (PAWs), administrative forest design, authentication policy silos, and credential theft mitigation.

When to Use

Trigger phrases:

Prerequisites

Objectives

Security Controls

| Control | NIST 800-53 | Description |

|---------|-------------|-------------|

| Account Management | AC-2 | Lifecycle management |

| Access Enforcement | AC-3 | Policy-based access control |

| Least Privilege | AC-6 | Minimum necessary permissions |

| Audit Logging | AU-3 | Authentication and access events |

| Identification | IA-2 | User and service identification |

Verification

When NOT to Use

Red Flags

Process

# Example: IOC detection
import re

IOC_PATTERNS = {
    "ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",
    "domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",
    "hash_md5": r"\b[a-f0-9]{32}\b",
    "hash_sha256": r"\b[a-f0-9]{64}\b",
}

def extract_iocs(text: str) -> dict:
    return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}
  1. Analyze the task requirements
  2. Apply domain expertise
  3. Verify output quality

Anti-Rationalization Table

| Rationalization | Reality |

|---|---|

| "We are too small to be targeted" | Automated attacks target everyone. Size does not matter. |

| "Security slows us down" | A breach slows you down 100x more. Build security in from the start. |

| "We will fix it after launch" | Vulnerabilities in production are exploited within hours. Fix before deploy. |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.