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.
Anti-Rationalization Table
| Rationalization |
Reality |
| "I'll figure it out as I go" |
A structured approach saves time and reduces errors. Follow the workflow in this skill rather than improvising. |
| "I already know this topic" |
Familiarity breeds shortcuts. Use the checklist to verify you haven't missed critical steps. |
| "This doesn't apply to my situation" |
The patterns here generalize across contexts. Adapt, don't skip — the underlying principles hold. |
| "One more tool will fix it" |
Adding complexity rarely solves process gaps. Master the core workflow first. |
When to Use
Trigger phrases:
"implementing privileged access management with cyberark"
"Deploy CyberArk Privileged Access Management to discover, vault, rotate, and mon"
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
This section covers key concepts for implementing privileged access management with cyberark.
- Ensure all prerequisites are met before proceeding
- Follow the documented workflow steps in sequence
- Record results and any anomalies encountered during this phase
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
# Example: IOC detection
import re
IOC_PATTERNS = {
"ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",
"domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",
"hash_md5": r"\b[a-f0-9]{32}\b",
"hash_sha256": r"\b[a-f0-9]{64}\b",
}
def extract_iocs(text: str) -> dict:
return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}
- Scope the task — define objectives, boundaries, and success criteria
- Gather information — collect all necessary data and context before proceeding
- Execute the core workflow — follow the domain-specific steps methodically
- Validate results — verify outputs against expected outcomes or baselines
- Document findings — record results, anomalies, and recommendations
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
When NOT to Use
- You need to test the implementation (use performing-* skills)
- Task is about configuring existing tools (use configuring-* skills)
- You need to analyze security events (use analyzing-* skills)
- Task is about building detection rules (use building-* skills)
- You don't have access to the target environment
- Task requires vendor-specific expertise (consult vendor docs)
Red Flags
- Performing actions without explicit written authorization from the asset owner
- Testing against production systems without a defined scope and rules of engagement
- Sharing sensitive findings or credentials in unencrypted communications
- Failing to properly scope and contain the assessment before starting
Process
- Analyze the task requirements
- Apply domain expertise
- Verify output quality
1---2name: implementing-privileged-access-management-with-cyberark3description: Use when deploying 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---67# Implementing Privileged Access Management with CyberArk89## Overview10Deploy 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.11121314## Anti-Rationalization Table1516| Rationalization | Reality |17|---|---|18| "I'll figure it out as I go" | A structured approach saves time and reduces errors. Follow the workflow in this skill rather than improvising. |19| "I already know this topic" | Familiarity breeds shortcuts. Use the checklist to verify you haven't missed critical steps. |20| "This doesn't apply to my situation" | The patterns here generalize across contexts. Adapt, don't skip — the underlying principles hold. |21| "One more tool will fix it" | Adding complexity rarely solves process gaps. Master the core workflow first. |2223## When to Use24**Trigger phrases:**25- "implementing privileged access management with cyberark"26- "Deploy CyberArk Privileged Access Management to discover, vault, rotate, and mon"272829- When deploying or configuring implementing privileged access management with cyberark capabilities in your environment30- When establishing security controls aligned to compliance requirements31- When building or improving security architecture for this domain32- When conducting security assessments that require this implementation3334## Prerequisites3536- Familiarity with identity access management concepts and tools37- Access to a test or lab environment for safe execution38- Python 3.8+ with required dependencies installed39- Appropriate authorization for any testing activities4041## Objectives42- Design CyberArk vault architecture with high availability43- Implement automated privileged credential discovery and onboarding44- Configure credential rotation policies for different account types45- Deploy Privileged Session Manager (PSM) for session isolation and recording46- Integrate CyberArk with SIEM for privileged access monitoring47- Implement just-in-time (JIT) privileged access workflows4849## Key Concepts5051This section covers key concepts for implementing privileged access management with cyberark.5253- Ensure all prerequisites are met before proceeding54- Follow the documented workflow steps in sequence55- Record results and any anomalies encountered during this phase56### CyberArk Architecture Components571. **Digital Vault**: Encrypted credential storage with FIPS 140-2 validated encryption582. **Central Policy Manager (CPM)**: Automated password rotation and verification593. **Privileged Session Manager (PSM)**: Session isolation, recording, and keystroke logging604. **Password Vault Web Access (PVWA)**: Web interface for credential management615. **Privileged Threat Analytics (PTA)**: Behavioral analytics for privileged accounts626. **Conjur Secrets Manager**: Application identity and secrets management6364### Vault Security Model65- **Master Policy**: Global security settings (dual control, exclusive access, one-time passwords)66- **Safes**: Logical containers for credentials with granular permissions67- **Platforms**: Configuration profiles defining rotation, verification, and reconciliation68- **Account Groups**: Link accounts sharing rotation dependencies6970### Credential Lifecycle711. **Discovery**: Scan infrastructure for privileged accounts722. **Onboarding**: Import accounts into vault with platform assignment733. **Rotation**: Automated password changes per policy schedule744. **Verification**: Periodic validation that vaulted credentials work755. **Reconciliation**: Re-sync credentials when vault and target are out of sync766. **Decommissioning**: Remove accounts no longer needed7778## Workflow7980```python81# Example: IOC detection82import re8384IOC_PATTERNS = {85 "ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",86 "domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",87 "hash_md5": r"\b[a-f0-9]{32}\b",88 "hash_sha256": r"\b[a-f0-9]{64}\b",89}9091def extract_iocs(text: str) -> dict:92 return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}93```94951. **Scope the task** — define objectives, boundaries, and success criteria962. **Gather information** — collect all necessary data and context before proceeding973. **Execute the core workflow** — follow the domain-specific steps methodically984. **Validate results** — verify outputs against expected outcomes or baselines995. **Document findings** — record results, anomalies, and recommendations100### Step 1: Vault Architecture Design1011. Deploy primary vault server in secured network segment1022. Configure vault high availability with DR vault1033. Harden vault server OS (remove unnecessary services, disable RDP)1044. Configure firewall rules (only port 1858 from authorized components)1055. Set up vault backup with encryption106107### Step 2: Safe and Policy Configuration1081. Create safe hierarchy aligned with business units1092. Define safe members with least-privilege roles:110 - Safe Admins: manage safe membership111 - Credential Managers: add/modify accounts112 - Auditors: view audit logs only113 - Users: retrieve/use credentials1143. Configure Master Policy settings:115 - Require dual control for credential retrieval116 - Enable exclusive access (one user per credential at a time)117 - Set one-time password mode for sensitive accounts118119### Step 3: Platform Configuration120- Windows Domain Admin: Rotate every 24 hours, verify every 4 hours121- Linux Root: Rotate every 72 hours with SSH key rotation122- Database Admin (Oracle, SQL Server): Rotate every 24 hours123- Network Devices: Rotate every 7 days124- Service Accounts: Rotate on schedule with dependency management125- Cloud IAM Keys: Rotate every 90 days with dual-key strategy126127### Step 4: Privileged Session Management1281. Deploy PSM servers behind load balancer1292. Configure session recording (video, keystroke, command logs)1303. Set up session isolation (users connect through PSM, never directly)1314. Define connection components for RDP, SSH, databases, web apps1325. Configure live session monitoring and termination capabilities1336. Set session recording retention (minimum 1 year for compliance)134135### Step 5: Integration and Monitoring1361. Forward CyberArk audit logs to SIEM (CEF/Syslog format)1372. Configure PTA for behavioral analytics:138 - Detect credential theft indicators139 - Alert on suspicious privileged session activity140 - Monitor unmanaged privileged account usage1413. Integrate with ticketing system for access request workflows1424. Set up alerts for failed rotation, verification failures, policy violations143144## Security Controls145| Control | NIST 800-53 | Description |146|---------|-------------|-------------|147| Privileged Access | AC-6(7) | Privileged account controls |148| Credential Management | IA-5 | Automated credential rotation |149| Session Recording | AU-14 | Session audit capability |150| Access Enforcement | AC-3 | Vault-enforced access policies |151| Separation of Duties | AC-5 | Dual control for sensitive operations |152153## Common Pitfalls154- Not configuring reconciliation accounts leading to lockouts after rotation155- Setting rotation schedules too aggressive for service accounts with dependencies156- Failing to test PSM connection components before production deployment157- Not establishing break-glass procedures for vault unavailability158- Overlooking network device credential management159160## Verification161- [ ] Vault accessible only from authorized components162- [ ] Credential rotation succeeds for all onboarded accounts163- [ ] PSM sessions recorded and searchable164- [ ] Dual control enforced for sensitive credential checkout165- [ ] SIEM receives CyberArk audit events166- [ ] Break-glass procedure tested and documented167- [ ] DR vault failover tested successfully168## When NOT to Use169170- You need to test the implementation (use performing-* skills)171- Task is about configuring existing tools (use configuring-* skills)172- You need to analyze security events (use analyzing-* skills)173- Task is about building detection rules (use building-* skills)174- You don't have access to the target environment175- Task requires vendor-specific expertise (consult vendor docs)176177178## Red Flags179180- Performing actions without explicit written authorization from the asset owner181- Testing against production systems without a defined scope and rules of engagement182- Sharing sensitive findings or credentials in unencrypted communications183- Failing to properly scope and contain the assessment before starting184185## Process1861871. Analyze the task requirements1882. Apply domain expertise1893. Verify output quality