Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

app-registration-posture

БесплатноБез исполняемых скриптовНе проверен

Audit Entra ID app registration and service principal security posture. Triggers on keywords like "app registration posture", "service principal permissions"…

SCStelzот SCStelz★ 256 звёзд на GitHub

Об этом скилле

App Registration Security Posture — Instructions

Purpose

This skill audits the security posture of Entra ID App Registrations and Service Principals across your organization, combining Graph API current-state inventory with KQL attack chain detection to create a comprehensive assessment.

App Registrations are a growing persistence and lateral movement vector. Attackers who compromise a user with app ownership can add credentials (secrets/certificates), disconnect from the user session, and authenticate as the service principal — inheriting all the app's permissions. This is the exact pattern documented in the Guardz research and used in the SolarWinds/Solorigate attack.

What this skill covers:

Domain Key Questions Answered Data Source
🔐 Permission Inventory Which apps have dangerous Graph API permissions? How concentrated are critical permissions? Graph API
👤 Owner Risk Which app owners are non-admin users (phishing targets)? Are owners currently risky? Ownerless apps? Graph API + Q1
🔑 Credential Hygiene Stale secrets, multi-credential apps, long-lived credentials, cert+secret anomalies Graph API
🌐 Cross-Tenant Exposure Foreign SPNs authenticating into your tenant with dangerous permissions Q4
⚡ Active Abuse Chains Risky user → app ops, credential add → SPN activation, ownership → credential chains, Graph API lateral movement, permission escalation, multi-app ownership spread, App Governance & OAuth incident cross-reference Q1–Q8

How this differs from existing capabilities:

Existing Resource Coverage Gap This Skill Fills
app_credential_management.md Individual credential/ownership/consent events No cross-table chain correlation
service_principal_scope_drift.md SPN behavioral baseline drift No link to preceding compromise signals
App Governance (Microsoft) Anomalous app behavior, overprivileged apps No correlation with user risk signals or multi-step chains
This skill Graph API posture + KQL chain detection End-to-end: current state → historical abuse → risk scoring

Data sources:

Source Type What It Provides
AuditLogs (ApplicationManagement) KQL Credential adds, ownership changes, consent grants, permission assignments
AADServicePrincipalSignInLogs KQL SPN authentication patterns, cross-tenant sign-ins, credential types
AADUserRiskEvents KQL Identity Protection risk detections for app owners
MicrosoftGraphActivityLogs KQL Graph API calls by SPNs post-credential-add
AlertInfo + AlertEvidence KQL App Governance alerts, OAuth incidents, Attack Disruption events (Q8)
Graph API (/servicePrincipals, /applications) REST Current-state permission grants, app ownership, credential inventory

References:

🔴 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
BLOG_GUARDZ https://guardz.com/blog/abusing-entra-id-app-registrations-for-long-term-persistence/
BLOG_SOLORIGATE https://www.microsoft.com/en-us/security/blog/2020/12/28/using-microsoft-365-defender-to-coordinate-protection-against-solorigate/
DOCS_APP_GOVERNANCE https://learn.microsoft.com/en-us/defender-cloud-apps/app-governance-manage-app-governance
DOCS_GRAPH_PERMS https://learn.microsoft.com/en-us/graph/permissions-reference
DOCS_FIRST_PARTY_APPS `https://learn.microsoft.com/en-us/troubleshoot/entra/entra-id/gover
Полный SKILL.md на GitHub

Установить app-registration-posture в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

svg-widgets.yaml

FAQ

Что делает скилл app-registration-posture?

Audit Entra ID app registration and service principal security posture. Triggers on keywords like "app registration posture", "service principal permissions", "dangerous app permissions", "app ownership", "app credential abuse", "SPN lateral movement", "app consent grant", "overprivileged apps", "cross-tenant SPN", "app registration kill chain", "app persistence", "credential add chain", "Graph API permissions audit". Combines Graph API current-state inventory (dangerous permissions, ownership, credential hygiene) with KQL chain detection (AuditLogs, AADServicePrincipalSignInLogs, AADUserRiskEvents, MicrosoftGraphActivityLogs) for posture assessment covering permission concentration, owner risk, credential hygiene, cross-tenant exposure, and active abuse signals. Includes 5-dimension App Permission Risk Score. Inline chat or markdown output.

Как установить скилл app-registration-posture?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл app-registration-posture запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить app-registration-posture с