Skip to content

Commit f3719b8

Browse files
committed
Document the new report filtering option
1 parent c8f72a8 commit f3719b8

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

documentation/modules/auxiliary/gather/ldap_esc_vulnerable_cert_finder.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -240,15 +240,13 @@ if ($editFlags -band $EDITF_ATTRIBUTESUBJECTALTNAME2) {
240240

241241
## Options
242242

243-
### REPORT_NONENROLLABLE
244-
If set to `True` then report any certificate templates that are vulnerable but which are not known to be enrollable.
245-
If set to `False` then skip over these certificate templates and only report on certificate templates
246-
that are both vulnerable and enrollable.
243+
### REPORT
244+
What templates to report (applies filtering to results).
247245

248-
### REPORT_PRIVENROLLABLE
249-
If set to `True` then report certificate templates that are only enrollable by the Domain and Enterprise Admins groups.
250-
If set to `False` then skip over these certificate templates and only report on certificate templates that are
251-
enrollable by at least one additional user or group.
246+
* **all** - Report all certificate templates.
247+
* **vulnerable** - Report certificate templates where at least one misconfiguration is appears to be present.
248+
* **vulnerable-and-published** - Same as above, but omits templates that are not published by at least one CA server.
249+
* **vulnerable-and-enrollable** - Same as above, but omits templates that the user does not have permissions to enroll in.
252250

253251
## Scenarios
254252

modules/auxiliary/gather/ldap_esc_vulnerable_cert_finder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def initialize(info = {})
9595

9696
register_options([
9797
OptString.new('BASE_DN', [false, 'LDAP base DN if you already have it']),
98-
OptEnum.new('REPORT', [true, 'What templates to report (applies filtering to results)', 'all', %w[all vulnerable vulnerable-and-published vulnerable-and-enrollable]]),
98+
OptEnum.new('REPORT', [true, 'What templates to report (applies filtering to results)', 'vulnerable-and-published', %w[all vulnerable vulnerable-and-published vulnerable-and-enrollable]]),
9999
OptBool.new('RUN_REGISTRY_CHECKS', [true, 'Authenticate to WinRM to query the registry values to enhance reporting for ESC9, ESC10 and ESC16. Must be a privileged user in order to query successfully', false]),
100100
])
101101
end

0 commit comments

Comments
 (0)