identity-posture
БесплатноБез исполняемых скриптовНе проверенAudit identity security posture across the organization. Triggers on keywords like "identity posture", "identity security report", "account hygiene", "stale…
от SCStelz★ 256 звёзд на GitHubОб этом скилле
Identity Security Posture — Instructions
Purpose
This skill audits the identity security posture across your organization using the IdentityAccountInfo table in Microsoft Defender XDR Advanced Hunting, enriched with IdentityInfo and IdentityLogonEvents for password policy and logon activity context.
Modern organizations use multiple identity providers (Entra ID, Active Directory, Okta, SailPoint, CyberArk, Ping, etc.). IdentityAccountInfo is the only table that provides a unified identity graph across these providers, linking accounts to a single IdentityId. This skill systematically evaluates the security posture of that identity fabric.
What this skill covers:
| Domain | Key Questions Answered |
|---|---|
| 🔍 Identity Inventory | How many accounts exist? Across which providers? What types and statuses? |
| 👑 Privileged Account Audit | Who holds high-privilege roles? Across which providers? Are they permanent? |
| 🗑️ Stale & Deleted Account Hygiene | Which enabled accounts have no logon activity? Do deleted accounts retain permissions? |
| 🔑 Password Posture | Password age distribution, PasswordNeverExpires/PasswordNotRequired flags (AD accounts via IdentityInfo join) |
| 🟠 Risk Distribution | How are identity risk levels distributed? Which high-risk accounts are still active? |
| 🔗 Multi-Provider Identity Linking | Which identities span multiple IdPs? Are there status mismatches across providers? |
| 🏷️ Sensitive & Honeytoken Accounts | Which accounts are MDI-tagged? Are sensitive accounts properly protected? |
| 🏢 Organizational Context | Account distribution by department, service account inventory |
Primary data source: IdentityAccountInfo table (Advanced Hunting) — currently in Preview.
Enrichment tables:
IdentityInfo— AddsUserAccountControl(PasswordNeverExpires, PasswordNotRequired),DistinguishedName,RiskLevel,BlastRadius,PrivilegedEntraPimRoles(Preview)IdentityLogonEvents— Last logon timestamps across AD, Entra, Okta, SailPoint, M365 appsSigninLogs— Last Entra ID sign-in for stale account detection (via Data Lake for 90d+ lookback)
References:
- Microsoft Docs — IdentityAccountInfo table
- Microsoft Docs — IdentityInfo table
- MDI Accounts Security Posture Assessments
- MDI Hybrid Security Posture Assessments
- Alex Verboon — AD Password Security Posture Assessment
🔴 URL Registry — Canonical Links for Report Generation
MANDATORY: When generating reports, copy URLs verbatim from this registry. NEVER construct, guess, or paraphrase a URL. If a URL is not in this registry, omit the hyperlink entirely and use plain text.
| Label | Canonical URL |
|---|---|
DOCS_IDENTITYACCOUNTINFO |
https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-identityaccountinfo-table |
DOCS_IDENTITYINFO |
https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-identityinfo-table |
DOCS_MDI_ACCOUNTS |
https://learn.microsoft.com/en-us/defender-for-identity/security-posture-assessments/accounts |
DOCS_MDI_HYBRID |
https://learn.microsoft.com/en-us/defender-for-identity/security-posture-assessments/hybrid-security |
DOCS_MDI_INFRA |
https://learn.microsoft.com/en-us/defender-for-identity/security-posture-assessments/identity-infrastructure |
GITHUB_VERBOON_PWD |
https://github.com/alexverboon/Hunting-Queries-Detection-Rules/blob/main/Defender%20For%20Identity/MDI-Identity-Password%20Security%20Posture%20Assessment.md |
Why Identity Posture Matters
Identity is the new perimeter. Attackers consistently target credentials, stale accounts, and over-privileged identities as the path of least resistance into enterprise environments. Key risks this skill detects:
| Risk | Impact | Skill Detection |
|---|---|---|
| Stale accounts | Dormant accounts with active permissions are prime targets for credential stuffing and lateral movement | Q5 (Stale Account Detection) |
| Deleted accounts with residual permissions | Accounts that are deleted but retain group memberships and role assignments create orphan access | Q6 (Deleted Account Hygiene) |
| Permanent privileged roles | Standing Global Admin / Security Admin roles violate least-privilege and increase blast radius | Q4 (Privileged Account Audit) |
| Password policy gaps | Pass |
Установить identity-posture в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл identity-posture?
Audit identity security posture across the organization. Triggers on keywords like "identity posture", "identity security report", "account hygiene", "stale accounts", "privileged accounts", "password posture", "identity providers", "multi-provider identity", "identity sprawl", "service accounts", "deleted accounts with roles", "cross-IdP", "honeytoken", "sensitive accounts". Queries IdentityAccountInfo in Advanced Hunting (enriched with IdentityInfo and IdentityLogonEvents) for a posture assessment covering account inventory by provider, privileged account audit, stale/deleted account hygiene, password posture, risk distribution, multi-provider identity linking, MDI tag analysis, and department-level insights. Inline chat or markdown output.
Как установить скилл identity-posture?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл identity-posture запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic