-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
winlogbeat-security.js
2697 lines (2519 loc) · 111 KB
/
winlogbeat-security.js
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
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
// or more contributor license agreements. Licensed under the Elastic License;
// you may not use this file except in compliance with the Elastic License.
var security = (function () {
var path = require("path");
var processor = require("processor");
var windows = require("windows");
// Logon Types
// https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/basic-audit-logon-events
var logonTypes = {
"2": "Interactive",
"3": "Network",
"4": "Batch",
"5": "Service",
"7": "Unlock",
"8": "NetworkCleartext",
"9": "NewCredentials",
"10": "RemoteInteractive",
"11": "CachedInteractive",
};
// User Account Control Attributes Table
// https://support.microsoft.com/es-us/help/305144/how-to-use-useraccountcontrol-to-manipulate-user-account-properties
var uacFlags = [
[0x0001, 'SCRIPT'],
[0x0002, 'ACCOUNTDISABLE'],
[0x0008, 'HOMEDIR_REQUIRED'],
[0x0010, 'LOCKOUT'],
[0x0020, 'PASSWD_NOTREQD'],
[0x0040, 'PASSWD_CANT_CHANGE'],
[0x0080, 'ENCRYPTED_TEXT_PWD_ALLOWED'],
[0x0100, 'TEMP_DUPLICATE_ACCOUNT'],
[0x0200, 'NORMAL_ACCOUNT'],
[0x0800, 'INTERDOMAIN_TRUST_ACCOUNT'],
[0x1000, 'WORKSTATION_TRUST_ACCOUNT'],
[0x2000, 'SERVER_TRUST_ACCOUNT'],
[0x10000, 'DONT_EXPIRE_PASSWORD'],
[0x20000, 'MNS_LOGON_ACCOUNT'],
[0x40000, 'SMARTCARD_REQUIRED'],
[0x80000, 'TRUSTED_FOR_DELEGATION'],
[0x100000, 'NOT_DELEGATED'],
[0x200000, 'USE_DES_KEY_ONLY'],
[0x400000, 'DONT_REQ_PREAUTH'],
[0x800000, 'PASSWORD_EXPIRED'],
[0x1000000, 'TRUSTED_TO_AUTH_FOR_DELEGATION'],
[0x04000000, 'PARTIAL_SECRETS_ACCOUNT'],
];
// Kerberos TGT and TGS Ticket Options
// https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4768
// https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4769
var ticketOptions = [
"Reserved",
"Forwardable",
"Forwarded",
"Proxiable",
"Proxy",
"Allow-postdate",
"Postdated",
"Invalid",
"Renewable",
"Initial",
"Pre-authent",
"Opt-hardware-auth",
"Transited-policy-checked",
"Ok-as-delegate",
"Request-anonymous",
"Name-canonicalize",
"Unused",
"Unused",
"Unused",
"Unused",
"Unused",
"Unused",
"Unused",
"Unused",
"Unused",
"Unused",
"Disable-transited-check",
"Renewable-ok",
"Enc-tkt-in-skey",
"Unused",
"Renew",
"Validate"];
// Kerberos Encryption Types
// https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4768
// https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4768
var ticketEncryptionTypes = {
"0x1": "DES-CBC-CRC",
"0x3": "DES-CBC-MD5",
"0x11": "AES128-CTS-HMAC-SHA1-96",
"0x12": "AES256-CTS-HMAC-SHA1-96",
"0x17": "RC4-HMAC",
"0x18": "RC4-HMAC-EXP",
"0xffffffff": "FAIL",
};
// Kerberos Result Status Codes
// https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4768
// https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4768
var kerberosTktStatusCodes = {
"0x0": "KDC_ERR_NONE",
"0x1": "KDC_ERR_NAME_EXP",
"0x2": "KDC_ERR_SERVICE_EXP",
"0x3": "KDC_ERR_BAD_PVNO",
"0x4": "KDC_ERR_C_OLD_MAST_KVNO",
"0x5": "KDC_ERR_S_OLD_MAST_KVNO",
"0x6": "KDC_ERR_C_PRINCIPAL_UNKNOWN",
"0x7": "KDC_ERR_S_PRINCIPAL_UNKNOWN",
"0x8": "KDC_ERR_PRINCIPAL_NOT_UNIQUE",
"0x9": "KDC_ERR_NULL_KEY",
"0xA": "KDC_ERR_CANNOT_POSTDATE",
"0xB": "KDC_ERR_NEVER_VALID",
"0xC": "KDC_ERR_POLICY",
"0xD": "KDC_ERR_BADOPTION",
"0xE": "KDC_ERR_ETYPE_NOTSUPP",
"0xF": "KDC_ERR_SUMTYPE_NOSUPP",
"0x10": "KDC_ERR_PADATA_TYPE_NOSUPP",
"0x11": "KDC_ERR_TRTYPE_NO_SUPP",
"0x12": "KDC_ERR_CLIENT_REVOKED",
"0x13": "KDC_ERR_SERVICE_REVOKED",
"0x14": "KDC_ERR_TGT_REVOKED",
"0x15": "KDC_ERR_CLIENT_NOTYET",
"0x16": "KDC_ERR_SERVICE_NOTYET",
"0x17": "KDC_ERR_KEY_EXPIRED",
"0x18": "KDC_ERR_PREAUTH_FAILED",
"0x19": "KDC_ERR_PREAUTH_REQUIRED",
"0x1A": "KDC_ERR_SERVER_NOMATCH",
"0x1B": "KDC_ERR_MUST_USE_USER2USER",
"0x1F": "KRB_AP_ERR_BAD_INTEGRITY",
"0x20": "KRB_AP_ERR_TKT_EXPIRED",
"0x21": "KRB_AP_ERR_TKT_NYV",
"0x22": "KRB_AP_ERR_REPEAT",
"0x23": "KRB_AP_ERR_NOT_US",
"0x24": "KRB_AP_ERR_BADMATCH",
"0x25": "KRB_AP_ERR_SKEW",
"0x26": "KRB_AP_ERR_BADADDR",
"0x27": "KRB_AP_ERR_BADVERSION",
"0x28": "KRB_AP_ERR_MSG_TYPE",
"0x29": "KRB_AP_ERR_MODIFIED",
"0x2A": "KRB_AP_ERR_BADORDER",
"0x2C": "KRB_AP_ERR_BADKEYVER",
"0x2D": "KRB_AP_ERR_NOKEY",
"0x2E": "KRB_AP_ERR_MUT_FAIL",
"0x2F": "KRB_AP_ERR_BADDIRECTION",
"0x30": "KRB_AP_ERR_METHOD",
"0x31": "KRB_AP_ERR_BADSEQ",
"0x32": "KRB_AP_ERR_INAPP_CKSUM",
"0x33": "KRB_AP_PATH_NOT_ACCEPTED",
"0x34": "KRB_ERR_RESPONSE_TOO_BIG",
"0x3C": "KRB_ERR_GENERIC",
"0x3D": "KRB_ERR_FIELD_TOOLONG",
"0x3E": "KDC_ERR_CLIENT_NOT_TRUSTED",
"0x3F": "KDC_ERR_KDC_NOT_TRUSTED",
"0x40": "KDC_ERR_INVALID_SIG",
"0x41": "KDC_ERR_KEY_TOO_WEAK",
"0x42": "KRB_AP_ERR_USER_TO_USER_REQUIRED",
"0x43": "KRB_AP_ERR_NO_TGT",
"0x44": "KDC_ERR_WRONG_REALM",
};
// event.category, event.type, event.action
var eventActionTypes = {
"1100": [["process"], ["end"], "logging-service-shutdown"],
"1102": [["iam"], ["admin", "change"], "audit-log-cleared"], // need to recategorize
"1104": [["iam"], ["admin"],"logging-full"],
"1105": [["iam"], ["admin"],"auditlog-archieved"],
"1108": [["iam"], ["admin"],"logging-processing-error"],
"4610": [["configuration"], ["access"], "authentication-package-loaded"],
"4611": [["configuration"], ["change"], "trusted-logon-process-registered"],
"4614": [["configuration"], ["access"], "notification-package-loaded"],
"4616": [["configuration"], ["change"], "system-time-changed"],
"4622": [["configuration"], ["access"], "security-package-loaded"],
"4624": [["authentication"], ["start"], "logged-in"],
"4625": [["authentication"], ["start"], "logon-failed"],
"4634": [["authentication"], ["end"], "logged-out"],
"4647": [["authentication"], ["end"], "logged-out"],
"4648": [["authentication"], ["start"], "logged-in-explicit"],
"4657": [["registry", "configuration"], ["change"], "registry-value-modified"],
"4670": [["iam", "configuration"],["admin", "change"],"permissions-changed"],
"4672": [["iam"], ["admin"], "logged-in-special"],
"4673": [["iam"], ["admin"], "privileged-service-called"],
"4674": [["iam"], ["admin"], "privileged-operation"],
"4688": [["process"], ["start"], "created-process"],
"4689": [["process"], ["end"], "exited-process"],
"4697": [["iam", "configuration"], ["admin", "change"],"service-installed"], // remove iam and admin
"4698": [["iam", "configuration"], ["creation", "admin"], "scheduled-task-created"], // remove iam and admin
"4699": [["iam", "configuration"], ["deletion", "admin"], "scheduled-task-deleted"], // remove iam and admin
"4700": [["iam", "configuration"], ["change", "admin"], "scheduled-task-enabled"], // remove iam and admin
"4701": [["iam", "configuration"], ["change", "admin"], "scheduled-task-disabled"], // remove iam and admin
"4702": [["iam", "configuration"], ["change", "admin"], "scheduled-task-updated"], // remove iam and admin
"4706": [["configuration"], ["creation"], "domain-trust-added"],
"4707": [["configuration"], ["deletion"], "domain-trust-removed"],
"4713": [["configuration"], ["change"], "kerberos-policy-changed"],
"4714": [["configuration"], ["change"], "encrypted-data-recovery-policy-changed"],
"4715": [["configuration"], ["change"], "object-audit-policy-changed"],
"4716": [["configuration"], ["change"], "trusted-domain-information-changed"],
"4717": [["iam", "configuration"],["admin", "change"],"system-security-access-granted"],
"4718": [["iam", "configuration"],["admin", "deletion"],"system-security-access-removed"],
"4719": [["iam", "configuration"], ["admin", "change"], "changed-audit-config"], // remove iam and admin
"4720": [["iam"], ["user", "creation"], "added-user-account"],
"4722": [["iam"], ["user", "change"], "enabled-user-account"],
"4723": [["iam"], ["user", "change"], "changed-password"],
"4724": [["iam"], ["user", "change"], "reset-password"],
"4725": [["iam"], ["user", "deletion"], "disabled-user-account"],
"4726": [["iam"], ["user", "deletion"], "deleted-user-account"],
"4727": [["iam"], ["group", "creation"], "added-group-account"],
"4728": [["iam"], ["group", "change"], "added-member-to-group"],
"4729": [["iam"], ["group", "change"], "removed-member-from-group"],
"4730": [["iam"], ["group", "deletion"], "deleted-group-account"],
"4731": [["iam"], ["group", "creation"], "added-group-account"],
"4732": [["iam"], ["group", "change"], "added-member-to-group"],
"4733": [["iam"], ["group", "change"], "removed-member-from-group"],
"4734": [["iam"], ["group", "deletion"], "deleted-group-account"],
"4735": [["iam"], ["group", "change"], "modified-group-account"],
"4737": [["iam"], ["group", "change"], "modified-group-account"],
"4738": [["iam"], ["user", "change"], "modified-user-account"],
"4739": [["configuration"], ["change"], "domain-policy-changed"],
"4740": [["iam"], ["user", "change"], "locked-out-user-account"],
"4741": [["iam"], ["creation", "admin"], "added-computer-account"], // remove admin
"4742": [["iam"], ["change", "admin"], "changed-computer-account"], // remove admin
"4743": [["iam"], ["deletion", "admin"], "deleted-computer-account"], // remove admin
"4744": [["iam"], ["group", "creation"], "added-distribution-group-account"],
"4745": [["iam"], ["group", "change"], "changed-distribution-group-account"],
"4746": [["iam"], ["group", "change"], "added-member-to-distribution-group"],
"4747": [["iam"], ["group", "change"], "removed-member-from-distribution-group"],
"4748": [["iam"], ["group", "deletion"], "deleted-distribution-group-account"],
"4749": [["iam"], ["group", "creation"], "added-distribution-group-account"],
"4750": [["iam"], ["group", "change"], "changed-distribution-group-account"],
"4751": [["iam"], ["group", "change"], "added-member-to-distribution-group"],
"4752": [["iam"], ["group", "change"], "removed-member-from-distribution-group"],
"4753": [["iam"], ["group", "deletion"], "deleted-distribution-group-account"],
"4754": [["iam"], ["group", "creation"], "added-group-account"],
"4755": [["iam"], ["group", "change"], "modified-group-account"],
"4756": [["iam"], ["group", "change"], "added-member-to-group"],
"4757": [["iam"], ["group", "change"], "removed-member-from-group"],
"4758": [["iam"], ["group", "deletion"], "deleted-group-account"],
"4759": [["iam"], ["group", "creation"], "added-distribution-group-account"],
"4760": [["iam"], ["group", "change"], "changed-distribution-group-account"],
"4761": [["iam"], ["group", "change"], "added-member-to-distribution-group"],
"4762": [["iam"], ["group", "change"], "removed-member-from-distribution-group"],
"4763": [["iam"], ["group", "deletion"], "deleted-distribution-group-account"],
"4764": [["iam"], ["group", "change"], "type-changed-group-account"],
"4767": [["iam"], ["user", "change"], "unlocked-user-account"],
"4768": [["authentication"], ["start"], "kerberos-authentication-ticket-requested"],
"4769": [["authentication"], ["start"], "kerberos-service-ticket-requested"],
"4770": [["authentication"], ["start"], "kerberos-service-ticket-renewed"],
"4771": [["authentication"], ["start"], "kerberos-preauth-failed"],
"4776": [["authentication"], ["start"], "credential-validated"],
"4778": [["authentication", "session"], ["start"], "session-reconnected"],
"4779": [["authentication", "session"], ["end"], "session-disconnected"],
"4781": [["iam"], ["user", "change"], "renamed-user-account"],
"4798": [["iam"], ["user", "info"], "group-membership-enumerated"], // process enumerates the local groups to which the specified user belongs
"4799": [["iam"], ["group", "info"], "user-member-enumerated"], // a process enumerates the members of the specified local group
"4817": [["iam", "configuration"], ["admin", "change"],"object-audit-changed"],
"4902": [["iam", "configuration"], ["admin", "creation"],"user-audit-policy-created"],
"4904": [["iam", "configuration"], ["admin", "change"],"security-event-source-added"],
"4905": [["iam", "configuration"], ["admin", "deletion"], "security-event-source-removed"],
"4906": [["iam", "configuration"], ["admin", "change"], "crash-on-audit-changed"],
"4907": [["iam", "configuration"], ["admin", "change"], "audit-setting-changed"],
"4908": [["iam", "configuration"], ["admin", "change"], "special-group-table-changed"],
"4912": [["iam", "configuration"], ["admin", "change"], "per-user-audit-policy-changed"],
"4950": [["configuration"], ["change"], "windows-firewall-setting-changed"],
"4954": [["configuration"], ["change"], "windows-firewall-group-policy-changed"],
"4964": [["iam"], ["admin", "group"], "logged-in-special"],
"5024": [["process"], ["start"], "windows-firewall-service-started"],
"5025": [["process"], ["end"], "windows-firewall-service-stopped"],
"5033": [["driver"], ["start"], "windows-firewall-driver-started"],
"5034": [["driver"], ["end"], "windows-firewall-driver-stopped"],
"5037": [["driver"], ["end"], "windows-firewall-driver-error"],
};
// Services Types
// https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4697
var serviceTypes = {
"0x1": "Kernel Driver",
"0x2": "File System Driver",
"0x8": "Recognizer Driver",
"0x10": "Win32 Own Process",
"0x20": "Win32 Share Process",
"0x110": "Interactive Own Process",
"0x120": "Interactive Share Process",
};
// Audit Categories Description
// https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-gpac/77878370-0712-47cd-997d-b07053429f6d
var auditDescription = {
"0CCE9210-69AE-11D9-BED3-505054503030":["Security State Change", "System"],
"0CCE9211-69AE-11D9-BED3-505054503030":["Security System Extension", "System"],
"0CCE9212-69AE-11D9-BED3-505054503030":["System Integrity", "System"],
"0CCE9213-69AE-11D9-BED3-505054503030":["IPsec Driver", "System"],
"0CCE9214-69AE-11D9-BED3-505054503030":["Other System Events", "System"],
"0CCE9215-69AE-11D9-BED3-505054503030":["Logon", "Logon/Logoff"],
"0CCE9216-69AE-11D9-BED3-505054503030":["Logoff","Logon/Logoff"],
"0CCE9217-69AE-11D9-BED3-505054503030":["Account Lockout","Logon/Logoff"],
"0CCE9218-69AE-11D9-BED3-505054503030":["IPsec Main Mode","Logon/Logoff"],
"0CCE9219-69AE-11D9-BED3-505054503030":["IPsec Quick Mode","Logon/Logoff"],
"0CCE921A-69AE-11D9-BED3-505054503030":["IPsec Extended Mode","Logon/Logoff"],
"0CCE921B-69AE-11D9-BED3-505054503030":["Special Logon","Logon/Logoff"],
"0CCE921C-69AE-11D9-BED3-505054503030":["Other Logon/Logoff Events","Logon/Logoff"],
"0CCE9243-69AE-11D9-BED3-505054503030":["Network Policy Server","Logon/Logoff"],
"0CCE9247-69AE-11D9-BED3-505054503030":["User / Device Claims","Logon/Logoff"],
"0CCE921D-69AE-11D9-BED3-505054503030":["File System","Object Access"],
"0CCE921E-69AE-11D9-BED3-505054503030":["Registry","Object Access"],
"0CCE921F-69AE-11D9-BED3-505054503030":["Kernel Object","Object Access"],
"0CCE9220-69AE-11D9-BED3-505054503030":["SAM","Object Access"],
"0CCE9221-69AE-11D9-BED3-505054503030":["Certification Services","Object Access"],
"0CCE9222-69AE-11D9-BED3-505054503030":["Application Generated","Object Access"],
"0CCE9223-69AE-11D9-BED3-505054503030":["Handle Manipulation","Object Access"],
"0CCE9224-69AE-11D9-BED3-505054503030":["File Share","Object Access"],
"0CCE9225-69AE-11D9-BED3-505054503030":["Filtering Platform Packet Drop","Object Access"],
"0CCE9226-69AE-11D9-BED3-505054503030":["Filtering Platform Connection ","Object Access"],
"0CCE9227-69AE-11D9-BED3-505054503030":["Other Object Access Events","Object Access"],
"0CCE9244-69AE-11D9-BED3-505054503030":["Detailed File Share","Object Access"],
"0CCE9245-69AE-11D9-BED3-505054503030":["Removable Storage","Object Access"],
"0CCE9246-69AE-11D9-BED3-505054503030":["Central Policy Staging","Object Access"],
"0CCE9228-69AE-11D9-BED3-505054503030":["Sensitive Privilege Use","Privilege Use"],
"0CCE9229-69AE-11D9-BED3-505054503030":["Non Sensitive Privilege Use","Privilege Use"],
"0CCE922A-69AE-11D9-BED3-505054503030":["Other Privilege Use Events","Privilege Use"],
"0CCE922B-69AE-11D9-BED3-505054503030":["Process Creation","Detailed Tracking"],
"0CCE922C-69AE-11D9-BED3-505054503030":["Process Termination","Detailed Tracking"],
"0CCE922D-69AE-11D9-BED3-505054503030":["DPAPI Activity","Detailed Tracking"],
"0CCE922E-69AE-11D9-BED3-505054503030":["RPC Events","Detailed Tracking"],
"0CCE9248-69AE-11D9-BED3-505054503030":["Plug and Play Events","Detailed Tracking"],
"0CCE922F-69AE-11D9-BED3-505054503030":["Audit Policy Change","Policy Change"],
"0CCE9230-69AE-11D9-BED3-505054503030":["Authentication Policy Change","Policy Change"],
"0CCE9231-69AE-11D9-BED3-505054503030":["Authorization Policy Change","Policy Change"],
"0CCE9232-69AE-11D9-BED3-505054503030":["MPSSVC Rule-Level Policy Change","Policy Change"],
"0CCE9233-69AE-11D9-BED3-505054503030":["Filtering Platform Policy Change","Policy Change"],
"0CCE9234-69AE-11D9-BED3-505054503030":["Other Policy Change Events","Policy Change"],
"0CCE9235-69AE-11D9-BED3-505054503030":["User Account Management","Account Management"],
"0CCE9236-69AE-11D9-BED3-505054503030":["Computer Account Management","Account Management"],
"0CCE9237-69AE-11D9-BED3-505054503030":["Security Group Management","Account Management"],
"0CCE9238-69AE-11D9-BED3-505054503030":["Distribution Group Management","Account Management"],
"0CCE9239-69AE-11D9-BED3-505054503030":["Application Group Management","Account Management"],
"0CCE923A-69AE-11D9-BED3-505054503030":["Other Account Management Events","Account Management"],
"0CCE923B-69AE-11D9-BED3-505054503030":["Directory Service Access","Account Management"],
"0CCE923C-69AE-11D9-BED3-505054503030":["Directory Service Changes","Account Management"],
"0CCE923D-69AE-11D9-BED3-505054503030":["Directory Service Replication","Account Management"],
"0CCE923E-69AE-11D9-BED3-505054503030":["Detailed Directory Service Replication","Account Management"],
"0CCE923F-69AE-11D9-BED3-505054503030":["Credential Validation","Account Logon"],
"0CCE9240-69AE-11D9-BED3-505054503030":["Kerberos Service Ticket Operations","Account Logon"],
"0CCE9241-69AE-11D9-BED3-505054503030":["Other Account Logon Events","Account Logon"],
"0CCE9242-69AE-11D9-BED3-505054503030":["Kerberos Authentication Service","Account Logon"],
};
// Descriptions of failure status codes.
// https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4625
// https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4776
var logonFailureStatus = {
"0xc000005e": "There are currently no logon servers available to service the logon request.",
"0xc0000064": "User logon with misspelled or bad user account",
"0xc000006a": "User logon with misspelled or bad password",
"0xc000006d": "This is either due to a bad username or authentication information",
"0xc000006e": "Unknown user name or bad password.",
"0xc000006f": "User logon outside authorized hours",
"0xc0000070": "User logon from unauthorized workstation",
"0xc0000071": "User logon with expired password",
"0xc0000072": "User logon to account disabled by administrator",
"0xc00000dc": "Indicates the Sam Server was in the wrong state to perform the desired operation.",
"0xc0000133": "Clocks between DC and other computer too far out of sync",
"0xc000015b": "The user has not been granted the requested logon type (aka logon right) at this machine",
"0xc000018c": "The logon request failed because the trust relationship between the primary domain and the trusted domain failed.",
"0xc0000192": "An attempt was made to logon, but the Netlogon service was not started.",
"0xc0000193": "User logon with expired account",
"0xc0000224": "User is required to change password at next logon",
"0xc0000225": "Evidently a bug in Windows and not a risk",
"0xc0000234": "User logon with account locked",
"0xc00002ee": "Failure Reason: An Error occurred during Logon",
"0xc0000413": "Logon Failure: The machine you are logging onto is protected by an authentication firewall. The specified account is not allowed to authenticate to the machine.",
"0xc0000371": "The local account store does not contain secret material for the specified account",
"0x0": "Status OK.",
};
// Message table extracted from msobjs.dll on Windows 2019.
// https://gist.github.com/andrewkroh/665dca0682bd0e4daf194ab291694012
var msobjsMessageTable = {
"279": "Undefined Access (no effect) Bit 7",
"1536": "Unused message ID",
"1537": "DELETE",
"1538": "READ_CONTROL",
"1539": "WRITE_DAC",
"1540": "WRITE_OWNER",
"1541": "SYNCHRONIZE",
"1542": "ACCESS_SYS_SEC",
"1543": "MAX_ALLOWED",
"1552": "Unknown specific access (bit 0)",
"1553": "Unknown specific access (bit 1)",
"1554": "Unknown specific access (bit 2)",
"1555": "Unknown specific access (bit 3)",
"1556": "Unknown specific access (bit 4)",
"1557": "Unknown specific access (bit 5)",
"1558": "Unknown specific access (bit 6)",
"1559": "Unknown specific access (bit 7)",
"1560": "Unknown specific access (bit 8)",
"1561": "Unknown specific access (bit 9)",
"1562": "Unknown specific access (bit 10)",
"1563": "Unknown specific access (bit 11)",
"1564": "Unknown specific access (bit 12)",
"1565": "Unknown specific access (bit 13)",
"1566": "Unknown specific access (bit 14)",
"1567": "Unknown specific access (bit 15)",
"1601": "Not used",
"1603": "Assign Primary Token Privilege",
"1604": "Lock Memory Privilege",
"1605": "Increase Memory Quota Privilege",
"1606": "Unsolicited Input Privilege",
"1607": "Trusted Computer Base Privilege",
"1608": "Security Privilege",
"1609": "Take Ownership Privilege",
"1610": "Load/Unload Driver Privilege",
"1611": "Profile System Privilege",
"1612": "Set System Time Privilege",
"1613": "Profile Single Process Privilege",
"1614": "Increment Base Priority Privilege",
"1615": "Create Pagefile Privilege",
"1616": "Create Permanent Object Privilege",
"1617": "Backup Privilege",
"1618": "Restore From Backup Privilege",
"1619": "Shutdown System Privilege",
"1620": "Debug Privilege",
"1621": "View or Change Audit Log Privilege",
"1622": "Change Hardware Environment Privilege",
"1623": "Change Notify (and Traverse) Privilege",
"1624": "Remotely Shut System Down Privilege",
"1792": "<value changed",
"1793": "<value not set>",
"1794": "<never>",
"1795": "Enabled",
"1796": "Disabled",
"1797": "All",
"1798": "None",
"1799": "Audit Policy query/set API Operation",
"1800": "<Value change auditing for this registry type is not supported>",
"1801": "Granted by",
"1802": "Denied by",
"1803": "Denied by Integrity Policy check",
"1804": "Granted by Ownership",
"1805": "Not granted",
"1806": "Granted by NULL DACL",
"1807": "Denied by Empty DACL",
"1808": "Granted by NULL Security Descriptor",
"1809": "Unknown or unchecked",
"1810": "Not granted due to missing",
"1811": "Granted by ACE on parent folder",
"1812": "Denied by ACE on parent folder",
"1813": "Granted by Central Access Rule",
"1814": "NOT Granted by Central Access Rule",
"1815": "Granted by parent folder's Central Access Rule",
"1816": "NOT Granted by parent folder's Central Access Rule",
"1817": "Unknown Type",
"1818": "String",
"1819": "Unsigned 64-bit Integer",
"1820": "64-bit Integer",
"1821": "FQBN",
"1822": "Blob",
"1823": "Sid",
"1824": "Boolean",
"1825": "TRUE",
"1826": "FALSE",
"1827": "Invalid",
"1828": "an ACE too long to display",
"1829": "a Security Descriptor too long to display",
"1830": "Not granted to AppContainers",
"1831": "...",
"1832": "Identification",
"1833": "Impersonation",
"1840": "Delegation",
"1841": "Denied by Process Trust Label ACE",
"1842": "Yes",
"1843": "No",
"1844": "System",
"1845": "Not Available",
"1846": "Default",
"1847": "DisallowMmConfig",
"1848": "Off",
"1849": "Auto",
"1872": "REG_NONE",
"1873": "REG_SZ",
"1874": "REG_EXPAND_SZ",
"1875": "REG_BINARY",
"1876": "REG_DWORD",
"1877": "REG_DWORD_BIG_ENDIAN",
"1878": "REG_LINK",
"1879": "REG_MULTI_SZ (New lines are replaced with *. A * is replaced with **)",
"1880": "REG_RESOURCE_LIST",
"1881": "REG_FULL_RESOURCE_DESCRIPTOR",
"1882": "REG_RESOURCE_REQUIREMENTS_LIST",
"1883": "REG_QWORD",
"1904": "New registry value created",
"1905": "Existing registry value modified",
"1906": "Registry value deleted",
"1920": "Sunday",
"1921": "Monday",
"1922": "Tuesday",
"1923": "Wednesday",
"1924": "Thursday",
"1925": "Friday",
"1926": "Saturday",
"1936": "TokenElevationTypeDefault (1)",
"1937": "TokenElevationTypeFull (2)",
"1938": "TokenElevationTypeLimited (3)",
"2048": "Account Enabled",
"2049": "Home Directory Required' - Disabled",
"2050": "Password Not Required' - Disabled",
"2051": "Temp Duplicate Account' - Disabled",
"2052": "Normal Account' - Disabled",
"2053": "MNS Logon Account' - Disabled",
"2054": "Interdomain Trust Account' - Disabled",
"2055": "Workstation Trust Account' - Disabled",
"2056": "Server Trust Account' - Disabled",
"2057": "Don't Expire Password' - Disabled",
"2058": "Account Unlocked",
"2059": "Encrypted Text Password Allowed' - Disabled",
"2060": "Smartcard Required' - Disabled",
"2061": "Trusted For Delegation' - Disabled",
"2062": "Not Delegated' - Disabled",
"2063": "Use DES Key Only' - Disabled",
"2064": "Don't Require Preauth' - Disabled",
"2065": "Password Expired' - Disabled",
"2066": "Trusted To Authenticate For Delegation' - Disabled",
"2067": "Exclude Authorization Information' - Disabled",
"2068": "Undefined UserAccountControl Bit 20' - Disabled",
"2069": "Protect Kerberos Service Tickets with AES Keys' - Disabled",
"2070": "Undefined UserAccountControl Bit 22' - Disabled",
"2071": "Undefined UserAccountControl Bit 23' - Disabled",
"2072": "Undefined UserAccountControl Bit 24' - Disabled",
"2073": "Undefined UserAccountControl Bit 25' - Disabled",
"2074": "Undefined UserAccountControl Bit 26' - Disabled",
"2075": "Undefined UserAccountControl Bit 27' - Disabled",
"2076": "Undefined UserAccountControl Bit 28' - Disabled",
"2077": "Undefined UserAccountControl Bit 29' - Disabled",
"2078": "Undefined UserAccountControl Bit 30' - Disabled",
"2079": "Undefined UserAccountControl Bit 31' - Disabled",
"2080": "Account Disabled",
"2081": "Home Directory Required' - Enabled",
"2082": "Password Not Required' - Enabled",
"2083": "Temp Duplicate Account' - Enabled",
"2084": "Normal Account' - Enabled",
"2085": "MNS Logon Account' - Enabled",
"2086": "Interdomain Trust Account' - Enabled",
"2087": "Workstation Trust Account' - Enabled",
"2088": "Server Trust Account' - Enabled",
"2089": "Don't Expire Password' - Enabled",
"2090": "Account Locked",
"2091": "Encrypted Text Password Allowed' - Enabled",
"2092": "Smartcard Required' - Enabled",
"2093": "Trusted For Delegation' - Enabled",
"2094": "Not Delegated' - Enabled",
"2095": "Use DES Key Only' - Enabled",
"2096": "Don't Require Preauth' - Enabled",
"2097": "Password Expired' - Enabled",
"2098": "Trusted To Authenticate For Delegation' - Enabled",
"2099": "Exclude Authorization Information' - Enabled",
"2100": "Undefined UserAccountControl Bit 20' - Enabled",
"2101": "Protect Kerberos Service Tickets with AES Keys' - Enabled",
"2102": "Undefined UserAccountControl Bit 22' - Enabled",
"2103": "Undefined UserAccountControl Bit 23' - Enabled",
"2104": "Undefined UserAccountControl Bit 24' - Enabled",
"2105": "Undefined UserAccountControl Bit 25' - Enabled",
"2106": "Undefined UserAccountControl Bit 26' - Enabled",
"2107": "Undefined UserAccountControl Bit 27' - Enabled",
"2108": "Undefined UserAccountControl Bit 28' - Enabled",
"2109": "Undefined UserAccountControl Bit 29' - Enabled",
"2110": "Undefined UserAccountControl Bit 30' - Enabled",
"2111": "Undefined UserAccountControl Bit 31' - Enabled",
"2304": "An Error occured during Logon.",
"2305": "The specified user account has expired.",
"2306": "The NetLogon component is not active.",
"2307": "Account locked out.",
"2308": "The user has not been granted the requested logon type at this machine.",
"2309": "The specified account's password has expired.",
"2310": "Account currently disabled.",
"2311": "Account logon time restriction violation.",
"2312": "User not allowed to logon at this computer.",
"2313": "Unknown user name or bad password.",
"2314": "Domain sid inconsistent.",
"2315": "Smartcard logon is required and was not used.",
"2432": "Not Available.",
"2436": "Random number generator failure.",
"2437": "Random number generation failed FIPS-140 pre-hash check.",
"2438": "Failed to zero secret data.",
"2439": "Key failed pair wise consistency check.",
"2448": "Failed to unprotect persistent cryptographic key.",
"2449": "Key export checks failed.",
"2450": "Validation of public key failed.",
"2451": "Signature verification failed.",
"2456": "Open key file.",
"2457": "Delete key file.",
"2458": "Read persisted key from file.",
"2459": "Write persisted key to file.",
"2464": "Export of persistent cryptographic key.",
"2465": "Import of persistent cryptographic key.",
"2480": "Open Key.",
"2481": "Create Key.",
"2482": "Delete Key.",
"2483": "Encrypt.",
"2484": "Decrypt.",
"2485": "Sign hash.",
"2486": "Secret agreement.",
"2487": "Domain settings",
"2488": "Local settings",
"2489": "Add provider.",
"2490": "Remove provider.",
"2491": "Add context.",
"2492": "Remove context.",
"2493": "Add function.",
"2494": "Remove function.",
"2495": "Add function provider.",
"2496": "Remove function provider.",
"2497": "Add function property.",
"2498": "Remove function property.",
"2499": "Machine key.",
"2500": "User key.",
"2501": "Key Derivation.",
"4352": "Device Access Bit 0",
"4353": "Device Access Bit 1",
"4354": "Device Access Bit 2",
"4355": "Device Access Bit 3",
"4356": "Device Access Bit 4",
"4357": "Device Access Bit 5",
"4358": "Device Access Bit 6",
"4359": "Device Access Bit 7",
"4360": "Device Access Bit 8",
"4361": "Undefined Access (no effect) Bit 9",
"4362": "Undefined Access (no effect) Bit 10",
"4363": "Undefined Access (no effect) Bit 11",
"4364": "Undefined Access (no effect) Bit 12",
"4365": "Undefined Access (no effect) Bit 13",
"4366": "Undefined Access (no effect) Bit 14",
"4367": "Undefined Access (no effect) Bit 15",
"4368": "Query directory",
"4369": "Traverse",
"4370": "Create object in directory",
"4371": "Create sub-directory",
"4372": "Undefined Access (no effect) Bit 4",
"4373": "Undefined Access (no effect) Bit 5",
"4374": "Undefined Access (no effect) Bit 6",
"4375": "Undefined Access (no effect) Bit 7",
"4376": "Undefined Access (no effect) Bit 8",
"4377": "Undefined Access (no effect) Bit 9",
"4378": "Undefined Access (no effect) Bit 10",
"4379": "Undefined Access (no effect) Bit 11",
"4380": "Undefined Access (no effect) Bit 12",
"4381": "Undefined Access (no effect) Bit 13",
"4382": "Undefined Access (no effect) Bit 14",
"4383": "Undefined Access (no effect) Bit 15",
"4384": "Query event state",
"4385": "Modify event state",
"4386": "Undefined Access (no effect) Bit 2",
"4387": "Undefined Access (no effect) Bit 3",
"4388": "Undefined Access (no effect) Bit 4",
"4389": "Undefined Access (no effect) Bit 5",
"4390": "Undefined Access (no effect) Bit 6",
"4391": "Undefined Access (no effect) Bit 7",
"4392": "Undefined Access (no effect) Bit 8",
"4393": "Undefined Access (no effect) Bit 9",
"4394": "Undefined Access (no effect) Bit 10",
"4395": "Undefined Access (no effect) Bit 11",
"4396": "Undefined Access (no effect) Bit 12",
"4397": "Undefined Access (no effect) Bit 13",
"4398": "Undefined Access (no effect) Bit 14",
"4399": "Undefined Access (no effect) Bit 15",
"4416": "ReadData (or ListDirectory)",
"4417": "WriteData (or AddFile)",
"4418": "AppendData (or AddSubdirectory or CreatePipeInstance)",
"4419": "ReadEA",
"4420": "WriteEA",
"4421": "Execute/Traverse",
"4422": "DeleteChild",
"4423": "ReadAttributes",
"4424": "WriteAttributes",
"4425": "Undefined Access (no effect) Bit 9",
"4426": "Undefined Access (no effect) Bit 10",
"4427": "Undefined Access (no effect) Bit 11",
"4428": "Undefined Access (no effect) Bit 12",
"4429": "Undefined Access (no effect) Bit 13",
"4430": "Undefined Access (no effect) Bit 14",
"4431": "Undefined Access (no effect) Bit 15",
"4432": "Query key value",
"4433": "Set key value",
"4434": "Create sub-key",
"4435": "Enumerate sub-keys",
"4436": "Notify about changes to keys",
"4437": "Create Link",
"4438": "Undefined Access (no effect) Bit 6",
"4439": "Undefined Access (no effect) Bit 7",
"4440": "Enable 64(or 32) bit application to open 64 bit key",
"4441": "Enable 64(or 32) bit application to open 32 bit key",
"4442": "Undefined Access (no effect) Bit 10",
"4443": "Undefined Access (no effect) Bit 11",
"4444": "Undefined Access (no effect) Bit 12",
"4445": "Undefined Access (no effect) Bit 13",
"4446": "Undefined Access (no effect) Bit 14",
"4447": "Undefined Access (no effect) Bit 15",
"4448": "Query mutant state",
"4449": "Undefined Access (no effect) Bit 1",
"4450": "Undefined Access (no effect) Bit 2",
"4451": "Undefined Access (no effect) Bit 3",
"4452": "Undefined Access (no effect) Bit 4",
"4453": "Undefined Access (no effect) Bit 5",
"4454": "Undefined Access (no effect) Bit 6",
"4455": "Undefined Access (no effect) Bit 7",
"4456": "Undefined Access (no effect) Bit 8",
"4457": "Undefined Access (no effect) Bit 9",
"4458": "Undefined Access (no effect) Bit 10",
"4459": "Undefined Access (no effect) Bit 11",
"4460": "Undefined Access (no effect) Bit 12",
"4461": "Undefined Access (no effect) Bit 13",
"4462": "Undefined Access (no effect) Bit 14",
"4463": "Undefined Access (no effect) Bit 15",
"4464": "Communicate using port",
"4465": "Undefined Access (no effect) Bit 1",
"4466": "Undefined Access (no effect) Bit 2",
"4467": "Undefined Access (no effect) Bit 3",
"4468": "Undefined Access (no effect) Bit 4",
"4469": "Undefined Access (no effect) Bit 5",
"4470": "Undefined Access (no effect) Bit 6",
"4471": "Undefined Access (no effect) Bit 7",
"4472": "Undefined Access (no effect) Bit 8",
"4473": "Undefined Access (no effect) Bit 9",
"4474": "Undefined Access (no effect) Bit 10",
"4475": "Undefined Access (no effect) Bit 11",
"4476": "Undefined Access (no effect) Bit 12",
"4477": "Undefined Access (no effect) Bit 13",
"4478": "Undefined Access (no effect) Bit 14",
"4479": "Undefined Access (no effect) Bit 15",
"4480": "Force process termination",
"4481": "Create new thread in process",
"4482": "Set process session ID",
"4483": "Perform virtual memory operation",
"4484": "Read from process memory",
"4485": "Write to process memory",
"4486": "Duplicate handle into or out of process",
"4487": "Create a subprocess of process",
"4488": "Set process quotas",
"4489": "Set process information",
"4490": "Query process information",
"4491": "Set process termination port",
"4492": "Undefined Access (no effect) Bit 12",
"4493": "Undefined Access (no effect) Bit 13",
"4494": "Undefined Access (no effect) Bit 14",
"4495": "Undefined Access (no effect) Bit 15",
"4496": "Control profile",
"4497": "Undefined Access (no effect) Bit 1",
"4498": "Undefined Access (no effect) Bit 2",
"4499": "Undefined Access (no effect) Bit 3",
"4500": "Undefined Access (no effect) Bit 4",
"4501": "Undefined Access (no effect) Bit 5",
"4502": "Undefined Access (no effect) Bit 6",
"4503": "Undefined Access (no effect) Bit 7",
"4504": "Undefined Access (no effect) Bit 8",
"4505": "Undefined Access (no effect) Bit 9",
"4506": "Undefined Access (no effect) Bit 10",
"4507": "Undefined Access (no effect) Bit 11",
"4508": "Undefined Access (no effect) Bit 12",
"4509": "Undefined Access (no effect) Bit 13",
"4510": "Undefined Access (no effect) Bit 14",
"4511": "Undefined Access (no effect) Bit 15",
"4512": "Query section state",
"4513": "Map section for write",
"4514": "Map section for read",
"4515": "Map section for execute",
"4516": "Extend size",
"4517": "Undefined Access (no effect) Bit 5",
"4518": "Undefined Access (no effect) Bit 6",
"4519": "Undefined Access (no effect) Bit 7",
"4520": "Undefined Access (no effect) Bit 8",
"4521": "Undefined Access (no effect) Bit 9",
"4522": "Undefined Access (no effect) Bit 10",
"4523": "Undefined Access (no effect) Bit 11",
"4524": "Undefined Access (no effect) Bit 12",
"4525": "Undefined Access (no effect) Bit 13",
"4526": "Undefined Access (no effect) Bit 14",
"4527": "Undefined Access (no effect) Bit 15",
"4528": "Query semaphore state",
"4529": "Modify semaphore state",
"4530": "Undefined Access (no effect) Bit 2",
"4531": "Undefined Access (no effect) Bit 3",
"4532": "Undefined Access (no effect) Bit 4",
"4533": "Undefined Access (no effect) Bit 5",
"4534": "Undefined Access (no effect) Bit 6",
"4535": "Undefined Access (no effect) Bit 7",
"4536": "Undefined Access (no effect) Bit 8",
"4537": "Undefined Access (no effect) Bit 9",
"4538": "Undefined Access (no effect) Bit 10",
"4539": "Undefined Access (no effect) Bit 11",
"4540": "Undefined Access (no effect) Bit 12",
"4541": "Undefined Access (no effect) Bit 13",
"4542": "Undefined Access (no effect) Bit 14",
"4543": "Undefined Access (no effect) Bit 15",
"4544": "Use symbolic link",
"4545": "Undefined Access (no effect) Bit 1",
"4546": "Undefined Access (no effect) Bit 2",
"4547": "Undefined Access (no effect) Bit 3",
"4548": "Undefined Access (no effect) Bit 4",
"4549": "Undefined Access (no effect) Bit 5",
"4550": "Undefined Access (no effect) Bit 6",
"4551": "Undefined Access (no effect) Bit 7",
"4552": "Undefined Access (no effect) Bit 8",
"4553": "Undefined Access (no effect) Bit 9",
"4554": "Undefined Access (no effect) Bit 10",
"4555": "Undefined Access (no effect) Bit 11",
"4556": "Undefined Access (no effect) Bit 12",
"4557": "Undefined Access (no effect) Bit 13",
"4558": "Undefined Access (no effect) Bit 14",
"4559": "Undefined Access (no effect) Bit 15",
"4560": "Force thread termination",
"4561": "Suspend or resume thread",
"4562": "Send an alert to thread",
"4563": "Get thread context",
"4564": "Set thread context",
"4565": "Set thread information",
"4566": "Query thread information",
"4567": "Assign a token to the thread",
"4568": "Cause thread to directly impersonate another thread",
"4569": "Directly impersonate this thread",
"4570": "Undefined Access (no effect) Bit 10",
"4571": "Undefined Access (no effect) Bit 11",
"4572": "Undefined Access (no effect) Bit 12",
"4573": "Undefined Access (no effect) Bit 13",
"4574": "Undefined Access (no effect) Bit 14",
"4575": "Undefined Access (no effect) Bit 15",
"4576": "Query timer state",
"4577": "Modify timer state",
"4578": "Undefined Access (no effect) Bit 2",
"4579": "Undefined Access (no effect) Bit 3",
"4580": "Undefined Access (no effect) Bit 4",
"4581": "Undefined Access (no effect) Bit 5",
"4582": "Undefined Access (no effect) Bit 6",
"4584": "Undefined Access (no effect) Bit 8",
"4585": "Undefined Access (no effect) Bit 9",
"4586": "Undefined Access (no effect) Bit 10",
"4587": "Undefined Access (no effect) Bit 11",
"4588": "Undefined Access (no effect) Bit 12",
"4589": "Undefined Access (no effect) Bit 13",
"4590": "Undefined Access (no effect) Bit 14",
"4591": "Undefined Access (no effect) Bit 15",
"4592": "AssignAsPrimary",
"4593": "Duplicate",
"4594": "Impersonate",
"4595": "Query",
"4596": "QuerySource",
"4597": "AdjustPrivileges",
"4598": "AdjustGroups",
"4599": "AdjustDefaultDacl",
"4600": "AdjustSessionID",
"4601": "Undefined Access (no effect) Bit 9",
"4602": "Undefined Access (no effect) Bit 10",
"4603": "Undefined Access (no effect) Bit 11",
"4604": "Undefined Access (no effect) Bit 12",
"4605": "Undefined Access (no effect) Bit 13",
"4606": "Undefined Access (no effect) Bit 14",
"4607": "Undefined Access (no effect) Bit 15",
"4608": "Create instance of object type",
"4609": "Undefined Access (no effect) Bit 1",
"4610": "Undefined Access (no effect) Bit 2",
"4611": "Undefined Access (no effect) Bit 3",
"4612": "Undefined Access (no effect) Bit 4",
"4613": "Undefined Access (no effect) Bit 5",
"4614": "Undefined Access (no effect) Bit 6",
"4615": "Undefined Access (no effect) Bit 7",
"4616": "Undefined Access (no effect) Bit 8",
"4617": "Undefined Access (no effect) Bit 9",
"4618": "Undefined Access (no effect) Bit 10",
"4619": "Undefined Access (no effect) Bit 11",
"4620": "Undefined Access (no effect) Bit 12",
"4621": "Undefined Access (no effect) Bit 13",
"4622": "Undefined Access (no effect) Bit 14",
"4623": "Undefined Access (no effect) Bit 15",
"4864": "Query State",
"4865": "Modify State",
"5120": "Channel read message",
"5121": "Channel write message",
"5122": "Channel query information",
"5123": "Channel set information",
"5124": "Undefined Access (no effect) Bit 4",
"5125": "Undefined Access (no effect) Bit 5",
"5126": "Undefined Access (no effect) Bit 6",
"5127": "Undefined Access (no effect) Bit 7",
"5128": "Undefined Access (no effect) Bit 8",
"5129": "Undefined Access (no effect) Bit 9",
"5130": "Undefined Access (no effect) Bit 10",
"5131": "Undefined Access (no effect) Bit 11",
"5132": "Undefined Access (no effect) Bit 12",
"5133": "Undefined Access (no effect) Bit 13",
"5134": "Undefined Access (no effect) Bit 14",
"5135": "Undefined Access (no effect) Bit 15",
"5136": "Assign process",
"5137": "Set Attributes",
"5138": "Query Attributes",
"5139": "Terminate Job",
"5140": "Set Security Attributes",
"5141": "Undefined Access (no effect) Bit 5",
"5142": "Undefined Access (no effect) Bit 6",
"5143": "Undefined Access (no effect) Bit 7",
"5144": "Undefined Access (no effect) Bit 8",
"5145": "Undefined Access (no effect) Bit 9",
"5146": "Undefined Access (no effect) Bit 10",
"5147": "Undefined Access (no effect) Bit 11",
"5148": "Undefined Access (no effect) Bit 12",
"5149": "Undefined Access (no effect) Bit 13",
"5150": "Undefined Access (no effect) Bit 14",
"5151": "Undefined Access (no effect) Bit 15",
"5376": "ConnectToServer",
"5377": "ShutdownServer",
"5378": "InitializeServer",
"5379": "CreateDomain",
"5380": "EnumerateDomains",
"5381": "LookupDomain",
"5382": "Undefined Access (no effect) Bit 6",
"5383": "Undefined Access (no effect) Bit 7",
"5384": "Undefined Access (no effect) Bit 8",
"5385": "Undefined Access (no effect) Bit 9",
"5386": "Undefined Access (no effect) Bit 10",
"5387": "Undefined Access (no effect) Bit 11",
"5388": "Undefined Access (no effect) Bit 12",
"5389": "Undefined Access (no effect) Bit 13",
"5390": "Undefined Access (no effect) Bit 14",
"5391": "Undefined Access (no effect) Bit 15",
"5392": "ReadPasswordParameters",
"5393": "WritePasswordParameters",
"5394": "ReadOtherParameters",
"5395": "WriteOtherParameters",
"5396": "CreateUser",
"5397": "CreateGlobalGroup",
"5398": "CreateLocalGroup",
"5399": "GetLocalGroupMembership",
"5400": "ListAccounts",
"5401": "LookupIDs",
"5402": "AdministerServer",
"5403": "Undefined Access (no effect) Bit 11",
"5404": "Undefined Access (no effect) Bit 12",
"5405": "Undefined Access (no effect) Bit 13",
"5406": "Undefined Access (no effect) Bit 14",
"5407": "Undefined Access (no effect) Bit 15",
"5408": "ReadInformation",
"5409": "WriteAccount",
"5410": "AddMember",
"5411": "RemoveMember",
"5412": "ListMembers",
"5413": "Undefined Access (no effect) Bit 5",
"5414": "Undefined Access (no effect) Bit 6",
"5415": "Undefined Access (no effect) Bit 7",
"5416": "Undefined Access (no effect) Bit 8",
"5417": "Undefined Access (no effect) Bit 9",
"5418": "Undefined Access (no effect) Bit 10",
"5419": "Undefined Access (no effect) Bit 11",
"5420": "Undefined Access (no effect) Bit 12",
"5421": "Undefined Access (no effect) Bit 13",
"5422": "Undefined Access (no effect) Bit 14",
"5423": "Undefined Access (no effect) Bit 15",
"5424": "AddMember",
"5425": "RemoveMember",
"5426": "ListMembers",
"5427": "ReadInformation",
"5428": "WriteAccount",
"5429": "Undefined Access (no effect) Bit 5",
"5430": "Undefined Access (no effect) Bit 6",
"5431": "Undefined Access (no effect) Bit 7",
"5432": "Undefined Access (no effect) Bit 8",
"5433": "Undefined Access (no effect) Bit 9",
"5434": "Undefined Access (no effect) Bit 10",
"5435": "Undefined Access (no effect) Bit 11",
"5436": "Undefined Access (no effect) Bit 12",
"5437": "Undefined Access (no effect) Bit 13",
"5438": "Undefined Access (no effect) Bit 14",
"5439": "Undefined Access (no effect) Bit 15",
"5440": "ReadGeneralInformation",
"5441": "ReadPreferences",
"5442": "WritePreferences",
"5443": "ReadLogon",
"5444": "ReadAccount",
"5445": "WriteAccount",
"5446": "ChangePassword (with knowledge of old password)",
"5447": "SetPassword (without knowledge of old password)",
"5448": "ListGroups",
"5449": "ReadGroupMembership",
"5450": "ChangeGroupMembership",
"5451": "Undefined Access (no effect) Bit 11",
"5452": "Undefined Access (no effect) Bit 12",
"5453": "Undefined Access (no effect) Bit 13",
"5454": "Undefined Access (no effect) Bit 14",
"5455": "Undefined Access (no effect) Bit 15",
"5632": "View non-sensitive policy information",
"5633": "View system audit requirements",
"5634": "Get sensitive policy information",
"5635": "Modify domain trust relationships",
"5636": "Create special accounts (for assignment of user rights)",
"5637": "Create a secret object",
"5638": "Create a privilege",
"5639": "Set default quota limits",
"5640": "Change system audit requirements",
"5641": "Administer audit log attributes",
"5642": "Enable/Disable LSA",