mcpField
P
performing-privileged-account-access-review

performing-privileged-account-access-review

github.com/mukul975Security35.2k77 installsUpdated 8w ago
Repository

About performing-privileged-account-access-review

A security skill for reviewing whether users still need privileged access across enterprise systems. It provides account review criteria, decision guidance, remediation steps, and reporting for identity governance and compliance work.

Key features

  1. 01Review privileged account access
  2. 02Evaluate justification and least privilege
  3. 03Certify, revoke, or escalate access
  4. 04Remediate accounts and credentials
  5. 05Generate review reports

Use cases

  1. 01Run scheduled privileged access reviews
  2. 02Find stale or ownerless accounts
  3. 03Resolve excessive access and SoD conflicts
  4. 04Prepare compliance audit evidence

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/mukul975/anthropic-cybersecurity-skills --skill performing-privileged-account-access-review

After installing, type/performing-privileged-account-access-reviewin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

LICENSE
assets/
template.md
references/
api-reference.md
standards.md
workflows.md
scripts/
agent.py
process.py

Details

From the project README

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
CategoryExamplesRisk LevelReview Frequency
Domain AdminsEnterprise Admin, Domain Admin, Schema AdminCriticalMonthly
Service AccountsSQL service, backup agents, monitoring agentsHighQuarterly
Cloud IAMAWS root, Azure Global Admin, GCP OwnerCriticalMonthly
Database AdminDBA accounts, sa/sys accountsHighQuarterly
Application AdminApp admin roles, API keys with admin scopeMediumSemi-annually
Emergency/Break-glassFirecall accounts, emergency accessCriticalAfter 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:

ConditionAction
Active user, justified privilegeCertify - maintain access
Active user, excessive privilegeRemediate - reduce to least privilege
Inactive > 90 daysDisable account, notify owner
No owner identifiedDisable account, escalate to security
SoD conflict detectedRemediate - reassign or add compensating controls
Break-glass accountVerify 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

Comments

Markdown supported