-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathauditd.sdkrfilereader.properties
408 lines (289 loc) · 32 KB
/
auditd.sdkrfilereader.properties
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
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
# Auditd configuration File
# Created by John Rogers in 2018
do.unparsed.events=true
regex=audispd\: node\=([^\\s]+) type\=([^\\s]+) msg\=audit\\(([^\\)]+)\\)\: pid\=(\\d+) uid\=(\\d+) auid\=(\\d+) ses\=\\d+ .*msg='(.*)'
token.count=7
token[0].name=node
token[0].type=String
token[1].name=EventType
token[1].type=String
token[2].name=EventID
token[2].type=String
token[3].name=ProcessID
token[3].type=Integer
token[4].name=MaskedUser
token[4].type=String
token[5].name=ActualUser
token[5].type=Integer
token[6].name=msg
token[6].type=String
# Token 0
event.deviceHostName=node
# Token 1
event.deviceEventClassId=EventType
# Token 2
event.deviceCustomString1=EventID
event.deviceCustomString1Label=__stringConstant("Auditd Event ID")
# Token 3
event.deviceProcessId=ProcessID
# Token 4
event.sourceUserId=MaskedUser
# Token 5
event.deviceCustomNumber1=ActualUser
event.deviceCustomNumber1Label=__stringConstant("Unmasked User Id")
########### Submessage Parameters ###########
submessage.messageid.token=EventType
submessage.token=msg
submessage.count=9
########### Submessage 1, User Authentication ###########
submessage[0].messageid=USER_AUTH
submessage[0].pattern.count=4
#### hostname and address ####
submessage[0].pattern[0].regex=op\=([^\\s]+) grantors\=[^\\s]+ acct\="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[0].pattern[0].fields=event.name,event.destinationUserName,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[0].pattern[0].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#### no hostname, does contain the address ####
submessage[0].pattern[1].regex=op\=([^\\s]+) grantors\=[^\\s]+ acct\="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[0].pattern[1].fields=event.name,event.destinationUserName,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[0].pattern[1].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#### no address, does contain the hostname ####
submessage[0].pattern[2].regex=op\=([^\\s]+) grantors\=[^\\s]+ acct\="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[0].pattern[2].fields=event.name,event.destinationUserName,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[0].pattern[2].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#### no address and no hostname ####
submessage[0].pattern[3].regex=op\=([^\\s]+) grantors\=[^\\s]+ acct\="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[0].pattern[3].fields=event.name,event.destinationUserName,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[0].pattern[3].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#========================= Submessage 2, User Session Ended =========================
submessage[1].messageid=USER_END
submessage[1].pattern.count=4
#### hostname and address ####
submessage[1].pattern[0].regex=op\=([^\\s]+) grantors\=[^\\s]+ acct\="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[1].pattern[0].fields=event.name,event.destinationUserName,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[1].pattern[0].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#### no hostname, does contain the address ####
submessage[1].pattern[1].regex=op\=([^\\s]+) grantors\=[^\\s]+ acct\="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[1].pattern[1].fields=event.name,event.destinationUserName,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[1].pattern[1].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#### no address, does contain the hostname ####
submessage[1].pattern[2].regex=op\=([^\\s]+) grantors\=[^\\s]+ acct\="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[1].pattern[2].fields=event.name,event.destinationUserName,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[1].pattern[2].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#### no address and no hostname ####
submessage[1].pattern[3].regex=op\=([^\\s]+) grantors\=[^\\s]+ acct\="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[1].pattern[3].fields=event.name,event.destinationUserName,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[1].pattern[3].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#========================= Submessage 3, Local User Added =========================
submessage[2].messageid=ADD_USER
submessage[2].pattern.count=8
#### User ID; hostname and address ####
submessage[2].pattern[0].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[2].pattern[0].fields=event.name,event.destinationUserId,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[2].pattern[0].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#### User ID; no hostname, does contain the address ####
submessage[2].pattern[1].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[2].pattern[1].fields=event.name,event.destinationUserId,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[2].pattern[1].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#### User ID; no address, does contain the hostname ####
submessage[2].pattern[2].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[2].pattern[2].fields=event.name,event.destinationUserId,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[2].pattern[2].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#### User ID; no address and no hostname ####
submessage[2].pattern[3].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[2].pattern[3].fields=event.name,event.destinationUserId,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[2].pattern[3].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#### User ID; hostname and address; contains account name ####
submessage[2].pattern[4].regex=op\=([^\\s]+) acct="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[2].pattern[4].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[2].pattern[4].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("New Username")
#### no hostname, does contain the address; contains account name ####
submessage[2].pattern[5].regex=op\=([^\\s]+) acct="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[2].pattern[5].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[2].pattern[5].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("New Username")
#### no address, does contain the hostname; contains account name ####
submessage[2].pattern[6].regex=op\=([^\\s]+) acct="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[2].pattern[6].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[2].pattern[6].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("New Username")
#### no address and no hostname; contains account name ####
submessage[2].pattern[7].regex=op\=([^\\s]+) acct="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[2].pattern[7].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[2].pattern[7].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("New Username")
#========================= Submessage 4, Local Group Added =========================
submessage[3].messageid=ADD_GROUP
submessage[3].pattern.count=8
#### hostname and address ####
submessage[3].pattern[0].regex=op\=([^\\s]+) acct\="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[3].pattern[0].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[3].pattern[0].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("New Group Name")
#### no hostname, does contain the address ####
submessage[3].pattern[1].regex=op\=([^\\s]+) acct\="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[3].pattern[1].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[3].pattern[1].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("New Group Name")
#### no address, does contain the hostname ####
submessage[3].pattern[2].regex=op\=([^\\s]+) acct\="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[3].pattern[2].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[3].pattern[2].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("New Group Name")
#### no address and no hostname ####
submessage[3].pattern[3].regex=op\=([^\\s]+) acct\="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[3].pattern[3].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[3].pattern[3].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("New Group Name")
#### hostname and address; Contains Only Group ID ####
submessage[3].pattern[4].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[3].pattern[4].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[3].pattern[4].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Group ID")
#### no hostname, does contain the address; Contains Only Group ID ####
submessage[3].pattern[5].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[3].pattern[5].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[3].pattern[5].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Group ID")
#### no address, does contain the hostname; Contains Only Group ID ####
submessage[3].pattern[6].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[3].pattern[6].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[3].pattern[6].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Group ID")
#### no address and no hostname; Contains Only Group ID ####
submessage[3].pattern[7].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[3].pattern[7].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[3].pattern[7].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Group ID")
#========================= Submessage 5, Local User Deleted =========================
submessage[4].messageid=DEL_USER
submessage[4].pattern.count=8
#### hostname and address ####
submessage[4].pattern[0].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[4].pattern[0].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[4].pattern[0].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed User ID")
#### no hostname, does contain the address ####
submessage[4].pattern[1].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[4].pattern[1].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[4].pattern[1].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed User ID")
#### no address, does contain the hostname ####
submessage[4].pattern[2].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[4].pattern[2].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[4].pattern[2].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed User ID")
#### no address and no hostname ####
submessage[4].pattern[3].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[4].pattern[3].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[4].pattern[3].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed User ID")
#### hostname and address; contains account name ####
submessage[4].pattern[4].regex=op\=([^\\s]+) acct="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[4].pattern[4].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[4].pattern[4].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Username")
#### no hostname, does contain the address; contains account name ####
submessage[4].pattern[5].regex=op\=([^\\s]+) acct="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[4].pattern[5].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[4].pattern[5].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Username")
#### no address, does contain the hostname; contains account name ####
submessage[4].pattern[6].regex=op\=([^\\s]+) acct="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[4].pattern[6].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[4].pattern[6].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Username")
#### no address and no hostname; contains account name ####
submessage[4].pattern[7].regex=op\=([^\\s]+) acct="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[4].pattern[7].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[4].pattern[7].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Username")
#========================= Submessage 6, Local Group Deleted =========================
submessage[5].messageid=DEL_GROUP
submessage[5].pattern.count=8
#### hostname and address ####
submessage[5].pattern[0].regex=op\=([^\\s]+) grp\="([^"]+)" acct\="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[5].pattern[0].fields=event.name,event.deviceCustomString5,event.deviceCustomString6,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[5].pattern[0].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Group Name")|event.deviceCustomString6Label=__stringConstant("Removed Primary Group Member")
#### no hostname, does contain the address ####
submessage[5].pattern[1].regex=op\=([^\\s]+) grp\="([^"]+)" acct\="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[5].pattern[1].fields=event.name,event.deviceCustomString5,event.deviceCustomString6,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[5].pattern[1].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Group Name")|event.deviceCustomString6Label=__stringConstant("Removed Primary Group Member")
#### no address, does contain the hostname ####
submessage[5].pattern[2].regex=op\=([^\\s]+) grp\="([^"]+)" acct\="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[5].pattern[2].fields=event.name,event.deviceCustomString5,event.deviceCustomString6,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[5].pattern[2].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Group Name")|event.deviceCustomString6Label=__stringConstant("Removed Primary Group Member")
#### no address and no hostname ####
submessage[5].pattern[3].regex=op\=([^\\s]+) grp\="([^"]+)" acct\="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[5].pattern[3].fields=event.name,event.deviceCustomString5,event.deviceCustomString6,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[5].pattern[3].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Group Name")|event.deviceCustomString6Label=__stringConstant("Removed Primary Group Member")
#### hostname and address; Contains Only Group ID ####
submessage[5].pattern[4].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[5].pattern[4].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[5].pattern[4].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Group ID")
#### no hostname, does contain the address; Contains Only Group ID ####
submessage[5].pattern[5].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[5].pattern[5].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[5].pattern[5].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Group ID")
#### no address, does contain the hostname; Contains Only Group ID ####
submessage[5].pattern[6].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[5].pattern[6].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[5].pattern[6].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Group ID")
#### no address and no hostname; Contains Only Group ID ####
submessage[5].pattern[7].regex=op\=([^\\s]+) id\=(\\d+) exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[5].pattern[7].fields=event.name,event.deviceCustomString5,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[5].pattern[7].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Removed Group ID")
#========================= Submessage 7, Change User Authentication Token =========================
submessage[6].messageid=USER_CHAUTHTOK
submessage[6].pattern.count=8
#### hostname and address ####
submessage[6].pattern[0].regex=op\=([^\\s]+) grantors\=([^\\s]+) acct\="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[6].pattern[0].fields=event.name,event.deviceCustomString5,event.destinationUserName,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[6].pattern[0].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("PAM Grantors")
#### no hostname, does contain the address ####
submessage[6].pattern[1].regex=op\=([^\\s]+) grantors\=([^\\s]+) acct\="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[6].pattern[1].fields=event.name,event.deviceCustomString5,event.destinationUserName,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[6].pattern[1].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("PAM Grantors")
#### no address, does contain the hostname ####
submessage[6].pattern[2].regex=op\=([^\\s]+) grantors\=([^\\s]+) acct\="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[6].pattern[2].fields=event.name,event.deviceCustomString5,event.destinationUserName,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[6].pattern[2].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("PAM Grantors")
#### no address and no hostname ####
submessage[6].pattern[3].regex=op\=([^\\s]+) grantors\=([^\\s]+) acct\="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[6].pattern[3].fields=event.name,event.deviceCustomString5,event.destinationUserName,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[6].pattern[3].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("PAM Grantors")
#### hostname and address; Only User ID Available ####
submessage[6].pattern[4].regex=op\=(change password) id\=(\\d+) exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[6].pattern[4].fields=event.name,event.destinationUserId,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[6].pattern[4].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#### no hostname, does contain the address; Only User ID Available ####
submessage[6].pattern[5].regex=op\=(change password) id\=(\\d+) exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[6].pattern[5].fields=event.name,event.destinationUserId,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[6].pattern[5].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#### no address, does contain the hostname; Only User ID Available ####
submessage[6].pattern[6].regex=op\=(change password) id\=(\\d+) exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[6].pattern[6].fields=event.name,event.destinationUserId,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[6].pattern[6].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#### no address and no hostname; Only User ID Available ####
submessage[6].pattern[7].regex=op\=(change password) id\=(\\d+) exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[6].pattern[7].fields=event.name,event.destinationUserId,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[6].pattern[7].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")
#========================= Submessage 8, User Account Modification =========================
submessage[7].messageid=USER_MGMT
submessage[7].pattern.count=8
#### User Group Membership Changed; hostname and address ####
submessage[7].pattern[0].regex=op\=([^\\s]+) grp\="([^"]+)" acct\="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[7].pattern[0].fields=event.name,event.deviceCustomString5,event.destinationUserName,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[7].pattern[0].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Associated Group Name")
#### User Group Membership Changed; no hostname, does contain the address ####
submessage[7].pattern[1].regex=op\=([^\\s]+) grp\="([^"]+)" acct\="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[7].pattern[1].fields=event.name,event.deviceCustomString5,event.destinationUserName,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[7].pattern[1].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Associated Group Name")
#### User Group Membership Changed; no address, does contain the hostname ####
submessage[7].pattern[2].regex=op\=([^\\s]+) grp\="([^"]+)" acct\="([^"]+)" exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[7].pattern[2].fields=event.name,event.deviceCustomString5,event.destinationUserName,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[7].pattern[2].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Associated Group Name")
#### User Group Membership Changed; no address and no hostname ####
submessage[7].pattern[3].regex=op\=([^\\s]+) grp\="([^"]+)" acct\="([^"]+)" exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[7].pattern[3].fields=event.name,event.deviceCustomString5,event.destinationUserName,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[7].pattern[3].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Associated Group Name")
submessage[7].pattern[4].regex=op\=([^\\s]+) grp\="([^"]+)" id\=(\\d+) exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[7].pattern[4].fields=event.name,event.deviceCustomString5,event.destinationUserId,event.deviceProcessName,event.sourceHostName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[7].pattern[4].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Associated Group Name")
#### User Group Membership Changed; no hostname, does contain the address ####
submessage[7].pattern[5].regex=op\=([^\\s]+) grp\="([^"]+)" id\=(\\d+) exe\="([^"]+)" hostname\=\\? addr\=(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}) terminal\=([^\\s]+) res\=([^\\s]+)
submessage[7].pattern[5].fields=event.name,event.deviceCustomString5,event.destinationUserId,event.deviceProcessName,event.sourceAddress,event.deviceCustomString4,event.deviceAction
submessage[7].pattern[5].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Associated Group Name")
#### User Group Membership Changed; no address, does contain the hostname ####
submessage[7].pattern[6].regex=op\=([^\\s]+) grp\="([^"]+)" id\=(\\d+) exe\="([^"]+)" hostname\=([^\\?\\s]+) addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[7].pattern[6].fields=event.name,event.deviceCustomString5,event.destinationUserId,event.deviceProcessName,event.sourceHostName,event.deviceCustomString4,event.deviceAction
submessage[7].pattern[6].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Associated Group Name")
#### User Group Membership Changed; no address and no hostname ####
submessage[7].pattern[7].regex=op\=([^\\s]+) grp\="([^"]+)" id\=(\\d+) exe\="([^"]+)" hostname\=\\? addr\=\\? terminal\=([^\\s]+) res\=([^\\s]+)
submessage[7].pattern[7].fields=event.name,event.deviceCustomString5,event.destinationUserId,event.deviceProcessName,event.deviceCustomString4,event.deviceAction
submessage[7].pattern[7].extramappings=event.deviceCustomString4Label=__stringConstant("Terminal")|event.deviceCustomString5Label=__stringConstant("Associated Group Name")
#========================= Unparsed Event =========================
submessage[8].pattern.count=1
submessage[8].pattern[0].regex=(.*)
submessage[8].pattern[0].fields=event.message
submessage[8].pattern[0].extramappings=event.name=__stringConstant("Unparsed Auditd Event")