entra-id-protection
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "entra-id-protection":https://skillpi.com/zh/skills/deepskill-7c01658133176b5f8b07c8c9a0414413ed6486c06ff222eac89c54ad45406f79。安装前核对上游来源和版本:https://github.com/vinayaklatthe/microsoft-security-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
Microsoft Entra ID Protection 指南:基于风险的标识安全,用于检测用户与登录风险并自动执行修复。涵盖风险检测、基于风险的条件访问、通过 MFA/安全密码更改实现自助修复、风险用户调查以及将风险流式传输到 Sentinel。适用场景包括用户风险、登录风险、泄露凭据、匿名 IP 检测、异常旅行与自动标识修复等。
介绍来源: third_party · vinayaklatthe · 0.1.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: entra-id-protection
description: "Guidance for Microsoft Entra ID Protection — risk-based identity security that detects user and sign-in risk and automates remediation. Covers risk detections, risk-based Conditional Access, self-remediation via MFA / secure password change, risky-user investigation, and streaming risk to Sentinel. WHEN: Entra ID Protection, identity risk policy, risky users, risky sign-ins, user risk policy, sign-in risk policy, risk-based Conditional Access, leaked credentials, anonymous IP detection, atypical travel, automate identity remediation, alert about leaked credentials, user flagged as risky, force password reset for compromised accounts, block sign-in when identity risk is high, EID P2 risk policy. DO NOT USE for on-prem AD attack detection (use defender-for-identity), CA policy authoring without risk signals (use conditional-access-mfa), or PIM activation (use azure-pim)."
license: MIT
metadata:
author: Microsoft
version: "0.1.0"Microsoft Entra ID Protection
Microsoft Entra ID Protection uses Microsoft's threat intelligence and ML to detect identity risk (user risk and sign-in risk), automate remediation, and surface a queue of risky users and sign-ins for investigation. Requires Entra ID P2 to enable risk policies.
When to use
Adding risk-based, adaptive protection on top of Entra ID and Conditional Access. Use this skill to choose risk thresholds, decide between self-remediation and SOC investigation, and stream signals to Sentinel.
Do not use this skill for on-prem AD attack detection (defender-for-identity), authoring
plain CA policies (conditional-access-mfa), or PIM activation (azure-pim).
Map the risk signal to the response
| Risk type | Examples | Recommended response |
|---|---|---|
| Sign-in risk (this request) | Anonymous IP, atypical travel, malware-linked IP, unfamiliar sign-in properties | Risk-based CA → require MFA |
| User risk (this identity) | Leaked credentials (TI feeds), Microsoft / partner-reported compromise | Risk-based CA → require secure password change |
| Both medium+ on same user | Active session takeover indicators | Block + force secure password change + analyst review |
Rule of thumb: start risk policies at High threshold, run for 30 days, then expand to Medium once user registration and remediation flows are proven. Starting at Medium without SSPR + MFA registration causes lockouts.
Approach
-
Confirm prerequisites — Entra ID P2 licensing, MFA + SSPR registration enforced for the target user scope (registration policy in Authentication methods). Verify:
Authentication methods activityreport shows > 95% of in-scope users registered for at least one strong method. -
Use risk-based Conditional Access, not legacy built-in risk policies — Author CA policies with Sign-in risk and User risk conditions. Legacy "User risk policy" / "Sign-in risk policy" toggles are deprecated in favour of CA. Verify: no legacy risk policies enabled; risk conditions appear in CA What-If results.
-
Tier 1 - High risk only — First policy set: High sign-in risk → require MFA; High user risk → require secure password change. Exclude break-glass accounts from every risk policy. Verify: report-only for 14 days shows < 5 false positives per 1,000 sign-ins before enforcing.
-
Tier 2 - Medium expansion — After 30 days of clean Tier 1 metrics, expand to Medium sign-in risk → MFA. Don't extend user risk to Medium without an analyst review queue.
-
Investigate the queue — Triage Risky users, Risky sign-ins, Risk detections daily. Confirm compromise (forces remediation + trains the model) or dismiss false positives. Never bulk-dismiss without review - dismisses teach the model wrong signal. Verify: weekly risky-user queue < 1% of monthly active users in a healthy tenant.
-
Stream to Sentinel — Diagnostic settings → send
RiskyUsers,UserRiskEvents,RiskyServicePrincipalsto a Log Analytics workspace. Correlate with MDI and MDE in Defender XDR incidents.
Guardrails
- Break-glass accounts excluded from every risk policy. A leaked-credential detection on the wrong account can lock you out of the tenant.
- MFA + SSPR registration first. Self-remediation only works when users can complete it. Without registration, risk policies become lockouts.
- Start at High, expand to Medium. Medium thresholds without tuning generate noise and user friction.
- Don't dismiss bulk false positives. Dismiss = "this was safe" which trains the model. Use confirm-safe / confirm-compromise deliberately, not as a queue cleanup tool.
- Workload identity risk is separate. Service principals have their own risk detections
- cover them with a parallel policy.
Common anti-patterns
- "Use the legacy User risk / Sign-in risk policy toggles" - Deprecated. Use CA risk conditions which support broader controls and exclusions.
- "Risk policy on All users at Medium on day one" - Lockout event. Pilot at High first.
- "Bulk-dismiss the risky user queue weekly to clear noise" - Trains the detector incorrectly and erodes future precision.
- "Risk events stay in Entra portal" - No SOC correlation. Stream to Sentinel and Defender XDR.
Example prompts
Configure risk-based Conditional Access for sign-in risk and user risk in Entra ID Protection.Set up self-remediation - MFA for sign-in risk, secure password change for user risk.Investigate a user flagged as risky and confirm compromise or dismiss safely.Stream Entra ID Protection risk events to Sentinel for SOC correlation.Why are we getting too many medium-risk alerts - how do I tune?
Microsoft Learn
- Overview: https://learn.microsoft.com/entra/id-protection/overview-identity-protection
- Risk policies (deprecation note): https://learn.microsoft.com/entra/id-protection/concept-identity-protection-policies
- Risk-based Conditional Access: https://learn.microsoft.com/entra/id-protection/howto-identity-protection-configure-risk-policies
- Investigate risk: https://learn.microsoft.com/entra/id-protection/howto-identity-protection-investigate-risk
- Risk detections reference: https://learn.microsoft.com/entra/id-protection/concept-identity-protection-risks
- Stream to Sentinel: https://learn.microsoft.com/entra/id-protection/howto-export-risk-data
当前收录版本
0.1.0
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供分阶段实施路径(Tier 1/2)和量化验证指标,显著降低企业落地风险
- 涵盖风险检测、条件访问、自助修复、调查队列和 Sentinel 集成完整闭环
亮点
- 触发词覆盖 16 个核心场景,DO NOT USE 明确排除 3 个易混淆工具,边界清晰
- 支持多种语义变体(如 'risky users' 与 'user flagged as risky')
亮点
- 结构清晰:从场景映射到六步实施法,每步含验证出口条件
- 提供端到端示例 prompts 和官方 Learn 链接,frontmatter 完整
亮点
- 强调 break-glass 账户排除和 MFA/SSPR 注册前提,防止锁死租户
- 不可逆操作强制 report-only 模式验证,覆盖 false positive 处理禁忌
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 3, 29, 66 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- learn.microsoft.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。