-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathtemplates.json
251 lines (251 loc) · 9.18 KB
/
templates.json
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
[
{
"name": "Create new user accounts",
"description": "Create user account objects in a container and nested containers. If filling their profile and setting their password is not done within the same request, at the same time, you will also need to delegate these actions.",
"applies_to": {
"any_instance_of": ["organizationalUnit", "builtindomain", "domain"]
},
"rights": [
{
"access_mask": 1,
"object_type": "user",
"container_inherit": true,
"object_inherit": true,
"inherited_object_type": "organizationalUnit"
}
]
},
{
"name": "Create new security groups",
"description": "Create security group objects. To fill them with members, you will also need to delegate the right to change their memberships.",
"applies_to": {
"any_instance_of": ["organizationalUnit", "builtindomain", "domain"]
},
"rights": [
{
"access_mask": 1,
"object_type": "group",
"container_inherit": true,
"object_inherit": true,
"inherited_object_type": "organizationalUnit"
}
]
},
{
"name": "Create new computer objects",
"description": "Provision computer accounts for workstation or servers which will need to join the domain.",
"applies_to": {
"any_instance_of": ["organizationalUnit", "builtindomain", "domain"]
},
"rights": [
{
"access_mask": 1,
"object_type": "computer",
"container_inherit": true,
"object_inherit": true,
"inherited_object_type": "organizationalUnit"
}
]
},
{
"name": "Unlock user accounts",
"description": "Unlock user accounts which have been locked out for trying too many invalid passwords.",
"applies_to": {
"any_instance_of": ["organizationalUnit", "builtindomain", "domain", "user"]
},
"rights": [
{
"access_mask": 48,
"object_type": "lockoutTime",
"container_inherit": true,
"object_inherit": true,
"inherit_only": true,
"inherited_object_type": "user"
}
]
},
{
"name": "Change user profile identification information",
"description": "Set identification fields of accounts (e.g. name, surname, phone, email address). This cannot be abused to take control of these accounts, the worst one can do with this is make an account appear as someone else.",
"applies_to": {
"any_instance_of": ["domain", "builtindomain", "organizationalUnit", "user"]
},
"rights": [
{
"allow": false,
"access_mask": 32,
"object_type": "altSecurityIdentities",
"container_inherit": true,
"object_inherit": true,
"inherit_only": true,
"inherited_object_type": "user"
},
{
"access_mask": 48,
"object_type": "Public Information",
"container_inherit": true,
"object_inherit": true,
"inherit_only": true,
"inherited_object_type": "user"
},
{
"access_mask": 48,
"object_type": "Personal Information",
"container_inherit": true,
"object_inherit": true,
"inherit_only": true,
"inherited_object_type": "user"
}
]
},
{
"name": "Reset user password without knowing their current one",
"description": "This gives complete control over accounts, use with caution. You probably also want to delegate the right to force them to change password at next logon.",
"applies_to": {
"any_instance_of": ["domain", "builtindomain", "organizationalUnit", "container"]
},
"rights": [
{
"access_mask": 256,
"object_type": "Reset Password",
"container_inherit": true,
"object_inherit": true,
"inherit_only": true,
"inherited_object_type": "user"
},
{
"access_mask": 32,
"object_type": "pwdLastSet",
"container_inherit": true,
"object_inherit": true,
"inherit_only": true,
"inherited_object_type": "user"
}
]
},
{
"name": "Force user to change password",
"description": "Force a user to change their password the next time they log in interactively.",
"applies_to": {
"any_instance_of": ["domain", "builtindomain", "organizationalUnit", "container"]
},
"rights": [
{
"access_mask": 32,
"object_type": "pwdLastSet",
"container_inherit": true,
"object_inherit": true,
"inherit_only": true,
"inherited_object_type": "user"
}
]
},
{
"name": "Add or remove oneself to a group",
"description": "Grants a trustee the right to add themselves to the group(s) where this is delegated. This gives them \"control\" over the group, but they cannot add someone other than themselves.",
"applies_to": {
"any_instance_of": ["organizationalUnit", "group"]
},
"rights": [
{
"access_mask": 48,
"object_type": "Add/Remove self as member",
"container_inherit": true,
"object_inherit": true,
"inherited_object_type": "group"
}
]
},
{
"name": "Add or remove anyone to a group",
"description": "Add and remove any user, computer, or service account to the group(s) where this is delegated. This gives \"control\" over the group.",
"applies_to": {
"any_instance_of": ["organizationalUnit", "group"]
},
"rights": [
{
"access_mask": 48,
"object_type": "member",
"container_inherit": true,
"object_inherit": true,
"inherited_object_type": "group"
}
]
},
{
"name": "Link and unlink existing group policies, and set the \"enforce\" flag on links",
"description": "Linking and unlinking a GPO on a scope allows managing user and computer settings globally. You may also want to delegate the right to create GPOs by adding trustees to the Group Policy Creator Owners group.",
"applies_to": {
"any_instance_of": ["organizationalUnit", "domain", "site"]
},
"rights": [
{
"access_mask": 48,
"object_type": "gPLink",
"container_inherit": true,
"object_inherit": true,
"inherited_object_type": "organizationalUnit"
},
{
"access_mask": 48,
"object_type": "gPOptions",
"container_inherit": true,
"object_inherit": true,
"inherited_object_type": "organizationalUnit"
}
]
},
{
"name": "Manage a DNS zone",
"description": "Create DNS records and edit existing ones within a DNS zone",
"applies_to": {
"any_instance_of": ["dnsZone"]
},
"rights": [
{
"access_mask": 196823,
"container_inherit": true,
"object_inherit": true
},
{
"fixed_location": { "dn": "CN=MicrosoftDNS,CN=System,DC=*" },
"access_mask": 131220
}
]
},
{
"name": "Fully control all objects within a container",
"description": "Manage and completely control all objects under a container (this allows takeover of user, computer, and service accounts)",
"applies_to": {
"any_instance_of": ["domain", "builtindomain", "organizationalUnit", "container"]
},
"rights": [
{
"access_mask": 983551,
"container_inherit": true,
"inherit_only": true
}
]
},
{
"name": "Create empty GPOs in a domain",
"description": "Create new group policy objects (you may also want to delegate the right to link these GPOs on some organizational unit(s))",
"applies_to": {
"any_instance_of": ["domain"]
},
"rights": [
{
"access_mask": 1,
"fixed_location": {
"dn": "CN=Policies,CN=System,DC=*"
}
},
{
"access_mask": 131261,
"fixed_location": {
"dn": "CN=SOM,CN=WMIPolicy,CN=System,DC=*"
}
}
]
}
]