forked from elastic/ecs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tls.yml
246 lines (216 loc) · 10 KB
/
tls.yml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
# Licensed to Elasticsearch B.V. under one or more contributor
# license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
---
- name: tls
title: TLS
group: 2
short: Fields describing a TLS connection.
description: >
Fields related to a TLS connection. These fields focus on the TLS protocol itself
and intentionally avoids in-depth analysis of the related x.509 certificate files.
type: group
fields:
- name: version
level: extended
type: keyword
description: Numeric part of the version parsed from the original string.
example: "1.2"
- name: version_protocol
level: extended
type: keyword
description: Normalized lowercase protocol name parsed from original string.
example: "tls"
- name: cipher
type: keyword
level: extended
description: String indicating the cipher used during the current connection.
example: "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
- name: curve
type: keyword
level: extended
description: String indicating the curve used for the given cipher, when applicable.
example: "secp256r1"
- name: resumed
type: boolean
level: extended
description: Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation.
- name: established
type: boolean
level: extended
description: >
Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel.
- name: next_protocol
type: keyword
level: extended
short: String indicating the protocol being tunneled.
description: >
String indicating the protocol being tunneled. Per the values in the IANA registry
(https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids),
this string should be lower case.
example: "http/1.1"
- name: client.ja3
type: keyword
level: extended
description: A hash that identifies clients based on how they perform an SSL/TLS handshake.
example: d4e5b18d6b55c71272893221c96ba240
- name: client.server_name
type: keyword
level: extended
short: Hostname the client is trying to connect to. Also called the SNI.
description: >
Also called an SNI, this tells the server which hostname to which the client is attempting to connect to.
When this value is available, it should get copied to `destination.domain`.
example: "www.elastic.co"
- name: client.supported_ciphers
type: keyword
level: extended
description: Array of ciphers offered by the client during the client hello.
example: "[\"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\", \"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384\", \"...\"]"
normalize:
- array
- name: client.subject
type: keyword
level: extended
description: Distinguished name of subject of the x.509 certificate presented by the client.
example: "CN=myclient, OU=Documentation Team, DC=example, DC=com"
- name: client.issuer
type: keyword
level: extended
description: Distinguished name of subject of the issuer of the x.509 certificate presented by the client.
example: "CN=Example Root CA, OU=Infrastructure Team, DC=example, DC=com"
- name: client.not_before
type: date
level: extended
description: Date/Time indicating when client certificate is first considered valid.
example: "1970-01-01T00:00:00.000Z"
- name: client.not_after
type: date
level: extended
description: Date/Time indicating when client certificate is no longer considered valid.
example: "2021-01-01T00:00:00.000Z"
- name: client.certificate_chain
type: keyword
level: extended
short: Array of PEM-encoded certificates that make up the certificate chain offered by the client.
description: >
Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is
usually mutually-exclusive of `client.certificate` since that value should be the first certificate
in the chain.
example: "[\"MII...\", \"MII...\"]"
normalize:
- array
- name: client.certificate
type: keyword
level: extended
short: PEM-encoded stand-alone certificate offered by the client.
description: >
PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of
`client.certificate_chain` since this value also exists in that list.
example: "MII..."
- name: client.hash.md5
type: keyword
level: extended
short: Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client.
description: >
Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client.
For consistency with other hash values, this value should be formatted as an uppercase hash.
example: 0F76C7F2C55BFD7D8E8B8F4BFBF0C9EC
- name: client.hash.sha1
type: keyword
level: extended
short: >
Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client.
description: >
Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client.
For consistency with other hash values, this value should be formatted as an uppercase hash.
example: 9E393D93138888D288266C2D915214D1D1CCEB2A
- name: client.hash.sha256
type: keyword
level: extended
short: Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client.
description: >
Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client.
For consistency with other hash values, this value should be formatted as an uppercase hash.
example: 0687F666A054EF17A08E2F2162EAB4CBC0D265E1D7875BE74BF3C712CA92DAF0
- name: server.ja3s
type: keyword
level: extended
description: A hash that identifies servers based on how they perform an SSL/TLS handshake.
example: 394441ab65754e2207b1e1b457b3641d
- name: server.subject
type: keyword
level: extended
description: Subject of the x.509 certificate presented by the server.
example: "CN=www.example.com, OU=Infrastructure Team, DC=example, DC=com"
- name: server.issuer
type: keyword
level: extended
description: Subject of the issuer of the x.509 certificate presented by the server.
example: "CN=Example Root CA, OU=Infrastructure Team, DC=example, DC=com"
- name: server.not_before
type: date
level: extended
description: Timestamp indicating when server certificate is first considered valid.
example: "1970-01-01T00:00:00.000Z"
- name: server.not_after
type: date
level: extended
description: Timestamp indicating when server certificate is no longer considered valid.
example: "2021-01-01T00:00:00.000Z"
- name: server.certificate_chain
type: keyword
level: extended
short: Array of PEM-encoded certificates that make up the certificate chain offered by the server.
description: >
Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is
usually mutually-exclusive of `server.certificate` since that value should be the first certificate
in the chain.
example: "[\"MII...\", \"MII...\"]"
normalize:
- array
- name: server.certificate
type: keyword
level: extended
short: PEM-encoded stand-alone certificate offered by the server.
description: >
PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of
`server.certificate_chain` since this value also exists in that list.
example: "MII..."
- name: server.hash.md5
type: keyword
level: extended
short: Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server.
description: >
Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server.
For consistency with other hash values, this value should be formatted as an uppercase hash.
example: 0F76C7F2C55BFD7D8E8B8F4BFBF0C9EC
- name: server.hash.sha1
type: keyword
level: extended
short: Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server.
description: >
Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server.
For consistency with other hash values, this value should be formatted as an uppercase hash.
example: 9E393D93138888D288266C2D915214D1D1CCEB2A
- name: server.hash.sha256
type: keyword
level: extended
short: Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server.
description: >
Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server.
For consistency with other hash values, this value should be formatted as an uppercase hash.
example: 0687F666A054EF17A08E2F2162EAB4CBC0D265E1D7875BE74BF3C712CA92DAF0