Skip to content

Commit 708cbd7

Browse files
committed
Allow to provide USER SID
1 parent 56eadc0 commit 708cbd7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/auxiliary/admin/kerberos/ms14_068_kerberos_checksum.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def initialize(info = {})
4444
register_options(
4545
[
4646
OptString.new('USER', [ true, 'The Domain User' ]),
47+
OptInt.new('USER_SID', [ true, 'The Domain User SID, Ex: 1000']),
4748
OptString.new('PASSWORD', [ true, 'The Domain User password' ]),
4849
OptString.new('DOMAIN', [ true, 'The Domain Ex: DEMO.LOCAL' ]),
4950
OptString.new('DOMAIN_SID', [ true, 'The Domain SID Ex: S-1-5-21-1755879683-3641577184-3486455962' ])
@@ -97,6 +98,7 @@ def run
9798
client_name: datastore['USER'],
9899
group_ids: groups,
99100
domain_id: datastore['DOMAIN_SID'],
101+
user_id: datastore['USER_SID'],
100102
realm: datastore['DOMAIN'],
101103
logon_time: logon_time,
102104
checksum_type: Rex::Proto::Kerberos::Crypto::RSA_MD5

0 commit comments

Comments
 (0)