-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathSecurityBaselineConfigurationWS2016.ps1
More file actions
2085 lines (1616 loc) · 60.2 KB
/
Copy pathSecurityBaselineConfigurationWS2016.ps1
File metadata and controls
2085 lines (1616 loc) · 60.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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
Configuration SecurityBaselineConfigurationWS2016
{
Import-DSCResource -ModuleName 'PSDesiredStateConfiguration'
Import-DSCResource -ModuleName 'AuditPolicyDSC'
Import-DSCResource -ModuleName 'SecurityPolicyDSC'
Node localhost
{
Registry "CCE-37615-2: Ensure 'Accounts: Limit local account use of blank passwords to console logon only' is set to 'Enabled'"
{
ValueName = 'LimitBlankPasswordUse'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa'
ValueData = 1
}
Registry "CCE-36254-1: Ensure 'Allow Basic authentication' is set to 'Disabled'"
{
ValueName = 'AllowBasic'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Client'
ValueData = 0
}
Registry "NOT_ASSIGNED: Ensure 'Allow Cortana above lock screen' is set to 'Disabled'"
{
ValueName = 'AllowCortanaAboveLock'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Windows Search'
ValueData = 0
}
Registry "NOT_ASSIGNED: Ensure 'Allow Cortana' is set to 'Disabled'"
{
ValueName = 'AllowCortana'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Windows Search'
ValueData = 0
}
Registry "CCE-38277-0: Ensure 'Allow indexing of encrypted files' is set to 'Disabled'"
{
ValueName = 'AllowIndexingEncryptedStoresOrItems'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Windows Search'
ValueData = 0
}
Registry "NOT_ASSIGNED: Ensure 'Allow Input Personalization' is set to 'Disabled'"
{
ValueName = 'AllowInputPersonalization'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\InputPersonalization'
ValueData = 0
}
Registry "CCE-38354-7: Ensure 'Allow Microsoft accounts to be optional' is set to 'Enabled'"
{
ValueName = 'MSAOptional'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 1
}
Registry "NOT_ASSIGNED: Ensure 'Allow search and Cortana to use location' is set to 'Disabled'"
{
ValueName = 'AllowSearchToUseLocation'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Windows Search'
ValueData = 0
}
Registry "AZ-WIN-00169: Ensure 'Allow Telemetry' is set to 'Enabled: 0 - Security [Enterprise Only]'"
{
ValueName = 'AllowTelemetry'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\DataCollection'
ValueData = 0
}
Registry "CCE-38223-4: Ensure 'Allow unencrypted traffic' is set to 'Disabled'"
{
ValueName = 'AllowUnencryptedTraffic'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Client'
ValueData = 0
}
Registry "CCE-36400-0: Ensure 'Allow user control over installs' is set to 'Disabled'"
{
ValueName = 'EnableUserControl'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
ValueData = 0
}
Registry "CCE-37490-0: Ensure 'Always install with elevated privileges' is set to 'Disabled'"
{
ValueName = 'AlwaysInstallElevated'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
ValueData = 0
}
Registry "CCE-37929-7: Ensure 'Always prompt for password upon connection' is set to 'Enabled'"
{
ValueName = 'fPromptForPassword'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'
ValueData = 1
}
Registry "CCE-37775-4: Ensure 'Application: Control Event Log behavior when the log file reaches its maximum size' is set to 'Disabled'"
{
ValueName = 'Retention'
ValueType = 'String'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\Application'
ValueData = '0'
}
Registry "CCE-37948-7: Ensure 'Application: Specify the maximum log file size ' is set to 'Enabled: 32,768 or greater'"
{
ValueName = 'MaxSize'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\Application'
ValueData = 32768
}
Registry "CCE-37850-5: Ensure 'Audit: Force audit policy subcategory settings to override audit policy category settings' is set to 'Enabled'"
{
ValueName = 'SCENoApplyLegacyAuditPolicy'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa'
ValueData = 1
}
Registry "CCE-35907-5: Ensure 'Audit: Shut down system immediately if unable to log security audits' is set to 'Disabled'"
{
ValueName = 'CrashOnAuditFail'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa'
ValueData = 0
}
Registry "NOT_ASSIGNED: Ensure 'Block user from showing account details on sign-in' is set to 'Enabled'"
{
ValueName = 'BlockUserFromShowingAccountDetailsOnSignin'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\System'
ValueData = 1
}
Registry "CCE-37912-3: Ensure 'Boot-Start Driver Initialization Policy' is set to 'Enabled: Good, unknown and bad but critical'"
{
ValueName = 'DriverLoadPolicy'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Policies\EarlyLaunch'
ValueData = 3
}
Registry "CCE-36388-7: Ensure 'Configure Offer Remote Assistance' is set to 'Disabled'"
{
ValueName = 'fAllowUnsolicited'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'
ValueData = 0
}
Registry "CCE-36169-1: Ensure 'Configure registry policy processing: Do not apply during periodic background processing' is set to 'Enabled: FALSE'"
{
ValueName = 'NoBackgroundPolicy'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}'
ValueData = 0
}
Registry "CCE-36169-1: Ensure 'Configure registry policy processing: Process even if the Group Policy objects have not changed' is set to 'Enabled: TRUE'"
{
ValueName = 'NoGPOListChanges'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}'
ValueData = 0
}
Registry "CCE-37281-3: Ensure 'Configure Solicited Remote Assistance' is set to 'Disabled'"
{
ValueName = 'fAllowToGetHelp'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'
ValueData = 0
}
Registry "CCE-35859-8: Ensure 'Configure Windows SmartScreen' is set to 'Enabled'"
{
ValueName = 'EnableSmartScreen'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\System'
ValueData = 1
}
Registry "NOT_ASSIGNED: Ensure 'Continue experiences on this device' is set to 'Disabled'"
{
ValueName = 'EnableCdp'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\System'
ValueData = 0
}
Registry "CCE-37701-0: Ensure 'Devices: Allowed to format and eject removable media' is set to 'Administrators'"
{
ValueName = 'AllocateDASD'
ValueType = 'String'
Key = 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon'
ValueData = '0'
}
Registry "CCE-37942-0: Ensure 'Devices: Prevent users from installing printer drivers' is set to 'Enabled'"
{
ValueName = 'AddPrinterDrivers'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Print\Providers\LanMan Print Services\Servers'
ValueData = 1
}
Registry "CCE-37636-8: Ensure 'Disallow Autoplay for non-volume devices' is set to 'Enabled'"
{
ValueName = 'NoAutoplayfornonVolume'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
ValueData = 1
}
Registry "CCE-38318-2: Ensure 'Disallow Digest authentication' is set to 'Enabled'"
{
ValueName = 'AllowDigest'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Client'
ValueData = 0
}
Registry "CCE-36000-8: Ensure 'Disallow WinRM from storing RunAs credentials' is set to 'Enabled'"
{
ValueName = 'DisableRunAs'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service'
ValueData = 1
}
Registry "CCE-36223-6: Ensure 'Do not allow passwords to be saved' is set to 'Enabled'"
{
ValueName = 'DisablePasswordSaving'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'
ValueData = 1
}
Registry "CCE-38353-9: Ensure 'Do not display network selection UI' is set to 'Enabled'"
{
ValueName = 'DontDisplayNetworkSelectionUI'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\System'
ValueData = 1
}
Registry "CCE-37534-5: Ensure 'Do not display the password reveal button' is set to 'Enabled'"
{
ValueName = 'DisablePasswordReveal'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\CredUI'
ValueData = 1
}
Registry "CCE-37838-0: Ensure 'Do not enumerate connected users on domain-joined computers' is set to 'Enabled'"
{
ValueName = 'DontEnumerateConnectedUsers'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\System'
ValueData = 0
}
Registry "NOT_ASSIGNED: Ensure 'Do not show feedback notifications' is set to 'Enabled'"
{
ValueName = 'DoNotShowFeedbackNotifications'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\DataCollection'
ValueData = 1
}
Registry "CCE-38180-6: Ensure 'Do not use temporary folders per session' is set to 'Disabled'"
{
ValueName = 'PerSessionTempDir'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'
ValueData = 1
}
Registry "CCE-36142-8: Ensure 'Domain member: Digitally encrypt or sign secure channel data ' is set to 'Enabled'"
{
ValueName = 'RequireSignOrSeal'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters'
ValueData = 1
}
Registry "CCE-37130-2: Ensure 'Domain member: Digitally encrypt secure channel data ' is set to 'Enabled'"
{
ValueName = 'SealSecureChannel'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters'
ValueData = 1
}
Registry "CCE-37222-7: Ensure 'Domain member: Digitally sign secure channel data (when possible)' is set to 'Enabled'"
{
ValueName = 'SignSecureChannel'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters'
ValueData = 1
}
Registry "CCE-37508-9: Ensure 'Domain member: Disable machine account password changes' is set to 'Disabled'"
{
ValueName = 'DisablePasswordChange'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters'
ValueData = 0
}
Registry "CCE-37431-4: Ensure 'Domain member: Maximum machine account password age' is set to '30 or fewer days, but not 0'"
{
ValueName = 'MaximumPasswordAge'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters'
ValueData = 30
}
Registry "CCE-37614-5: Ensure 'Domain member: Require strong session key' is set to 'Enabled'"
{
ValueName = 'RequireStrongKey'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters'
ValueData = 1
}
Registry "NOT_ASSIGNED: Ensure 'Enable insecure guest logons' is set to 'Disabled'"
{
ValueName = 'AllowInsecureGuestAuth'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation'
ValueData = 0
}
Registry "CCE-37346-4: Ensure 'Enable RPC Endpoint Mapper Client Authentication' is set to 'Enabled'"
{
ValueName = 'EnableAuthEpResolution'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc'
ValueData = 1
}
Registry "CCE-36512-2: Ensure 'Enumerate administrator accounts on elevation' is set to 'Disabled'"
{
ValueName = 'EnumerateAdministrators'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\CredUI'
ValueData = 0
}
Registry "CCE-35894-5: Ensure 'Enumerate local users on domain-joined computers' is set to 'Disabled'"
{
ValueName = 'EnumerateLocalUsers'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\System'
ValueData = 0
}
Registry "CCE-36056-0: Ensure 'Interactive logon: Do not display last user name' is set to 'Enabled'"
{
ValueName = 'DontDisplayLastUserName'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 1
}
Registry "CCE-37637-6: Ensure 'Interactive logon: Do not require CTRL+ALT+DEL' is set to 'Disabled'"
{
ValueName = 'DisableCAD'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 0
}
Registry "CCE-36325-9: Ensure 'Microsoft network client: Digitally sign communications (always)' is set to 'Enabled'"
{
ValueName = 'RequireSecuritySignature'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\LanmanWorkstation\Parameters'
ValueData = 1
}
Registry "CCE-36269-9: Ensure 'Microsoft network client: Digitally sign communications (if server agrees)' is set to 'Enabled'"
{
ValueName = 'EnableSecuritySignature'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\LanmanWorkstation\Parameters'
ValueData = 1
}
Registry "CCE-37863-8: Ensure 'Microsoft network client: Send unencrypted password to third-party SMB servers' is set to 'Disabled'"
{
ValueName = 'EnablePlainTextPassword'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\LanmanWorkstation\Parameters'
ValueData = 0
}
Registry "CCE-38046-9: Ensure 'Microsoft network server: Amount of idle time required before suspending session' is set to '15 or fewer minute, but not 0'"
{
ValueName = 'AutoDisconnect'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters'
ValueData = 15
}
Registry "CCE-37864-6: Ensure 'Microsoft network server: Digitally sign communications (always)' is set to 'Enabled'"
{
ValueName = 'RequireSecuritySignature'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters'
ValueData = 1
}
Registry "CCE-35988-5: Ensure 'Microsoft network server: Digitally sign communications (if client agrees)' is set to 'Enabled'"
{
ValueName = 'EnableSecuritySignature'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters'
ValueData = 1
}
Registry "CCE-37972-7: Ensure 'Microsoft network server: Disconnect clients when logon hours expire' is set to 'Enabled'"
{
ValueName = 'EnableForcedLogoff'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters'
ValueData = 1
}
Registry "CCE-38338-0: Ensure 'Minimize the number of simultaneous connections to the Internet or a Windows Domain' is set to 'Enabled'"
{
ValueName = 'fMinimizeConnections'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\WcmSvc\GroupPolicy'
ValueData = 1
}
Registry "CCE-36077-6: Ensure 'Network access: Do not allow anonymous enumeration of SAM accounts and shares' is set to 'Enabled'"
{
ValueName = 'RestrictAnonymous'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa'
ValueData = 1
}
Registry "CCE-36316-8: Ensure 'Network access: Do not allow anonymous enumeration of SAM accounts' is set to 'Enabled'"
{
ValueName = 'RestrictAnonymousSAM'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa'
ValueData = 1
}
Registry "CCE-36148-5: Ensure 'Network access: Let Everyone permissions apply to anonymous users' is set to 'Disabled'"
{
ValueName = 'EveryoneIncludesAnonymous'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa'
ValueData = 0
}
Registry "CCE-36021-4: Ensure 'Network access: Restrict anonymous access to Named Pipes and Shares' is set to 'Enabled'"
{
ValueName = 'RestrictNullSessAccess'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters'
ValueData = 1
}
Registry "NOT_ASSIGNED: Ensure 'Network access: Restrict clients allowed to make remote calls to SAM' is set to 'Administrators: Remote Access: Allow'"
{
ValueName = 'RestrictRemoteSAM'
ValueType = 'String'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa'
ValueData = 'O:BAG:BAD:(A;;RC;;;BA)'
}
Registry "CCE-38095-6: Ensure 'Network access: Shares that can be accessed anonymously' is set to 'None'"
{
ValueName = 'NullSessionShares'
ValueType = 'MultiString'
Key = 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters'
ValueData = '0'
}
Registry "CCE-37623-6: Ensure 'Network access: Sharing and security model for local accounts' is set to 'Classic - local users authenticate as themselves'"
{
ValueName = 'ForceGuest'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa'
ValueData = 0
}
Registry "CCE-38341-4: Ensure 'Network security: Allow Local System to use computer identity for NTLM' is set to 'Enabled'"
{
ValueName = 'UseMachineId'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa'
ValueData = 1
}
Registry "CCE-37035-3: Ensure 'Network security: Allow LocalSystem NULL session fallback' is set to 'Disabled'"
{
ValueName = 'AllowNullSessionFallback'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0'
ValueData = 0
}
Registry "CCE-38047-7: Ensure 'Network Security: Allow PKU2U authentication requests to this computer to use online identities' is set to 'Disabled'"
{
ValueName = 'AllowOnlineID'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa\pku2u'
ValueData = 0
}
Registry "CCE-37755-6: Ensure 'Network Security: Configure encryption types allowed for Kerberos' is set to 'RC4_HMAC_MD5, AES128_HMAC_SHA1, AES256_HMAC_SHA1, Future encryption types'"
{
ValueName = 'SupportedEncryptionTypes'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters'
ValueData = 2147483644
}
Registry "CCE-36326-7: Ensure 'Network security: Do not store LAN Manager hash value on next password change' is set to 'Enabled'"
{
ValueName = 'NoLMHash'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa'
ValueData = 1
}
Registry "CCE-36173-3: Ensure 'Network security: LAN Manager authentication level' is set to 'Send NTLMv2 response only. Refuse LM & NTLM'"
{
ValueName = 'LmCompatibilityLevel'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa'
ValueData = 5
}
Registry "CCE-36858-9: Ensure 'Network security: LDAP client signing requirements' is set to 'Negotiate signing' or higher"
{
ValueName = 'LDAPClientIntegrity'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Services\LDAP'
ValueData = 1
}
Registry "CCE-37553-5: Ensure 'Network security: Minimum session security for NTLM SSP based clients' is set to 'Require NTLMv2 session security, Require 128-bit encryption'"
{
ValueName = 'NTLMMinClientSec'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0'
ValueData = 537395200
}
Registry "CCE-37835-6: Ensure 'Network security: Minimum session security for NTLM SSP based servers' is set to 'Require NTLMv2 session security, Require 128-bit encryption'"
{
ValueName = 'NTLMMinServerSec'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0'
ValueData = 537395200
}
Registry "CCE-37126-0: Ensure 'Prevent downloading of enclosures' is set to 'Enabled'"
{
ValueName = 'DisableEnclosureDownload'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Feeds'
ValueData = 1
}
Registry "CCE-38347-1: Ensure 'Prevent enabling lock screen camera' is set to 'Enabled'"
{
ValueName = 'NoLockScreenCamera'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Personalization'
ValueData = 1
}
Registry "CCE-38348-9: Ensure 'Prevent enabling lock screen slide show' is set to 'Enabled'"
{
ValueName = 'NoLockScreenSlideshow'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Personalization'
ValueData = 1
}
Registry "CCE-38002-2: Ensure 'Prohibit installation and configuration of Network Bridge on your DNS domain network' is set to 'Enabled'"
{
ValueName = 'NC_AllowNetBridge_NLA'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Network Connections'
ValueData = 0
}
Registry "NOT_ASSIGNED: Ensure 'Prohibit use of Internet Connection Sharing on your DNS domain network' is set to 'Enabled'"
{
ValueName = 'NC_PersonalFirewallConfig'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Network Connections'
ValueData = 0
}
Registry "CCE-38188-9: Ensure 'Require domain users to elevate when setting a network's location' is set to 'Enabled'"
{
ValueName = 'NC_StdDomainUserSetLocation'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Network Connections'
ValueData = 1
}
Registry "CCE-37567-5: Ensure 'Require secure RPC communication' is set to 'Enabled'"
{
ValueName = 'fEncryptRPCTraffic'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'
ValueData = 1
}
Registry "CCE-37145-0: Ensure 'Security: Control Event Log behavior when the log file reaches its maximum size' is set to 'Disabled'"
{
ValueName = 'Retention'
ValueType = 'String'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\Security'
ValueData = '0'
}
Registry "CCE-37695-4: Ensure 'Security: Specify the maximum log file size ' is set to 'Enabled: 196,608 or greater'"
{
ValueName = 'MaxSize'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\Security'
ValueData = 196608
}
Registry "CCE-36627-8: Ensure 'Set client connection encryption level' is set to 'Enabled: High Level'"
{
ValueName = 'MinEncryptionLevel'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'
ValueData = 3
}
Registry "CCE-38217-6: Ensure 'Set the default behavior for AutoRun' is set to 'Enabled: Do not execute any autorun commands'"
{
ValueName = 'NoAutorun'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
ValueData = 1
}
Registry "CCE-38276-2: Ensure 'Setup: Control Event Log behavior when the log file reaches its maximum size' is set to 'Disabled'"
{
ValueName = 'Retention'
ValueType = 'String'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\Setup'
ValueData = '0'
}
Registry "CCE-37526-1: Ensure 'Setup: Specify the maximum log file size ' is set to 'Enabled: 32,768 or greater'"
{
ValueName = 'MaxSize'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\Setup'
ValueData = 32768
}
Registry "CCE-36788-8: Ensure 'Shutdown: Allow system to be shut down without having to log on' is set to 'Disabled'"
{
ValueName = 'ShutdownWithoutLogon'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 0
}
Registry "CCE-36977-7: Ensure 'Sign-in last interactive user automatically after a system-initiated restart' is set to 'Disabled'"
{
ValueName = 'DisableAutomaticRestartSignOn'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 1
}
Registry "CCE-37885-1: Ensure 'System objects: Require case insensitivity for non-Windows subsystems' is set to 'Enabled'"
{
ValueName = 'ObCaseInsensitive'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Session Manager\Kernel'
ValueData = 1
}
Registry "CCE-37644-2: Ensure 'System objects: Strengthen default permissions of internal system objects ' is set to 'Enabled'"
{
ValueName = 'ProtectionMode'
ValueType = 'DWORD'
Key = 'HKLM:\System\CurrentControlSet\Control\Session Manager'
ValueData = 1
}
Registry "CCE-35921-6: Ensure 'System settings: Optional subsystems' is set to 'Defined: '"
{
ValueName = 'Optional'
ValueType = 'MultiString'
Key = 'HKLM:\System\CurrentControlSet\Control\Session Manager\SubSYSTEMs'
ValueData = '0'
}
Registry "CCE-36160-0: Ensure 'System: Control Event Log behavior when the log file reaches its maximum size' is set to 'Disabled'"
{
ValueName = 'Retention'
ValueType = 'String'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\System'
ValueData = '0'
}
Registry "CCE-36092-5: Ensure 'System: Specify the maximum log file size ' is set to 'Enabled: 32,768 or greater'"
{
ValueName = 'MaxSize'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\EventLog\System'
ValueData = 32768
}
Registry "CCE-35893-7: Ensure 'Turn off app notifications on the lock screen' is set to 'Enabled'"
{
ValueName = 'DisableLockScreenAppNotifications'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\System'
ValueData = 1
}
Registry "CCE-36875-3: Ensure 'Turn off Autoplay' is set to 'Enabled: All drives'"
{
ValueName = 'NoDriveTypeAutoRun'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
ValueData = 255
}
Registry "CCE-37712-7: Ensure 'Turn off background refresh of Group Policy' is set to 'Disabled'"
{
ValueName = 'DisableBkGndGroupPolicy'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 0
}
Registry "CCE-37809-1: Ensure 'Turn off Data Execution Prevention for Explorer' is set to 'Disabled'"
{
ValueName = 'NoDataExecutionPrevention'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
ValueData = 0
}
Registry "CCE-36660-9: Ensure 'Turn off heap termination on corruption' is set to 'Disabled'"
{
ValueName = 'NoHeapTerminationOnCorruption'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
ValueData = 0
}
Registry "NOT_ASSIGNED: Ensure 'Turn off Microsoft consumer experiences' is set to 'Enabled'"
{
ValueName = 'DisableWindowsConsumerFeatures'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\CloudContent'
ValueData = 1
}
Registry "NOT_ASSIGNED: Ensure 'Turn off multicast name resolution' is set to 'Enabled'"
{
ValueName = 'EnableMulticast'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
ValueData = 1
}
Registry "CCE-36809-2: Ensure 'Turn off shell protocol protected mode' is set to 'Disabled'"
{
ValueName = 'PreXPSP2ShellProtocolBehavior'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
ValueData = 0
}
Registry "CCE-37528-7: Ensure 'Turn on convenience PIN sign-in' is set to 'Disabled'"
{
ValueName = 'AllowDomainPINLogon'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Policies\Microsoft\Windows\System'
ValueData = 0
}
Registry "CCE-36494-3: Ensure 'User Account Control: Admin Approval Mode for the Built-in Administrator account' is set to 'Enabled'"
{
ValueName = 'FilterAdministratorToken'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 1
}
Registry "CCE-36863-9: Ensure 'User Account Control: Allow UIAccess applications to prompt for elevation without using the secure desktop' is set to 'Disabled'"
{
ValueName = 'EnableUIADesktopToggle'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 0
}
Registry "CCE-37029-6: Ensure 'User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode' is set to 'Prompt for consent on the secure desktop'"
{
ValueName = 'ConsentPromptBehaviorAdmin'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 5
}
Registry "CCE-36864-7: Ensure 'User Account Control: Behavior of the elevation prompt for standard users' is set to 'Automatically deny elevation requests'"
{
ValueName = 'ConsentPromptBehaviorUser'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 0
}
Registry "CCE-36533-8: Ensure 'User Account Control: Detect application installations and prompt for elevation' is set to 'Enabled'"
{
ValueName = 'EnableInstallerDetection'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 1
}
Registry "CCE-37057-7: Ensure 'User Account Control: Only elevate UIAccess applications that are installed in secure locations' is set to 'Enabled'"
{
ValueName = 'EnableSecureUIAPaths'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 1
}
Registry "CCE-36869-6: Ensure 'User Account Control: Run all administrators in Admin Approval Mode' is set to 'Enabled'"
{
ValueName = 'EnableLUA'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 1
}
Registry "CCE-36866-2: Ensure 'User Account Control: Switch to the secure desktop when prompting for elevation' is set to 'Enabled'"
{
ValueName = 'PromptOnSecureDesktop'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 1
}
Registry "CCE-37064-3: Ensure 'User Account Control: Virtualize file and registry write failures to per-user locations' is set to 'Enabled'"
{
ValueName = 'EnableVirtualization'
ValueType = 'DWORD'
Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
ValueData = 1
}
Registry "CCE-36062-8: Ensure 'Windows Firewall: Domain: Firewall state' is set to 'On '"
{