-
Notifications
You must be signed in to change notification settings - Fork 1
/
example_config.yml
319 lines (319 loc) · 9.29 KB
/
example_config.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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
LearnMode: true
LogResourceList:
- file:///home/viktor/projects/aecid/aminer-configuration-engine/data/intranet.mannsmith.harrison.com-access.log.5
- file:///home/viktor/projects/aecid/aminer-configuration-engine/data/intranet.mannsmith.harrison.com-access.log.4
- file:///home/viktor/projects/aecid/aminer-configuration-engine/data/intranet.mannsmith.harrison.com-access.log.3
- file:///home/viktor/projects/aecid/aminer-configuration-engine/data/intranet.mannsmith.harrison.com-access.log.2
Parser:
- id: START
start: true
type: ApacheAccessParsingModel
name: parser
Input:
multi_source: true
timestamp_paths:
- /model/time
- /model/@timestamp/time
- /model/with_df/time
- /model/type/execve/time
- /model/type/proctitle/time
- /model/type/syscall/time
- /model/type/path/time
- /model/type/login/time
- /model/type/sockaddr/time
- /model/type/unknown/time
- /model/type/cred_refr/time
- /model/type/user_start/time
- /model/type/user_acct/time
- /model/type/user_auth/time
- /model/type/user_login/time
- /model/type/cred_disp/time
- /model/type/service_start/time
- /model/type/service_stop/time
- /model/type/user_end/time
- /model/type/user_cmd/time
- /model/type/cred_acq/time
- /model/type/avc/time
- /model/type/user_bprm_fcaps/time
- /model/datetime
Analysis:
- type: NewMatchPathValueDetector
id: NewMatchPathValueDetector_Stable_id0
persistence_id: NewMatchPathValueDetector_Stable_id0
paths:
- /model/client_ip/client_ip
output_logline: true
- type: NewMatchPathValueDetector
id: NewMatchPathValueDetector_Stable_id1
persistence_id: NewMatchPathValueDetector_Stable_id1
paths:
- /model/status_code
output_logline: true
- type: NewMatchPathValueDetector
id: NewMatchPathValueDetector_Stable_id2
persistence_id: NewMatchPathValueDetector_Stable_id2
paths:
- /model/combined
output_logline: true
- type: NewMatchPathValueDetector
id: NewMatchPathValueDetector_Stable_id3
persistence_id: NewMatchPathValueDetector_Stable_id3
paths:
- /model/combined/combined
output_logline: true
- type: NewMatchPathValueDetector
id: NewMatchPathValueDetector_Stable_id4
persistence_id: NewMatchPathValueDetector_Stable_id4
paths:
- /model/combined/combined/referer
output_logline: true
- type: NewMatchPathValueDetector
id: NewMatchPathValueDetector_Stable_id5
persistence_id: NewMatchPathValueDetector_Stable_id5
paths:
- /model/combined/combined/user_agent
output_logline: true
- type: NewMatchPathValueDetector
id: NewMatchPathValueDetector_Stable_id6
persistence_id: NewMatchPathValueDetector_Stable_id6
paths:
- /model/fm/request/method
output_logline: true
- type: NewMatchPathValueDetector
id: NewMatchPathValueDetector_Stable_id7
persistence_id: NewMatchPathValueDetector_Stable_id7
paths:
- /model/fm/request/version
output_logline: true
- type: NewMatchPathValueComboDetector
id: NewMatchPathValueComboDetector_CoOccurrenceCombos_id0
persistence_id: NewMatchPathValueComboDetector_CoOccurrenceCombos_id0
paths:
- /model/client_ip/client_ip
- /model/combined
- /model/combined/combined
- /model/combined/combined/referer
- /model/combined/combined/user_agent
- /model/fm/request/method
- /model/fm/request/version
- /model/status_code
output_logline: true
- type: CharsetDetector
id: CharsetDetector_Stable_id0
persistence_id: CharsetDetector_Stable_id0
paths:
- /model
output_logline: true
- type: CharsetDetector
id: CharsetDetector_Stable_id1
persistence_id: CharsetDetector_Stable_id1
paths:
- /model/client_ip/client_ip
output_logline: true
- type: CharsetDetector
id: CharsetDetector_Stable_id2
persistence_id: CharsetDetector_Stable_id2
paths:
- /model/time
output_logline: true
- type: CharsetDetector
id: CharsetDetector_Stable_id3
persistence_id: CharsetDetector_Stable_id3
paths:
- /model/fm/request
output_logline: true
- type: CharsetDetector
id: CharsetDetector_Stable_id4
persistence_id: CharsetDetector_Stable_id4
paths:
- /model/status_code
output_logline: true
- type: CharsetDetector
id: CharsetDetector_Stable_id5
persistence_id: CharsetDetector_Stable_id5
paths:
- /model/content_size
output_logline: true
- type: CharsetDetector
id: CharsetDetector_Stable_id6
persistence_id: CharsetDetector_Stable_id6
paths:
- /model/combined
output_logline: true
- type: CharsetDetector
id: CharsetDetector_Stable_id7
persistence_id: CharsetDetector_Stable_id7
paths:
- /model/combined/combined
output_logline: true
- type: CharsetDetector
id: CharsetDetector_Stable_id8
persistence_id: CharsetDetector_Stable_id8
paths:
- /model/combined/combined/referer
output_logline: true
- type: CharsetDetector
id: CharsetDetector_Stable_id9
persistence_id: CharsetDetector_Stable_id9
paths:
- /model/combined/combined/user_agent
output_logline: true
- type: CharsetDetector
id: CharsetDetector_Stable_id10
persistence_id: CharsetDetector_Stable_id10
paths:
- /model/fm/request/method
output_logline: true
- type: CharsetDetector
id: CharsetDetector_Stable_id11
persistence_id: CharsetDetector_Stable_id11
paths:
- /model/fm/request/request
output_logline: true
- type: CharsetDetector
id: CharsetDetector_Stable_id12
persistence_id: CharsetDetector_Stable_id12
paths:
- /model/fm/request/version
output_logline: true
- type: EntropyDetector
id: EntropyDetector_CharacterPairProbability_id0
persistence_id: EntropyDetector_CharacterPairProbability_id0
paths:
- /model/status_code
output_logline: true
prob_thresh: 0.204
- type: EntropyDetector
id: EntropyDetector_CharacterPairProbability_id1
persistence_id: EntropyDetector_CharacterPairProbability_id1
paths:
- /model/fm/request/method
output_logline: true
prob_thresh: 0.281
- type: EntropyDetector
id: EntropyDetector_CharacterPairProbability_id2
persistence_id: EntropyDetector_CharacterPairProbability_id2
paths:
- /model/fm/request/version
output_logline: true
prob_thresh: 0.676
- type: ValueRangeDetector
id: ValueRangeDetector_Stable_id0
persistence_id: ValueRangeDetector_Stable_id0
paths:
- /model/status_code
output_logline: true
- type: ValueRangeDetector
id: ValueRangeDetector_Stable_id1
persistence_id: ValueRangeDetector_Stable_id1
paths:
- /model/content_size
output_logline: true
- type: EventFrequencyDetector
id: EventFrequencyDetector_EventFrequencyAnalysis_id0
persistence_id: EventFrequencyDetector_EventFrequencyAnalysis_id0
constraint_list:
- /model
output_logline: true
window_size: 15
num_windows: 300
confidence_factor: 0.2
season: 84760
empty_window_warnings: false
- type: EventFrequencyDetector
id: EventFrequencyDetector_EventFrequencyAnalysis_id1
persistence_id: EventFrequencyDetector_EventFrequencyAnalysis_id1
constraint_list:
- /model/client_ip/client_ip
output_logline: true
window_size: 16
num_windows: 300
confidence_factor: 0.2
season: 84760
empty_window_warnings: false
- type: EventFrequencyDetector
id: EventFrequencyDetector_EventFrequencyAnalysis_id2
persistence_id: EventFrequencyDetector_EventFrequencyAnalysis_id2
constraint_list:
- /model/fm/request
output_logline: true
window_size: 15
num_windows: 300
confidence_factor: 0.2
season: 84760
empty_window_warnings: false
- type: EventFrequencyDetector
id: EventFrequencyDetector_EventFrequencyAnalysis_id3
persistence_id: EventFrequencyDetector_EventFrequencyAnalysis_id3
constraint_list:
- /model/client_ip/localhost
output_logline: true
window_size: 135
num_windows: 300
confidence_factor: 0.2
season: 84100
empty_window_warnings: false
- type: EventFrequencyDetector
id: EventFrequencyDetector_EventFrequencyAnalysis_id4
persistence_id: EventFrequencyDetector_EventFrequencyAnalysis_id4
constraint_list:
- /model/fm/dash
output_logline: true
window_size: 766
num_windows: 300
confidence_factor: 0.2
season: 83560
empty_window_warnings: false
- type: EventSequenceDetector
id: EventSequenceDetector_Stable_id0
persistence_id: EventSequenceDetector_Stable_id0
paths:
- /model/client_ip/client_ip
output_logline: true
seq_len: 3
- type: EventSequenceDetector
id: EventSequenceDetector_Stable_id1
persistence_id: EventSequenceDetector_Stable_id1
paths:
- /model/status_code
output_logline: true
seq_len: 4
- type: EventSequenceDetector
id: EventSequenceDetector_Stable_id2
persistence_id: EventSequenceDetector_Stable_id2
paths:
- /model/combined/combined/referer
output_logline: true
seq_len: 2
- type: EventSequenceDetector
id: EventSequenceDetector_Stable_id3
persistence_id: EventSequenceDetector_Stable_id3
paths:
- /model/combined/combined/user_agent
output_logline: true
seq_len: 2
- type: EventSequenceDetector
id: EventSequenceDetector_Stable_id4
persistence_id: EventSequenceDetector_Stable_id4
paths:
- /model/fm/request/method
output_logline: true
seq_len: 3
- type: EventSequenceDetector
id: EventSequenceDetector_Stable_id5
persistence_id: EventSequenceDetector_Stable_id5
paths:
- /model/fm/request/version
output_logline: true
seq_len: 3
- type: EventSequenceDetector
id: EventSequenceDetector_Stable_id6
persistence_id: EventSequenceDetector_Stable_id6
output_logline: true
seq_len: 3
EventHandlers:
- id: stpefile
type: StreamPrinterEventHandler
json: true
pretty: false
output_file_path: /tmp/aminer_out.json