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
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 discover4version: '1.0'5author: mahipal (vendored by SOCIS)6license: Apache-2.07platforms:8- linux9- macos10- windows11category: security12metadata:13 socis:14 tags:15 - iam16 - identity17 - access-control18 - privileged-access19 - pam20 - cyberark21 subdomain: identity-access-management22 upstream: mukul975/Anthropic-Cybersecurity-Skills23 nist_csf:24 - PR.AA-0125 - PR.AA-0226 - PR.AA-0527 - PR.AA-0628 mitre_attack:29 - T107830 - T111031 - T155632 - T109833 - T100334 mitre_f3:35 version: '1.1'36 tactics:37 - initial-access38 - positioning39 - resource-development40 techniques:41 - id: T158642 name: Compromise Accounts43 tactic: resource-development44 source: https://skillmd.com/skills/socisio/implementing-privileged-access-management-with-cyberark45 - id: T111046 name: Brute Force47 tactic: initial-access48 source: attack49 - id: F103350 name: Insider Access Abuse51 tactic: initial-access52 source: f353 - id: F1005.00254 name: 'Account Manipulation: Add Authorized User'55 tactic: positioning56 source: f357 - id: F1006.00258 name: 'Account Takeover: Exposed Login Credential'59 tactic: initial-access60 source: f361---6263# Implementing Privileged Access Management with CyberArk6465## Overview66Deploy 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.676869## When to Use7071- When deploying or configuring implementing privileged access management with cyberark capabilities in your environment72- When establishing security controls aligned to compliance requirements73- When building or improving security architecture for this domain74- When conducting security assessments that require this implementation7576## Prerequisites7778- Familiarity with identity access management concepts and tools79- Access to a test or lab environment for safe execution80- Python 3.8+ with required dependencies installed81- Appropriate authorization for any testing activities8283## Objectives84- Design CyberArk vault architecture with high availability85- Implement automated privileged credential discovery and onboarding86- Configure credential rotation policies for different account types87- Deploy Privileged Session Manager (PSM) for session isolation and recording88- Integrate CyberArk with SIEM for privileged access monitoring89- Implement just-in-time (JIT) privileged access workflows9091## Key Concepts9293### CyberArk Architecture Components941. **Digital Vault**: Encrypted credential storage with FIPS 140-2 validated encryption952. **Central Policy Manager (CPM)**: Automated password rotation and verification963. **Privileged Session Manager (PSM)**: Session isolation, recording, and keystroke logging974. **Password Vault Web Access (PVWA)**: Web interface for credential management985. **Privileged Threat Analytics (PTA)**: Behavioral analytics for privileged accounts996. **Conjur Secrets Manager**: Application identity and secrets management100101### Vault Security Model102- **Master Policy**: Global security settings (dual control, exclusive access, one-time passwords)103- **Safes**: Logical containers for credentials with granular permissions104- **Platforms**: Configuration profiles defining rotation, verification, and reconciliation105- **Account Groups**: Link accounts sharing rotation dependencies106107### Credential Lifecycle1081. **Discovery**: Scan infrastructure for privileged accounts1092. **Onboarding**: Import accounts into vault with platform assignment1103. **Rotation**: Automated password changes per policy schedule1114. **Verification**: Periodic validation that vaulted credentials work1125. **Reconciliation**: Re-sync credentials when vault and target are out of sync1136. **Decommissioning**: Remove accounts no longer needed114115## Workflow116117### Step 1: Vault Architecture Design1181. Deploy primary vault server in secured network segment1192. Configure vault high availability with DR vault1203. Harden vault server OS (remove unnecessary services, disable RDP)1214. Configure firewall rules (only port 1858 from authorized components)1225. Set up vault backup with encryption123124### Step 2: Safe and Policy Configuration1251. Create safe hierarchy aligned with business units1262. Define safe members with least-privilege roles:127 - Safe Admins: manage safe membership128 - Credential Managers: add/modify accounts129 - Auditors: view audit logs only130 - Users: retrieve/use credentials1313. Configure Master Policy settings:132 - Require dual control for credential retrieval133 - Enable exclusive access (one user per credential at a time)134 - Set one-time password mode for sensitive accounts135136### Step 3: Platform Configuration137- Windows Domain Admin: Rotate every 24 hours, verify every 4 hours138- Linux Root: Rotate every 72 hours with SSH key rotation139- Database Admin (Oracle, SQL Server): Rotate every 24 hours140- Network Devices: Rotate every 7 days141- Service Accounts: Rotate on schedule with dependency management142- Cloud IAM Keys: Rotate every 90 days with dual-key strategy143144### Step 4: Privileged Session Management1451. Deploy PSM servers behind load balancer1462. Configure session recording (video, keystroke, command logs)1473. Set up session isolation (users connect through PSM, never directly)1484. Define connection components for RDP, SSH, databases, web apps1495. Configure live session monitoring and termination capabilities1506. Set session recording retention (minimum 1 year for compliance)151152### Step 5: Integration and Monitoring1531. Forward CyberArk audit logs to SIEM (CEF/Syslog format)1542. Configure PTA for behavioral analytics:155 - Detect credential theft indicators156 - Alert on suspicious privileged session activity157 - Monitor unmanaged privileged account usage1583. Integrate with ticketing system for access request workflows1594. Set up alerts for failed rotation, verification failures, policy violations160161## Security Controls162| Control | NIST 800-53 | Description |163|---------|-------------|-------------|164| Privileged Access | AC-6(7) | Privileged account controls |165| Credential Management | IA-5 | Automated credential rotation |166| Session Recording | AU-14 | Session audit capability |167| Access Enforcement | AC-3 | Vault-enforced access policies |168| Separation of Duties | AC-5 | Dual control for sensitive operations |169170## Common Pitfalls171- Not configuring reconciliation accounts leading to lockouts after rotation172- Setting rotation schedules too aggressive for service accounts with dependencies173- Failing to test PSM connection components before production deployment174- Not establishing break-glass procedures for vault unavailability175- Overlooking network device credential management176177## Verification178- [ ] Vault accessible only from authorized components179- [ ] Credential rotation succeeds for all onboarded accounts180- [ ] PSM sessions recorded and searchable181- [ ] Dual control enforced for sensitive credential checkout182- [ ] SIEM receives CyberArk audit events183- [ ] Break-glass procedure tested and documented184- [ ] DR vault failover tested successfully