Files
metasploit-gs/modules/auxiliary/gather/kerberos_enumusers.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.1 KiB
Ruby
Raw Normal View History

##
2017-07-24 06:26:21 -07:00
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
2022-05-27 13:34:10 +01:00
require 'metasploit/framework/credential_collection'
require 'metasploit/framework/login_scanner/kerberos'
class MetasploitModule < Msf::Auxiliary
2022-05-27 13:34:10 +01:00
include Msf::Exploit::Remote::Kerberos::AuthBrute
def initialize(info = {})
2022-04-08 11:35:31 +01:00
super(
update_info(
info,
'Name' => 'Kerberos Domain User Enumeration',
'Description' => %q{
This module will enumerate valid Domain Users via Kerberos from an unauthenticated perspective. It utilizes
the different responses returned by the service for valid and invalid users.
},
'Author' => [
'Matt Byrne <attackdebris[at]gmail.com>', # Original Metasploit module
2022-05-27 13:34:10 +01:00
'alanfoster', # Enhancements
'sjanusz-r7' # Enhancements
],
2022-04-08 11:35:31 +01:00
'References' => [
['URL', 'https://nmap.org/nsedoc/scripts/krb5-enum-users.html']
],
2022-04-08 11:35:31 +01:00
'License' => MSF_LICENSE
)
)
end
def run
2022-05-27 13:34:10 +01:00
attempt_kerberos_logins
end
end