Repository navigation
Expand file tree
/
Copy pathkubernetes_scanner_image_pulling.yml
More file actions
58 lines (58 loc) · 1.87 KB
/
Copy pathkubernetes_scanner_image_pulling.yml
File metadata and controls
58 lines (58 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Kubernetes Scanner Image Pulling
id: 4890cd6b-0112-4974-a272-c5c153aee551
version: 1
date: '2021-08-24'
author: Patrick Bareiss, Splunk
type: TTP
datamodel: []
description: This search uses the Kubernetes logs from Splunk Connect from Kubernetes
to detect Kubernetes Security Scanner.
search: '`kube_objects_events` object.message IN ("Pulling image *kube-hunter*", "Pulling
image *kube-bench*", "Pulling image *kube-recon*", "Pulling image *kube-recon*")
| rename object.* AS * | rename involvedObject.* AS * | rename source.host AS host
| eval phase="operate" | eval severity="high"
| stats min(_time) as firstTime max(_time) as lastTime count by host, name, namespace,
kind, reason, message, phase, severity | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`
| `kubernetes_scanner_image_pulling_filter`'
how_to_implement: You must ingest Kubernetes logs through Splunk Connect for Kubernetes.
known_false_positives: unknown
references:
- https://github.com/splunk/splunk-connect-for-kubernetes
tags:
analytic_story:
- Dev Sec Ops
asset_type: Kubernetes
automated_detection_testing: passed
cis20:
- CIS 13
confidence: 90
dataset:
- https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1526/kubernetes_kube_hunter/kubernetes_kube_hunter.json
impact: 90
kill_chain_phases:
- Actions on Objectives
message: Kubernetes Scanner image pulled on host $host$
mitre_attack_id:
- T1526
nist:
- PR.DS
- PR.AC
- DE.CM
observable:
- name: host
type: Entity
product:
- Splunk Enterprise
- Splunk Enterprise Security
- Splunk Cloud
- Dev Sec Ops Analytics
required_fields:
- object.message
- source.host
- object.involvedObject.name
- object.involvedObject.namespace
- object.involvedObject.kind
- object.message
- object.reason
risk_score: 81
security_domain: network