AGENT SKILL

特权账户访问审查

performing-privileged-account-access-review

对特权账户开展系统性审查,以验证访问权限、识别过度授权或长期闲置的权限,并在 PAM 基础设施中落实最小权限原则。适用于特权访问的合规审计、定期访问再认证,或调查特权授权是否仍然合理。

适用职业安全工程师
License 许可
Apache-2.0
最近更新
2026-08-31
Stars
★ 3.6w
Forks
4.4k

01 前言 Front Matter

name
performing-privileged-account-access-review
tags
[ "pam", "access-review", "privileged-accounts", "least-privilege", "compliance", "audit", "identity-governance" ]
author
mahipal
domain
cybersecurity
license
Apache-2.0
version
1.0
nist_csf
[ "PR.AA-01", "PR.AA-02", "PR.AA-05", "PR.AA-06" ]
subdomain
identity-access-management
description
Conducts systematic reviews of privileged accounts to validate access rights, identify excessive or stale permissions, and enforce least privilege across PAM infrastructure. Use when auditing privileged access for compliance, periodic access recertification, or investigating whether privileged entitlements are still justified.
mitre_attack
[ "T1078", "T1110", "T1556", "T1098" ]

02 资源文件 7

03 SKILL.md 正文

Performing Privileged Account Access Review

Overview

Privileged Account Access Review is a critical identity governance process that validates whether users with elevated permissions still require their access. This review covers domain admins, service accounts, database administrators, cloud IAM roles, and application-level privileged accounts. Regular access reviews are mandated by SOC 2, PCI DSS, HIPAA, and SOX compliance frameworks, typically required quarterly for high-privilege accounts.

When to Use

  • When conducting security assessments that involve performing privileged account access review
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • PAM solution deployed (CyberArk, BeyondTrust, Delinea, or equivalent)
  • Identity governance platform (SailPoint, Saviynt, or equivalent)
  • Complete inventory of privileged accounts across all platforms
  • Defined access review policy with SLAs and escalation procedures
  • Designated reviewers (account owners, managers, security team)

Core Concepts

Privileged Account Categories

Category Examples Risk Level Review Frequency
Domain Admins Enterprise Admin, Domain Admin, Schema Admin Critical Monthly
Service Accounts SQL service, backup agents, monitoring agents High Quarterly
Cloud IAM AWS root, Azure Global Admin, GCP Owner Critical Monthly
Database Admin DBA accounts, sa/sys accounts High Quarterly
Application Admin App admin roles, API keys with admin scope Medium Semi-annually
Emergency/Break-glass Firecall accounts, emergency access Critical After each use

Four-Pillar Review Framework

DISCOVER                    VALIDATE                    REMEDIATE                 MONITOR
    │                           │                           │                       │
    ├─ Enumerate all            ├─ Verify business          ├─ Remove excess        ├─ Continuous
    │  privileged accounts      │  justification            │  privileges           │  monitoring
    │                           │                           │                       │
    ├─ Identify orphaned        ├─ Confirm account          ├─ Disable orphaned     ├─ Anomaly
    │  accounts                 │  ownership                │  accounts             │  detection
    │                           │                           │                       │
    ├─ Map permissions to       ├─ Check compliance         ├─ Enforce password     ├─ Session
    │  business roles           │  with policies            │  rotation             │  recording
    │                           │                           │                       │
    └─ Classify by risk         └─ Review last usage        └─ Implement JIT        └─ Audit
       level                       and activity                access                  logging

Workflow

Step 1: Account Discovery and Inventory

Enumerate all privileged accounts across the environment:

Active Directory:

  • Domain Admins, Enterprise Admins, Schema Admins groups
  • Accounts with AdminCount=1 attribute
  • Service accounts with SPN (Service Principal Names)
  • Accounts with delegation rights (Unconstrained/Constrained)

Cloud Platforms:

  • AWS: IAM users/roles with AdministratorAccess, PowerUserAccess, or iam:* permissions
  • Azure: Global Administrator, Privileged Role Administrator, Security Administrator roles
  • GCP: Owner, Editor roles at organization/project level

Databases:

  • SQL Server: sysadmin, db_owner, securityadmin fixed roles
  • Oracle: DBA, SYSDBA, SYSOPER privileges
  • PostgreSQL: superuser, createrole, createdb attributes

Step 2: Establish Review Criteria

Each privileged account must be evaluated against:

  1. Business Justification: Does the user's current role require this privilege?
  2. Least Privilege: Can the task be performed with lower privileges?
  3. Account Activity: Has the account been active in the last 90 days?
  4. Compliance Status: Does the account meet password policy, MFA requirements?
  5. Separation of Duties: Does the access create SoD conflicts?
  6. Ownership: Is a responsible owner assigned and active?

Step 3: Conduct the Review

For each account, the designated reviewer must:

  1. Review the account details, permissions, and last activity date
  2. Approve (certify) the access if still required with documented justification
  3. Revoke access if no longer needed or the reviewer cannot justify the privilege
  4. Flag for investigation if anomalous activity or policy violations are detected
  5. Escalate if the reviewer cannot make a determination

Decision matrix:

