The interview question that trips up 70% of candidates
Senior PAM interview: "Your Digital Vault sits behind its own hardened firewall. So can you just put it on the normal server VLAN to keep networking simple?"
Wrong answers: "Sure, the firewall protects it anyway", "The Vault protocol is encrypted so the VLAN doesn't matter". Right answer: No. CyberArk's security standard requires the Vault in a dedicated, isolated network segment reachable only by the component servers (PVWA, CPM, PSM, PSMP). Even though the Vault protocol on TCP 1858 rejects unauthenticated traffic, exposing 1858 to 800 workstations is a Critical audit failure. That distinction — defence-in-depth vs "the firewall will save me" — is exactly what separates a Defender from a Guardian-level architect.
💡 The RBI bank-locker-room analogy
Picture the main locker room inside an RBI-grade bank vault complex. The bank building is your corporate network — many rooms, many staff. The vault room itself has one small chit-window that speaks one language: hand a slip, the clerk verifies you, hands one document back. Nobody walks inside the vault room. That window is TCP 1858 and the language is the Vault protocol.
The master key to the room is sealed in a tamper-evident cover inside a separate physical safe — that's the HSM holding the Server Key. Even the head cashier can't take it home; it never leaves the safe and is only used by the vault mechanism itself. That single picture explains why the Vault is hardened, why one port matters, and why the key lives in hardware. Hold it as you read.
4 terms you'll be tested on before we begin
The hardened Windows server running the proprietary Storage Engine. Stores every credential, Safe and audit log. After install it owns the Windows firewall and answers only on TCP 1858. So: the one box you isolate above all others.
Every component — PVWA, CPM, PSM, PSMP, PTA, DR Vault — talks to the Vault only on TCP 1858, encrypted and SHA2-512 integrity-hashed. So: if a component "can't reach the Vault", you check 1858 first, always.
The AES-256 master key encrypting all Safe Keys. On a PKCS#11 HSM it is non-exportable. So: steal the Vault disk image and you still can't decrypt anything — the master key never left the hardware.
The service on the DR Vault that replicates metadata + Safe files from the Primary, driven by PADR.ini. Auto-promotes after 5 failed heartbeats. So: your second datacentre stays warm and audit-ready, not cold.
1. Which single TCP port carries ALL Vault traffic? 2. Where should the Server Key physically live in a bank deployment? 3. If the HSM goes offline overnight, what happens to the Vault at startup?
Hold your three guesses. By the end of this lesson you'll know if your instinct matched a Guardian's.
① The 7 security layers — the patented onion around the Vault
CyberArk's Vaulting Technology® wraps the credential store in seven independent layers. Defeat one and the next still holds. This is why a single misconfiguration rarely equals a breach — but it absolutely equals an audit finding.
Priya runs a Mumbai-HQ private bank with a Pune DR site. Her IS-audit checklist maps almost one-to-one onto these seven layers: isolated Vault VLAN (firewall + isolation), Vault protocol only (encrypted channel), MFA into PVWA (strong auth), Safe permissions (granular access), HSM Server Key (file encryption), the tamper-proof trail (visual audit), and dual control on the crown-jewel Safes. She doesn't memorise the layers — she designs to them.
An architect at a Pune fintech put the Vault on the general server VLAN to simplify routing. A pen-test found TCP 1858 reachable from 800 workstations. The hardened firewall rejected the unauthenticated attempts — but the design violated CyberArk's security standard (Vault must sit in a dedicated, isolated segment). Result: a Critical audit finding and a two-week remediation. Layer 1 isn't optional just because Layer 2 exists.
A junior says "the audit trail is fine, our Vault Master User reviews and edits it weekly." What's wrong with that sentence?
Pause & Predict A vendor demo turns off the firewall layer to "make testing easier" and says the other six layers still protect the Vault. Why is that reasoning dangerous?
② The component map — PVWA, CPM, PSM, PSMP, PTA on TCP 1858
The Vault stores; the components do the work. Think of a busy passport seva kendra: different counters, one secure record room behind them. Every counter queues at the same window (1858) just like everyone else — no counter bypasses it.
Amit manages 15,000 devices across India, US and UK on CyberArk PAM Self-Hosted. When a session "breaks", his first question is never "which component is buggy?" — it's "can that component reach the Vault on 1858?" Nine times out of ten, the answer is no, and the fix is a firewall ACL, not a reinstall.
Here's who does what, and on which port the client side faces the user — but every one of them reaches the Vault on 1858:
- PVWA (Password Vault Web Access) — the web reception on
TCP 443. Users log in here, request and show credentials. It's the front desk. - CPM (Central Policy Manager) — the rotation engine. Changes and reconciles passwords before they expire. Never touches the user; talks only to targets and the Vault.
- PSM (Privileged Session Manager) — proxies Windows RDP on
TCP 3389(or443via the HTML5 gateway). Fetches the credential from the Vault, injects it, and records the session as video — the user never sees the password. - PSMP (PSM for SSH) — the Linux/Unix equivalent on
TCP 22. - PTA (Privileged Threat Analytics) — the CCTV-analytics brain that watches behaviour and raises anomalies.
TCP 1858.PSMP is the one people fumble in interviews. It installs a second, CyberArk-owned sshd on TCP 22 and shifts the OS-native sshd to 2222. The user connects with a stacked syntax, PSMP authenticates them, fetches the target credential from the Vault on 1858, opens a fresh outbound SSH session to the target, and records every keystroke.
# Syntax: ssh <vaultuser>@<targetuser>@<targethost>@<psmp-host> # PSMP at psmp.bank.local (172.16.3.20). Vault user = priya.sharma ssh priya.sharma@root@10.20.30.5@psmp.bank.local
CyberArk Privileged Session Manager for SSH Authentication required. priya.sharma@psmp.bank.local's password: ******** Connecting to root@10.20.30.5 via CyberArk PSMP... Session recording started (ID: 5a4f8c12-...) [root@linuxprod01 ~]#
Recreated for clarity🗄️ The exact screen a Vault admin uses to see the tree of Safes and one Safe's properties — PrivateArk Client → Safes → Safe Properties. Your console matches this layout.
You're at an Indian IT-services firm. A freshly deployed PVWA server (172.16.2.50) shows "VaultConnectivity FAILED". The Vault service is running and netstat on the Vault shows 1858 LISTENING. What do you check first?
1858 from it. (a/c) are blind reinstalls. (d) breaks every other component — the Vault listens on 1858 by design.An auditor watches an admin RDP into a Windows server through CyberArk and asks: "Did that admin just type the local Administrator password?" Based on how PSM works in the component map, what's the correct answer?
1858 and injects it straight into the RDP/SSH connection, so the human never sees the secret and every keystroke is recorded. (a) describes "show password," which PSM exists to avoid. (c) CPM only rotates passwords — it doesn't broker sessions. (d) PTA is detection/analytics, not a credential source.③ The Server Key + HSM — the three-tier key hierarchy
CyberArk never encrypts a stored password with one key. It uses a three-tier hierarchy, exactly like a joint-family jewellery system: each ornament has its own small box, all boxes for one branch sit in a larger locker, all lockers live inside the bank's main vault.
- Object Key — unique per stored object, AES-256. (the small jewellery box)
- Safe Key — encrypts every Object Key in one Safe. (the branch's locker)
- Server Key — AES-256 symmetric, encrypts all Safe Keys. Belongs on an HSM as a non-exportable key. (the bank's main vault key)
Alongside sits the Recovery Key — an RSA-2048 pair whose private half (the Master CD) stays offline in a physical safe for catastrophic recovery only.
Priya's threat model is the rogue sysadmin. Her answer: offload the Server Key to an Entrust nShield (or Thales Luna) HSM in a FIPS 140-2 Level 3 config, non-exportable. Now even if someone clones the Vault's disk, they cannot decrypt a single Safe without the HSM. The Operator CD's private Recovery Key sits in the bank's physical vault at the IS-head's branch — split custody, two people, two locations.
# Run from C:\Program Files (x86)\PrivateArk\Server\ as admin .\CAVaultManager.exe GenerateKeyOnHSM /ServerKey
CyberArk CAVaultManager utility Connecting to HSM device... Generating Server Key on HSM... Server Key was successfully generated on HSM device (KeyID=HSM#1) Please record this KeyID and update ServerKey parameter in DBParm.ini
The Vault decrypts Safe Keys using the Server Key. If that key lives on the HSM and the HSM is unreachable at startup — network path down, TCP 9004 blocked, HSM service stopped — the Vault refuses to start. This is correct, safe behaviour, not a bug. Restore HSM connectivity first, then start the PrivateArk Server service. Plan HSM HA accordingly.
A thief steals the Object Key for one account from a backup. How many passwords can they decrypt?
Pause & Predict Your security lead asks: "If we put the Server Key on an HSM, why do we also keep the Recovery Key's private half offline on a Master CD in a physical safe?" What's the reason?
④ Hardening — why nothing else runs on the Vault OS
The Vault OS runs the Digital Vault software and nothing else. No antivirus, no SIEM agent, no monitoring tool. CyberArk's CAVaultHarden utility locks the box down: disables unneeded services, hands the Windows firewall to the Vault, and permits only 1858 inbound (plus whitelisted outbound like the HSM on 9004).
A different architect "simplified" two things at once: he dropped the Vault on the corporate LAN and installed a Splunk syslog-forwarder agent on the Vault OS to ship audit events. Both broke the standard. The forwarder agent is third-party software on the credential host (forbidden), and the LAN placement exposed 1858. The audit verdict: Critical. The correct path — native syslog forwarding configured in DBParm.ini, Vault in an isolated VLAN — was a one-line config, not an agent.
1858 on VMware.After an upgrade, Amit's team re-ran CAVaultHarden on a vSphere Vault. All components reported "VaultConnectivity FAILED" even though 1858 showed LISTEN. Root cause: the virtual NIC was classified by Windows as a Public profile, and hardening sets the Public-profile registry keys AllowLocalPolicyMerge and AllowLocalIPsecPolicyMerge to 0 — so the Vault's own 1858 rule never activated. Fix: set both to 1 under HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\PublicProfile, reboot, and reclassify the vNIC to Private before future hardening runs.
You're a CyberArk admin at a Bengaluru BPO. A colleague wants to install the corporate EDR agent on the Vault server "for visibility". What do you tell them?
DBParm.ini (or PTA as intermediary), not from an agent that widens the attack surface and may break hardening. (a/b/d) all put foreign code on the credential host.▶ Watch a credential travel the Vault protocol
Priya clicks "Connect" in PVWA → PSM fetches the password from the Vault on 1858 → injects it → records the session. She never sees the password. Press Play.
TCP 443 with MFA, finds the root@10.20.30.5 account, clicks Connect.TCP 1858. The Vault decrypts: Server Key (HSM) → Safe Key → Object Key, returns the secret encrypted in transit.10.20.30.5. Priya's screen shows a logged-in desktop — never the password.⑤ HA / DR — PADR replication and silent failover
One Vault is a single point of failure. CyberArk's answer for Priya's two-datacentre bank is a Primary→DR Vault pair driven by the PADR service. The DR Vault in Pune replicates from the Mumbai Primary, stays warm, and auto-promotes if the Primary disappears.
Primary Vault in Mumbai (10.10.5.10), DR Vault in Pune, both in identically isolated VLANs. PADR on the DR side replicates every hour. If the DR PADR service fails its heartbeat to the Primary 5 times in a row (~5 minutes), it auto-promotes Pune to active. Priya runs this as a quarterly drill: promote DR, redirect components, verify PrivateArk login, then fail back cleanly.
1858. Five failed heartbeats trigger silent auto-failover. Same Server Key on both sides is mandatory.# C:\Program Files (x86)\PrivateArk\PADR\Conf\PADR.ini [Main] PrimaryVaultIP=10.10.5.10 VaultPort=1858 NumRetries=5 ReplicateInterval=3600 ; seconds between replication cycles (1 hr) FailoverMode=No ; set to Yes ONLY during failover
[2026-05-31 03:15:00] Primary Vault unreachable after 5 retries [2026-05-31 03:15:00] Initiating DR Vault promotion (FailoverMode=Yes) [2026-05-31 03:15:05] DR Vault is now active. Starting PrivateArk Server. [2026-05-31 03:15:10] Vault service started. DR Vault is now PRIMARY.
A team migrating the Server Key to an HSM re-encrypted the DR Vault first and set ServerKey=HSM#1 there, leaving the Primary on the old file key. Replication broke instantly — the DR Vault could no longer decrypt objects encrypted with the old key. Rotations failed silently for 4 hours. The correct sequence: stop Primary, run ChangeServerKeys on Primary, update Primary's DBParm.ini, start Primary, then repeat on DR. Both sides must reference the same Server Key generation.
A Satellite/DR Vault dashboard shows "healthy", but credentials rotated in the last hour aren't replicating. The replication service is running with no errors. What's your first suspect?
PADR.log timestamps against NTP stratum, resync NTP, then force a full replication. Also confirm 1858 (and 5671 for Satellite RabbitMQ) are open.🤖 Ask the AI Tutor
Tap any question — instant context-aware answer.
Deeper questions → chat.techclick.in.
Every layer, port and key serves one promise: a human is granted access without ever holding the credential. PSM injects it, the Vault stores it, the HSM seals it, the trail proves it, and DR keeps it surviving. That's why exposing 1858 or running an agent on the OS is so serious — it cracks the promise, not just a setting.
Pause & Predict Priya builds the Pune DR Vault by generating a fresh Server Key on a second HSM "for extra security." She then can't get PADR replication to work. What did she get wrong?
TCP 1858, and those are encrypted under the Primary's Server Key — a different key on the Pune side can't decrypt them, so replication breaks. A second HSM is fine, but it has to hold the same Server Key (HSM#1's key mirrored), not a new one. Separately, failover is automatic: if PADR misses ~5 heartbeats in a row (~5 minutes), Pune auto-promotes to active — which is exactly why the keys must already match before that ever happens.The 5 mistakes that cost candidates the Vault-architecture interview
"The firewall protects it anyway." Standard requires a dedicated isolated VLAN reachable only by components. LAN placement = Critical audit finding.
AV / SIEM agent / monitoring on the credential host breaks the standard and collides with CAVaultHarden. Use native DBParm.ini syslog instead.
"To save a server." Running IIS/.NET on the credential store violates code-data isolation and blocks hardening. PVWA goes on its own dedicated server.
Re-encrypt the Primary first, never the DR alone. Both Vaults must reference the same Server Key generation or replication breaks silently.
The Master CD private key is the last-resort decryptor. It belongs on removable media in a physical safe with dual custody — never on backup infrastructure.
Lane A — Defender (PAM-DEF) track: drill Safe creation, account onboarding, CPM rotation and PSM session retrieval. You're aiming at the 90-minute multiple-choice exam.
Lane B — Guardian (CDE-PAM) track: design Primary-DR vs Cluster vs Distributed for given RPO/RTO, HSM integration strategy, and the 120-minute lab challenge. Needs Defender + Sentry first.
Pick one and let it shape which questions below you study hardest.
📝 Check your understanding — 10 questions, 70% to pass
Q1–Q2 above already count. Below are Q3 to Q10.
Which single TCP port do all CyberArk PAM components use to communicate with the Digital Vault?
1858 via the proprietary Vault protocol. 443 is PVWA's client port, 3389 is PSM's RDP client port, 9004 is the HSM path — none of them is how components talk to the Vault.You're at a Mumbai bank. A user runs ssh alice@root@10.20.30.5@psmp.bank.local and gets an authentication failure at the PSMP. The PSMP service is up. What do you check first?
1858. (b/c) misread it as a target/OS issue. (d) confuses the HSM path with the target connection.During a DR drill you set FailoverMode=Yes and promoted the Pune DR Vault. The Mumbai Primary is now restored. How do you safely fail back?
FailoverMode=No, strip the stale timestamp lines so PADR re-syncs from the Primary, restart PADR, confirm in PADR.log. (a) corrupts state, (b) is overkill, (d) breaks the Vault protocol.After moving the Server Key to an HSM at a Pune fintech, the Vault fails to start the next morning. No hardware was changed overnight. What's the most likely cause?
9004 or a stopped HSM service stops the boot by design — safe, not a bug. (a/c/d) don't gate Server Key decryption.A three-site Satellite Vault shows "last replicated 6 hours ago", but the replication service is running and logs no errors. How do you find the root cause?
1858/5671 paths, and PADR.log. (a) hides the symptom, (c/d) touch unrelated keys.A CISO asks whether their on-prem EPV v12.6 deployment is exposed to CVE-2025-49827. How do you answer?
A team proposes installing the PVWA web server on the same physical machine as the Vault "to save cost." Evaluate this.
A bank wants to store the CyberArk Recovery Private Key (Master CD) on the encrypted file server used for general IT backups. Evaluate and recommend.
Next up — CyberArk Safes, Permissions & Master Policy
You now know where credentials live and how they're sealed. Next: who can reach them. Safe design, the permission matrix (List/Use/Retrieve/Add/Update), dual control and the Master Policy — access control done right.
Sources cited inline
- CyberArk PAM Self-Hosted — Solution Architecture (official docs)
- CyberArk Digital Vault Security Requirements (official docs)
- PAM Self-Hosted — Standard Vault Ports & Protocols (v13.0)
- Using an HSM to Secure the CyberArk Vault's Server Key — Tim Schindler
- CyberArk PADR.ini & DR Vault Failover/Failback — 51sec
- Navigating the CyberArk Digital Vault — Malhar Vora
- Vault Fault — CVE-2025-49827/49828/49831 (The Hacker News)