Skip to content

Commit

Permalink
Land #17756, Update secrets dump to generate kerberos rc4 key for mac…
Browse files Browse the repository at this point in the history
…hine account
  • Loading branch information
dwelch-r7 committed Mar 9, 2023
2 parents 01399e4 + 5c1fcc3 commit 9961fff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/auxiliary/gather/windows_secrets_dump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,12 @@ def get_machine_kerberos_keys(raw_secret, _machine_name)
salt: salt
}

secret << {
enctype: Rex::Proto::Kerberos::Crypto::Encryption::RC4_HMAC,
key: OpenSSL::Digest::MD4.digest(raw_secret),
salt: nil
}

secret
end

Expand Down

0 comments on commit 9961fff

Please sign in to comment.