Condition Action
Active user, justified privilege Certify - maintain access
Active user, excessive privilege Remediate - reduce to least privilege
Inactive > 90 days Disable account, notify owner
No owner identified Disable account, escalate to security
SoD conflict detected Remediate - reassign or add compensating controls
Break-glass account Verify last use was authorized, reset credentials

Step 4: Remediation and Enforcement

After reviews are completed:

  • Revoke access for accounts that were not certified within the SLA period
  • Implement automatic revocation for accounts not reviewed within 14 days
  • Rotate credentials for all certified privileged accounts
  • Convert standing privileges to just-in-time (JIT) access where possible
  • Update PAM vault with current account inventory

Step 5: Reporting and Documentation

Generate review reports including:

  • Total accounts reviewed vs. total in scope
  • Certification rate (approved vs. revoked)
  • Average review completion time
  • Overdue reviews and escalations
  • Remediation actions taken
  • Comparison with previous review cycle

Validation Checklist

  • [ ] Complete inventory of all privileged accounts documented
  • [ ] All accounts assigned to a responsible owner/reviewer
  • [ ] Review criteria and decision matrix defined
  • [ ] Reviewers completed certification within SLA (14 days)
  • [ ] Revoked accounts disabled and credentials rotated
  • [ ] Orphaned accounts identified and disabled
  • [ ] Service accounts reviewed for least privilege
  • [ ] Break-glass accounts audited for authorized use only
  • [ ] Review report generated with metrics and trends
  • [ ] Remediation tickets created and tracked to completion
  • [ ] Evidence preserved for compliance audit

References

04 同仓库更多 Skills

mukul975
mukul975/Anthropic-Cybersecurity-Skills

SLSA 构建来源验证

verifying-build-provenance-with-slsa-sigstore

使用 Sigstore 的 cosign(verify、verify-attestation、verify-blob-attestation)和 slsa-verifier(verify-artifact)验证工件签名和 SLSA 来源(provenance),强制校验 keyless OIDC 构建者身份和源仓库是否符合 SLSA Build 级别。适用于 CI/CD 中部署工件前、消费第三方证明时、建立 SLSA Build L3 管道,或在事件响应或准入控制期间确认来源的场景。

安全工程师软件供应链安全
★ 3.6w
mukul975
mukul975/Anthropic-Cybersecurity-Skills

TPM 测量启动验证

validating-tpm-measured-boot-attestation

使用 tpm2-tools 验证 TPM 2.0 测量启动(measured boot)的完整性和远程证明:读取 PCR(tpm2_pcrread)、重放启动事件日志、生成并检查签名报价(tpm2_quote/tpm2_checkquote),以及将机密封印(seal)到 PCR 策略。适用于确认系统已启动可信固件/内核以实现零信任(Zero Trust)设备状态、通过 PCR 漂移检测启动链篡改,或构建黄金值基线用于机群(fleet)证明。

安全工程师终端安全加固
★ 3.6w
mukul975
mukul975/Anthropic-Cybersecurity-Skills

备份完整性验证

validating-backup-integrity-for-recovery

通过加密哈希验证、自动化恢复测试、损坏检测和可恢复性检查来验证备份完整性,确认备份对于灾难恢复和勒索软件响应是可靠的。适用于在依赖备份进行恢复之前、构建备份后验证管道、审计备份基础设施以满足合规要求,或检查不可变/air-gapped(气隙)备份是否存在静默损坏或篡改的场景。

SRE 工程师备份与灾难恢复
★ 3.6w
mukul975
mukul975/Anthropic-Cybersecurity-Skills

KAPE Windows 取证收集

triaging-windows-with-kape

运行 KAPE(Kroll Artifact Parser and Extractor),通过 Targets 收集目标取证工件(注册表配置单元、$MFT、事件日志、prefetch、浏览器数据),并使用封装 Eric Zimmerman 的 EZ Tools(PECmd、MFTECmd、RECmd)的 Modules 进行解析。适用于事件遏制/分诊早期阶段——此时完整磁盘镜像不切实际,但需要快速获得可采信、可解析的 Windows 工件集,包括大规模远程收集。

安全工程师数字取证与电子证据分析
★ 3.6w
mukul975
mukul975/Anthropic-Cybersecurity-Skills

SSVC 漏洞优先级分诊

triaging-vulnerabilities-with-ssvc-framework

使用 CISA 的 Stakeholder-Specific Vulnerability Categorization(SSVC,利益相关方特定漏洞分类)决策树对漏洞进行分诊和优先级排序,权衡利用状态(通过 CISA KEV 目录和 FIRST EPSS API)、技术影响、自动化程度和任务普遍性,输出 Track/Track*/Attend/Act 决策。适用于对漏洞扫描结果(OpenVAS、Nessus、Qualys)进行优先级排序以制定修复计划,而不局限于原始 CVSS 分数的场景。

安全工程师安全公告与漏洞管理
★ 3.6w
mukul975
mukul975/Anthropic-Cybersecurity-Skills

安全事件初步分诊

triaging-security-incident

使用 NIST SP 800-61r3 和 SANS PICERL 框架对安全事件进行初步分诊,分类事件类型、按业务影响分配优先级,并路由到相应的响应团队。适用于 SIEM/EDR 告警需要人工分类、并发告警必须确定优先级,或用户报告或威胁情报 IOC 匹配需要初步事件分类的场景。

安全工程师安全事件响应与威胁狩猎
★ 3.6w