Implementing Privileged Access Management with CyberArk
Overview
Deploy CyberArk Privileged Access Management to discover, vault, rotate, and monitor privileged credentials across enterprise infrastructure. This skill covers vault architecture, session isolation, credential rotation policies, and integration with NIST 800-53 access control requirements.
When to Use
- When deploying or configuring implementing privileged access management with cyberark capabilities in your environment
- When establishing security controls aligned to compliance requirements
- When building or improving security architecture for this domain
- When conducting security assessments that require this implementation
Common Misconfigurations & Verification
CyberArk gives strong audit only if every privileged path goes through the vault and PSM — these silently undermine it:
- PSM bypass via direct connection: accounts are vaulted but admins still RDP/SSH straight to targets using the same credentials, so no session recording occurs. Verify targets accept connections only from PSM server IPs (host firewall / jump-host enforcement), then attempt a direct connect — it must fail. Cross-check that every
Retrieve audit event correlates to a PSM session; retrievals with no session indicate copy-paste of the password.
- CPM rotation not actually running: a platform is assigned but rotation/verification is failing silently (no reconciliation account, network block). Confirm via PVWA/REST that each account shows recent
Last Successful Change and Last Successful Verification, not just "managed = true," and triage the CPM Failed queue.
- Reconciliation account missing: after a rotation drift the account locks out and admins fall back to a known break-glass password. Confirm a reconcile account is set per platform.
- Dual control / exclusive / one-time password set only on some Safes: audit Master Policy exceptions and confirm Tier-0 Safes enforce dual control and one-time passwords, not just the defaults.
- Break-glass / vault-unavailable procedure unmonitored: confirm the emergency credential is itself vaulted or sealed, and that any use raises a PTA/SIEM alert.
- Audit events not in SIEM: verify CyberArk forwards CEF/Syslog and that PTA alerts (credential theft, unmanaged privileged account use) are firing, not just enabled.
Prerequisites
- Familiarity with identity access management concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
Objectives
- Design CyberArk vault architecture with high availability
- Implement automated privileged credential discovery and onboarding
- Configure credential rotation policies for different account types
- Deploy Privileged Session Manager (PSM) for session isolation and recording
- Integrate CyberArk with SIEM for privileged access monitoring
- Implement just-in-time (JIT) privileged access workflows
Key Concepts
CyberArk Architecture Components
- Digital Vault: Encrypted credential storage with FIPS 140-2 validated encryption
- Central Policy Manager (CPM): Automated password rotation and verification
- Privileged Session Manager (PSM): Session isolation, recording, and keystroke logging
- Password Vault Web Access (PVWA): Web interface for credential management
- Privileged Threat Analytics (PTA): Behavioral analytics for privileged accounts
- Conjur Secrets Manager: Application identity and secrets management
Vault Security Model
- Master Policy: Global security settings (dual control, exclusive access, one-time passwords)
- Safes: Logical containers for credentials with granular permissions
- Platforms: Configuration profiles defining rotation, verification, and reconciliation
- Account Groups: Link accounts sharing rotation dependencies
Credential Lifecycle
- Discovery: Scan infrastructure for privileged accounts
- Onboarding: Import accounts into vault with platform assignment
- Rotation: Automated password changes per policy schedule
- Verification: Periodic validation that vaulted credentials work
- Reconciliation: Re-sync credentials when vault and target are out of sync
- Decommissioning: Remove accounts no longer needed
Workflow
Step 1: Vault Architecture Design
- Deploy primary vault server in secured network segment
- Configure vault high availability with DR vault
- Harden vault server OS (remove unnecessary services, disable RDP)
- Configure firewall rules (only port 1858 from authorized components)
- Set up vault backup with encryption
Step 2: Safe and Policy Configuration
- Create safe hierarchy aligned with business units
- Define safe members with least-privilege roles:
- Safe Admins: manage safe membership
- Credential Managers: add/modify accounts
- Auditors: view audit logs only
- Users: retrieve/use credentials
- Configure Master Policy settings:
- Require dual control for credential retrieval
- Enable exclusive access (one user per credential at a time)
- Set one-time password mode for sensitive accounts
Step 3: Platform Configuration
- Windows Domain Admin: Rotate every 24 hours, verify every 4 hours
- Linux Root: Rotate every 72 hours with SSH key rotation
- Database Admin (Oracle, SQL Server): Rotate every 24 hours
- Network Devices: Rotate every 7 days
- Service Accounts: Rotate on schedule with dependency management
- Cloud IAM Keys: Rotate every 90 days with dual-key strategy
Step 4: Privileged Session Management
- Deploy PSM servers behind load balancer
- Configure session recording (video, keystroke, command logs)
- Set up session isolation (users connect through PSM, never directly)
- Define connection components for RDP, SSH, databases, web apps
- Configure live session monitoring and termination capabilities
- Set session recording retention (minimum 1 year for compliance)
Step 5: Integration and Monitoring
- Forward CyberArk audit logs to SIEM (CEF/Syslog format)
- Configure PTA for behavioral analytics:
- Detect credential theft indicators
- Alert on suspicious privileged session activity
- Monitor unmanaged privileged account usage
- Integrate with ticketing system for access request workflows
- Set up alerts for failed rotation, verification failures, policy violations
Security Controls
| Control |
NIST 800-53 |
Description |
| Privileged Access |
AC-6(7) |
Privileged account controls |
| Credential Management |
IA-5 |
Automated credential rotation |
| Session Recording |
AU-14 |
Session audit capability |
| Access Enforcement |
AC-3 |
Vault-enforced access policies |
| Separation of Duties |
AC-5 |
Dual control for sensitive operations |
Common Pitfalls
- Not configuring reconciliation accounts leading to lockouts after rotation
- Setting rotation schedules too aggressive for service accounts with dependencies
- Failing to test PSM connection components before production deployment
- Not establishing break-glass procedures for vault unavailability
- Overlooking network device credential management
Verification
1---2name: implementing-privileged-access-management-with-cyberark3description: Deploy CyberArk Privileged Access Management to discover, vault, rotate, and monitor privileged credentials across enterprise infrastructure. This skill covers vault architecture, session isolation, c4license: Apache-2.05---6# Implementing Privileged Access Management with CyberArk78## Overview9Deploy CyberArk Privileged Access Management to discover, vault, rotate, and monitor privileged credentials across enterprise infrastructure. This skill covers vault architecture, session isolation, credential rotation policies, and integration with NIST 800-53 access control requirements.101112## When to Use1314- When deploying or configuring implementing privileged access management with cyberark capabilities in your environment15- When establishing security controls aligned to compliance requirements16- When building or improving security architecture for this domain17- When conducting security assessments that require this implementation1819## Common Misconfigurations & Verification2021CyberArk gives strong audit only if every privileged path goes through the vault and PSM — these silently undermine it:2223- **PSM bypass via direct connection:** accounts are vaulted but admins still RDP/SSH straight to targets using the same credentials, so no session recording occurs. Verify targets accept connections only from PSM server IPs (host firewall / jump-host enforcement), then attempt a direct connect — it must fail. Cross-check that every `Retrieve` audit event correlates to a PSM session; retrievals with no session indicate copy-paste of the password.24- **CPM rotation not actually running:** a platform is assigned but rotation/verification is failing silently (no reconciliation account, network block). Confirm via PVWA/REST that each account shows recent `Last Successful Change` and `Last Successful Verification`, not just "managed = true," and triage the CPM `Failed` queue.25- **Reconciliation account missing:** after a rotation drift the account locks out and admins fall back to a known break-glass password. Confirm a reconcile account is set per platform.26- **Dual control / exclusive / one-time password set only on some Safes:** audit Master Policy exceptions and confirm Tier-0 Safes enforce dual control and one-time passwords, not just the defaults.27- **Break-glass / vault-unavailable procedure unmonitored:** confirm the emergency credential is itself vaulted or sealed, and that any use raises a PTA/SIEM alert.28- **Audit events not in SIEM:** verify CyberArk forwards CEF/Syslog and that PTA alerts (credential theft, unmanaged privileged account use) are firing, not just enabled.2930## Prerequisites3132- Familiarity with identity access management concepts and tools33- Access to a test or lab environment for safe execution34- Python 3.8+ with required dependencies installed35- Appropriate authorization for any testing activities3637## Objectives38- Design CyberArk vault architecture with high availability39- Implement automated privileged credential discovery and onboarding40- Configure credential rotation policies for different account types41- Deploy Privileged Session Manager (PSM) for session isolation and recording42- Integrate CyberArk with SIEM for privileged access monitoring43- Implement just-in-time (JIT) privileged access workflows4445## Key Concepts4647### CyberArk Architecture Components481. **Digital Vault**: Encrypted credential storage with FIPS 140-2 validated encryption492. **Central Policy Manager (CPM)**: Automated password rotation and verification503. **Privileged Session Manager (PSM)**: Session isolation, recording, and keystroke logging514. **Password Vault Web Access (PVWA)**: Web interface for credential management525. **Privileged Threat Analytics (PTA)**: Behavioral analytics for privileged accounts536. **Conjur Secrets Manager**: Application identity and secrets management5455### Vault Security Model56- **Master Policy**: Global security settings (dual control, exclusive access, one-time passwords)57- **Safes**: Logical containers for credentials with granular permissions58- **Platforms**: Configuration profiles defining rotation, verification, and reconciliation59- **Account Groups**: Link accounts sharing rotation dependencies6061### Credential Lifecycle621. **Discovery**: Scan infrastructure for privileged accounts632. **Onboarding**: Import accounts into vault with platform assignment643. **Rotation**: Automated password changes per policy schedule654. **Verification**: Periodic validation that vaulted credentials work665. **Reconciliation**: Re-sync credentials when vault and target are out of sync676. **Decommissioning**: Remove accounts no longer needed6869## Workflow7071### Step 1: Vault Architecture Design721. Deploy primary vault server in secured network segment732. Configure vault high availability with DR vault743. Harden vault server OS (remove unnecessary services, disable RDP)754. Configure firewall rules (only port 1858 from authorized components)765. Set up vault backup with encryption7778### Step 2: Safe and Policy Configuration791. Create safe hierarchy aligned with business units802. Define safe members with least-privilege roles:81 - Safe Admins: manage safe membership82 - Credential Managers: add/modify accounts83 - Auditors: view audit logs only84 - Users: retrieve/use credentials853. Configure Master Policy settings:86 - Require dual control for credential retrieval87 - Enable exclusive access (one user per credential at a time)88 - Set one-time password mode for sensitive accounts8990### Step 3: Platform Configuration91- Windows Domain Admin: Rotate every 24 hours, verify every 4 hours92- Linux Root: Rotate every 72 hours with SSH key rotation93- Database Admin (Oracle, SQL Server): Rotate every 24 hours94- Network Devices: Rotate every 7 days95- Service Accounts: Rotate on schedule with dependency management96- Cloud IAM Keys: Rotate every 90 days with dual-key strategy9798### Step 4: Privileged Session Management991. Deploy PSM servers behind load balancer1002. Configure session recording (video, keystroke, command logs)1013. Set up session isolation (users connect through PSM, never directly)1024. Define connection components for RDP, SSH, databases, web apps1035. Configure live session monitoring and termination capabilities1046. Set session recording retention (minimum 1 year for compliance)105106### Step 5: Integration and Monitoring1071. Forward CyberArk audit logs to SIEM (CEF/Syslog format)1082. Configure PTA for behavioral analytics:109 - Detect credential theft indicators110 - Alert on suspicious privileged session activity111 - Monitor unmanaged privileged account usage1123. Integrate with ticketing system for access request workflows1134. Set up alerts for failed rotation, verification failures, policy violations114115## Security Controls116| Control | NIST 800-53 | Description |117|---------|-------------|-------------|118| Privileged Access | AC-6(7) | Privileged account controls |119| Credential Management | IA-5 | Automated credential rotation |120| Session Recording | AU-14 | Session audit capability |121| Access Enforcement | AC-3 | Vault-enforced access policies |122| Separation of Duties | AC-5 | Dual control for sensitive operations |123124## Common Pitfalls125- Not configuring reconciliation accounts leading to lockouts after rotation126- Setting rotation schedules too aggressive for service accounts with dependencies127- Failing to test PSM connection components before production deployment128- Not establishing break-glass procedures for vault unavailability129- Overlooking network device credential management130131## Verification132- [ ] Vault accessible only from authorized components133- [ ] Credential rotation succeeds for all onboarded accounts134- [ ] PSM sessions recorded and searchable135- [ ] Dual control enforced for sensitive credential checkout136- [ ] SIEM receives CyberArk audit events137- [ ] Break-glass procedure tested and documented138- [ ] DR vault failover tested successfully