CyberArk Privileged Access Security Recommended Monitor
Identifies the occurrence of a CyberArk Privileged Access Security (PAS) non-error level audit event which is recommended for monitoring by the vendor. The event.code correlates to the CyberArk Vault Audit Action Code.
Elastic rule (View on GitHub)
1[metadata]
2creation_date = "2021/06/23"
3integration = ["cyberarkpas"]
4maturity = "production"
5promotion = true
6updated_date = "2024/05/21"
7
8[rule]
9author = ["Elastic"]
10description = """
11Identifies the occurrence of a CyberArk Privileged Access Security (PAS) non-error level audit event which is
12recommended for monitoring by the vendor. The event.code correlates to the CyberArk Vault Audit Action Code.
13"""
14false_positives = ["To tune this rule, add exceptions to exclude any event.code which should not trigger this rule."]
15from = "now-30m"
16index = ["filebeat-*", "logs-cyberarkpas.audit*"]
17language = "kuery"
18license = "Elastic License v2"
19name = "CyberArk Privileged Access Security Recommended Monitor"
20note = """## Setup
21
22The CyberArk Privileged Access Security (PAS) Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.
23
24## Triage and analysis
25
26This is a promotion rule for CyberArk events, which the vendor recommends should be monitored.
27Consult vendor documentation on interpreting specific events.
28"""
29references = [
30 "https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASREF/Vault%20Audit%20Action%20Codes.htm?tocpath=Administration%7CReferences%7C_____3#RecommendedActionCodesforMonitoring",
31]
32risk_score = 73
33rule_id = "c5f81243-56e0-47f9-b5bb-55a5ed89ba57"
34rule_name_override = "event.action"
35severity = "high"
36tags = [
37 "Data Source: CyberArk PAS",
38 "Use Case: Log Auditing",
39 "Use Case: Threat Detection",
40 "Tactic: Privilege Escalation",
41]
42timestamp_override = "event.ingested"
43type = "query"
44
45query = '''
46event.dataset:cyberarkpas.audit and
47 event.code:(4 or 22 or 24 or 31 or 38 or 57 or 60 or 130 or 295 or 300 or 302 or
48 308 or 319 or 344 or 346 or 359 or 361 or 378 or 380 or 411) and
49 not event.type:error
50'''
51
52
53[[rule.threat]]
54framework = "MITRE ATT&CK"
55[[rule.threat.technique]]
56id = "T1078"
57name = "Valid Accounts"
58reference = "https://attack.mitre.org/techniques/T1078/"
59
60
61[rule.threat.tactic]
62id = "TA0004"
63name = "Privilege Escalation"
64reference = "https://attack.mitre.org/tactics/TA0004/"
65[[rule.threat]]
66framework = "MITRE ATT&CK"
67
68[rule.threat.tactic]
69id = "TA0001"
70name = "Initial Access"
71reference = "https://attack.mitre.org/tactics/TA0001/"
Setup
The CyberArk Privileged Access Security (PAS) Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.
Triage and analysis
This is a promotion rule for CyberArk events, which the vendor recommends should be monitored. Consult vendor documentation on interpreting specific events.
References
Related rules
- CyberArk Privileged Access Security Error
- Credential Manipulation - Detected - Elastic Endgame
- Credential Manipulation - Prevented - Elastic Endgame
- Execution with Explicit Credentials via Scripting
- Expired or Revoked Driver Loaded