I'm analyzing a PE file using IDA Pro that is using int 2Dh technique as anti debugging:
CODE:00455050 push ebp
CODE:00455051 mov ebp, esp
CODE:00455053 push ecx
CODE:00455054 push ebx
CODE:00455055 push esi
CODE:00455056 push edi
CODE:00455057 xor eax, eax
CODE:00455059 push ebp
CODE:0045505A push offset loc_455076
CODE:0045505F push dword ptr fs:[eax]
CODE:00455062 mov fs:[eax], esp
CODE:00455065 int 2Dh ; Windows NT - debugging services: eax = type
CODE:00455067 inc eax
CODE:00455068 mov [ebp+var_1], 1
CODE:0045506C xor eax, eax
CODE:0045506E pop edx
CODE:0045506F pop ecx
CODE:00455070 pop ecx
CODE:00455071 mov fs:[eax], edx
CODE:00455074 jmp short loc_455084
How should I config IDA Pro to handle this interrupt/exception in dynamic analyzing?
I'm Using the local win32 debugger
well thats setting up an seh, so i'd set a bpx there as it most likely trips the seh, and within the seh eip is set to a new address to continue from... its been a while since i played with int2d so i cant remember its entirety but the code after it looks pretty bogus
– evlncrn8 Sep 20 '14 at 20:30