File tree 2 files changed +32
-1
lines changed
data/auxiliary/admin/ldap/ad_cs_cert_template
modules/auxiliary/admin/ldap
2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ # Creates a template that will be vulnerable to ESC15 (subject name supplied in
3
+ # the request and schema version is 1). Fields are based on the SubCA template.
4
+ # For field descriptions, see:
5
+ # https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-crtd/b2df0c1c-8657-4684-bb5f-4f6b89c8d434
6
+ showInAdvancedViewOnly : ' TRUE'
7
+ # this security descriptor grants all permissions to all authenticated users
8
+ nTSecurityDescriptor : D:PAI(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;AU)
9
+ flags : 0
10
+ pKIDefaultKeySpec : 2
11
+ pKIKeyUsage : !binary |-
12
+ hgA=
13
+ pKIMaxIssuingDepth : -1
14
+ pKICriticalExtensions :
15
+ - 2.5.29.19
16
+ - 2.5.29.15
17
+ pKIExtendedKeyUsage :
18
+ # Server Authentication OID (alter the EKUs via ESC15)
19
+ - 1.3.6.1.5.5.7.3.1
20
+ pKIExpirationPeriod : !binary |-
21
+ AEAepOhl+v8=
22
+ pKIOverlapPeriod : !binary |-
23
+ AICmCv/e//8=
24
+ pKIDefaultCSPs : 1,Microsoft Enhanced Cryptographic Provider v1.0
25
+ msPKI-RA-Signature : 0
26
+ msPKI-Enrollment-Flag : 0
27
+ # CT_FLAG_EXPORTABLE_KEY
28
+ msPKI-Private-Key-Flag : 0x10
29
+ # CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT
30
+ msPKI-Certificate-Name-Flag : 1
31
+ msPKI-Minimal-Key-Size : 2048
32
+ msPKI-Template-Schema-Version : 1
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ class MetasploitModule < Msf::Auxiliary
26
26
'displayName' ,
27
27
'instanceType' ,
28
28
'revision' ,
29
- 'msPKI-Template-Schema-Version' ,
30
29
'msPKI-Template-Minor-Revision' ,
31
30
] . freeze
32
31
You can’t perform that action at this time.
0 commit comments