Config/AccountPolicy.psd1

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
@{
    Config = @{
        Id = '7c35d566-a1e0-41ca-962a-555b79c41326'
        Name = 'AccountPolicy'
        Area = 'SecurityPolicy'
    }
    Preset = @{
        CIS_Windows_10 = @{
            Enforce_Password_History = 24
            Maximum_Password_Age = 60
            Minimum_Password_Age = 1
            Minimum_Password_Length = 14
            Password_Must_Meet_Complexity_Requirements = $True
            Store_Passwords_Using_Reversible_Encryption = $False
            Account_Lockout_Duration = 15
            Account_Lockout_Threshold = 10
            Reset_Account_Lockout_Counter_After = 15
        }
        CIS_Windows_2016 = @{
            Enforce_Password_History = 24
            Maximum_Password_Age = 60
            Minimum_Password_Age = 1
            Minimum_Password_Length = 14
            Password_Must_Meet_Complexity_Requirements = $True
            Store_Passwords_Using_Reversible_Encryption = $False
            Account_Lockout_Duration = 20
            Account_Lockout_Threshold = 10
            Reset_Account_Lockout_Counter_After = 20
        }
    }
    Data = @{
        Enforce_Password_History = @{
            Key = 'PasswordHistorySize'
            Section = 'System Access'
            InputType = 'System.Int32'
            Score = 1
        }
        Maximum_Password_Age = @{
            Key = 'MaximumPasswordAge'
            Section = 'System Access'
            InputType = 'System.Int32'
            Score = 1
        }
        Minimum_Password_Age = @{
            Key = 'MinimumPasswordAge'
            Section = 'System Access'
            InputType = 'System.Int32'
            Score = 1
        }
        Minimum_Password_Length = @{
            Key = 'MinimumPasswordLength'
            Section = 'System Access'
            InputType = 'System.Int32'
            Score = 1
        }
        Password_Must_Meet_Complexity_Requirements = @{
            Key = 'PasswordComplexity'
            Section = 'System Access'
            InputType = 'System.Boolean'
            Option = @{
                True = 1
                False = 0
            }
            Score = 1
        }
        Store_Passwords_Using_Reversible_Encryption = @{
            Key = 'ClearTextPassword'
            Section = 'System Access'
            InputType = 'System.Boolean'
            Option = @{
                True = 1
                False = 0
            }
            Score = 1
        }
        Account_Lockout_Duration = @{
            Key = 'LockoutDuration'
            Section = 'System Access'
            InputType = 'System.Int32'
            Score = 1
        }
        Account_Lockout_Threshold = @{
            Key = 'LockoutBadCount'
            Section = 'System Access'
            InputType = 'System.Int32'
            Score = 1
        }
        Reset_Account_Lockout_Counter_After = @{
            Key = 'ResetLockoutCount'
            Section = 'System Access'
            InputType = 'System.Int32'
            Score = 1
        }
        Enforce_User_Logon_Restrictions = @{
            Key = 'TicketValidateClient'
            Section = 'Kerberos Policy'
            InputType = 'System.Boolean'
            Option = @{
                True = 1
                False = 0
            }
            Score = 0
        }
        Maximum_Lifetime_For_Service_Ticket = @{
            Key = 'MaxServiceAge'
            Section = 'Kerberos Policy'
            InputType = 'System.Int32'
            Score = 0
        }
        Maximum_Lifetime_For_User_Ticket = @{
            Key = 'MaxTicketAge'
            Section = 'Kerberos Policy'
            InputType = 'System.Int32'
            Score = 0
        }
        Maximum_Lifetime_For_User_Ticket_Renewal = @{
            Key = 'MaxRenewAge'
            Section = 'Kerberos Policy'
            InputType = 'System.Int32'
            Score = 0
        }
        Maximum_Tolerance_For_Computer_Clock_Synchronization = @{
            Key = 'MaxClockSkew'
            Section = 'Kerberos Policy'
            InputType = 'System.Int32'
            Score = 0
        }
    }
}