Try in Splunk Security Cloud

Description

This search provides information on Kubernetes RBAC authorizations by accounts, this search can be modified by adding rare or top to see both extremes of RBAC by accounts occurrences

  • Type: Hunting
  • Product: Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud

  • Last Updated: 2020-05-26
  • Author: Rod Soto, Splunk
  • ID: 47af7d20-0607-4079-97d7-7a29af58b54e

Annotations

ATT&CK
Kill Chain Phase
  • Exploitation
NIST
CIS20
CVE
1
2
3
4
5
6
7
`kubernetes_azure` category=kube-audit 
| spath input=properties.log 
| search annotations.authorization.k8s.io/reason=* 
| table sourceIPs{} user.username userAgent annotations.authorization.k8s.io/reason 
|stats count by user.username annotations.authorization.k8s.io/reason 
| rare user.username annotations.authorization.k8s.io/reason 
|`kubernetes_azure_detect_rbac_authorization_by_account_filter`

Macros

The SPL above uses the following Macros:

Note that kubernetes_azure_detect_rbac_authorization_by_account_filter is a empty macro by default. It allows the user to filter out any results (false positives) without editing the SPL.

Required field

  • _time

How To Implement

You must install the Add-on for Microsoft Cloud Services and Configure Kube-Audit data diagnostics

Known False Positives

Not all RBAC Authorications are malicious. RBAC authorizations can uncover malicious activity specially if sensitive Roles have been granted.

Associated Analytic story

RBA

Risk Score Impact Confidence Message
25.0 50 50 tbd

Reference

Test Dataset

Replay any dataset to Splunk Enterprise by using our replay.py tool or the UI. Alternatively you can replay a dataset into a Splunk Attack Range

source | version: 1