When it is written
Privileged Threat Analytics (PTA) sends its alerts to the Vault, a feature that is on by default; the web portal lists them as Privileged Threat Analytics Activities, under two codes: 460 for managed accounts and 461 for Vault users. CyberArk does not say which detection is written under which code. Among PTA's detections, the ones CyberArk describes in terms of a Vault user are privileged access during irregular hours or on irregular days and excessive access to privileged accounts (CyberArk describes all three by the user's retrievals of privileged accounts), access to the Vault from an irregular IP, activity of a dormant Vault user and multiple authentication failures to the Vault.
The feature is turned off on the PTA machine (send_pta_events_to_pas_enabled). When the same event occurs several times PTA aggregates it, and enable_outbound_upon_aggregation_anomalies names the detections for which every occurrence is sent; for the others only the first occurrence is. Its default value is one detection algorithm, PSMRiskyCommandAnomalyAlgorithm, so by default a repeating event of any other detection is sent to the Vault once. The values it accepts include IrregularHoursUserAnomalyAlgorithm, IrregularDayUserAnomalyAlgorithm, ExcessiveAccessUserAnomalyAlgorithm, VaultAccessViaIrregularIpAnomalyAlgorithm, ActiveDormantUserAnomalyAlgorithm and All.
For this code the code table gives only Info3, the full PTA event details, and gives its version as "9.10 (external) / 9.99 (Internal)" without explaining the two values; there is no file name and no separate anomaly name. CyberArk does not say which syslog element carries Info3 (so this page lists no field for it) or which Vault user the record names as issuer, and documents no field for the score PTA assigned. PTA can also send its own syslog records to a SIEM, with the device product PTA rather than Vault.
How to turn it on
Idira Vault audit records 461 calls to Idira Vault audit without any setup. Vendor documentation
The Vault writes an audit record, identified by its audit action code, for every user and Safe activity. The records appear in the User and Safe Activities report and in Export Vault Data (EVD) output, where the code table's Info1 and Info2 values are separate columns. They stay for the Master Policy's Activities audit retention period (90 days by default); a user's own activity records stay for the History days of its Time Limitations tab. CyberArk notes that a value of zero in either setting stops those activities from being written to the audit log.
The Vault is not a collection point. To send the records to a SIEM:
- PAM Self-Hosted: on every Vault server, set the syslog parameters in
Server\Conf\DBParm.ini(SyslogServerIP,SyslogServerPort,SyslogServerProtocol,SyslogTranslatorFile,UseLegacySyslogFormat, andSyslogTrustedCAPathfor TLS) and restart the Vault. TLS, TCP and UDP are supported; UDP is the default. SyslogMessageCodeFilterlists the codes that are sent. By default all codes of user and Safe activities are sent; a filter that leaves out the codes a rule reads silences that rule.- The translator decides the field names. An XSL file turns the Vault's XML record into the syslog message. These pages name the fields as CyberArk's sample CEF translator writes them. The Vault's record has more elements than that translator writes: OSUser, PvwaDetails (the user's reason, the ticket ID and connection details of web portal operations), GatewayStation (the address of the web portal server) and CAProperties (the account's own properties). They reach a SIEM only through a translator that adds them. Sample files for ArcSight, QRadar, McAfee ESM, RSA enVision and a generic format are copied to
Server\Syslogon installation, and a SIEM's own add-on may ship another translator with other keys, so check one record of your own. - Privilege Cloud (Standard): deploy the Secure Tunnel and give Technical Support the SIEM server, port, protocol (TLS is recommended; TCP risks losing messages; UDP is not supported), the SIEM type (one of the same translators) and the TLS certificate. Up to five syslog servers can be connected.
- Privilege Cloud on the Identity Security Platform also lists most of these events in the Audit service, with codes written as
PAM<code>. Its list does not have every code of the Vault's tables (460 and 461, and 427 and 428, are missing from it), and the pages of those codes say so. Its SIEM export is a JSON API with its own field names, which these pages do not describe. - CyberArk states no delivery delay. The Vault queues syslog messages and writes a notification to its ITALog when more than
SyslogMsgsQueueNotificationThreshold(1,000 by default) are waiting.
Select-String -Path 'C:\Program Files (x86)\PrivateArk\Server\Conf\DBParm.ini' -Pattern '^\s*(Syslog|UseLegacySyslogFormat)'Get-ChildItem -Path 'C:\Program Files (x86)\PrivateArk\Server\Syslog' -Filter '*.xsl'Codes 460 and 461 are in the code tables of PAM Self-Hosted only. The Privilege Cloud table of audit action codes, which CyberArk presents as all the action codes Privilege Cloud generates, and the Audit service's list of Privilege Cloud events do not list them, so the Privilege Cloud paths described for this log do not apply to this code. In PAM Self-Hosted the record also needs PTA to keep sending its alerts to the Vault (send_pta_events_to_pas_enabled, true by default).
Fields
The vendor documents no fields of this operation’s own, so none are listed: read one record of your own to see what it carries. The fields every Idira Vault audit record has are below; their names are the JSON paths of the record as the vendor documents it.
Fields every Idira Vault audit record has (12)
| Field | What it holds |
|---|---|
deviceVendor | Device Vendor of the CEF header, from the record's Vendor element (a static value). CyberArk's two copies of its sample record disagree: one shows CyberArk, the other Idira. The samples of Splunk and Microsoft show Cyber-Ark. Read the value in a record of your own. |
deviceProduct | Device Product, Vault for audit records (VaultMonitor for the Vault's performance messages). |
deviceVersion | Device Version, the version of the Vault. |
deviceEventClassIdRead by 1 rule | Device Event Class ID, from the MessageID element: the audit action code. The operation this page is about. The rules match this number, not the name. |
name | Name, from the Desc element: a static description of the code. CyberArk's wording varies (code 4 is "User Authentication" in one table, "User Authentication Failure" in another and "Authentication failed" in the sample record), so match on the code. |
severity | Severity. The record's Severity element is Error or Info; the sample translator writes Critical as 10, Error as 7, Info as 5 and anything else as 0. CyberArk does not list the severity of each code. |
suser | The Issuer element: the Vault user who wrote the audit record, which CyberArk says is usually the user who performed the operation. |
act | The Action element, a description of the audit record. |
duser | The SourceUser element, which CyberArk's field list describes as the name of the Vault user who performed the operation. |
fname | The File element, the name of the target file (for account operations, expected to be the account's object in the Safe; CyberArk maps none of the code table's Info columns to it). |
src | The Station element, the address the operation came from. For sessions of the web portal (PVWA) it is the address of the user's own machine, not of the PVWA server. |
msg | One string with nine parts separated by commas: TargetUser (the Vault user the operation was performed on), Safe (the target Safe), Location, Category, RequestId (the dual control request), Note, Reason (the reason the user entered), ExtraDetails and Message (the description again). The sample shows each part by name. |
Values to know
deviceProduct
| Value | Meaning | Signal |
|---|---|---|
Vault | The alert as the Vault audit carries it, under this codeRead it next to the other Vault records of the same account or user. | Worth knowing |
PTA | PTA's own syslog record of an alert, a separate streamIf both streams reach the SIEM, decide which one raises the alert. | Worth knowing |
Volume and noise
As noisy as PTA itself: the record repeats an alert PTA already raised about a user. Tune it in PTA; the Vault record puts the alert in the audit trail next to the user's logons and retrievals.
Keeping it manageable
- Read the full event and its score in PTA, and the user's logons (code 7) and retrievals (code 295) around it.
- If PTA's own syslog reaches the SIEM too, decide which stream raises the alert, so that each anomaly is handled once.
Sample event
A Idira Vault audit record in the vendor’s format, with made-up values.
{
"deviceVendor": "Cyber-Ark",
"deviceProduct": "Vault",
"deviceVersion": "14.6.0000",
"deviceEventClassId": "461",
"name": "Privileged Threat Analytics event for Vault user",
"severity": 5,
"suser": "pta-integration",
"act": "",
"duser": "",
"fname": "",
"src": "203.0.113.24",
"msg": {
"TargetUser": "",
"Safe": "",
"Location": "",
"Category": "",
"RequestId": "",
"Note": "",
"Reason": "",
"ExtraDetails": "",
"Message": ""
}
}Attacks this event reveals
Detection rules that read this event: