. 232
JMP/CALL XOR Decoder Example . . . . . . . . . . . . . . . . . . . . . . . . . . 233
FNSTENV XOR Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
Putting It All Together . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Automating Shellcode Generation with Metasploit . . . . . . . . . . . . . . . . . 238
Generating Shellcode with Metasploit . . . . . . . . . . . . . . . . . . . . . . 238
Encoding Shellcode with Metasploit . . . . . . . . . . . . . . . . . . . . . . . . 240
Chapter 11 Basic Windows Exploits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Compiling and Debugging Windows Programs . . . . . . . . . . . . . . . . . . . . 243
Compiling on Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Debugging on Windows with Windows Console Debuggers . . . . 245
Debugging on Windows with OllyDbg . . . . . . . . . . . . . . . . . . . . . . 254
Windows Exploits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Building a Basic Windows Exploit . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Real-World Windows Exploit Example . . . . . . . . . .
Pages:
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36