webpat
10-16-2009, 10:54 AM
Hi guys from the reversing community,
The target is an API with multiple dll, some are on the GAC. I have de-obfuscated the code and have managed to extract the calling chain which make the licence check:
DLL1 (VisualStudioAddin.dll) ---> DLL2 (Framework.dll) ---> DLL3 (FrameWorkBase.dll)
DLL2 and DLL3 are in the GAC.
FrameworkBase throws a LicenseException when the licence is expired. I've patched DLL2 and DLL3. I've generated a strongName protection key for DLL2 and DLL3. I've patched DLL1 references publickeytoken to reference the patched DLL2 and DLL3. I 've added patched DLLs in the GAC.
But when I launch the Add in on the PEBrowseDebugger, I can't set a breakpoint in DLL2 and DLL3, It seems that DLL2 and DLL3 are not loaded any more. And the call in DLL1 leads to an exception.
Am I missing something ?
Cheers
The target is an API with multiple dll, some are on the GAC. I have de-obfuscated the code and have managed to extract the calling chain which make the licence check:
DLL1 (VisualStudioAddin.dll) ---> DLL2 (Framework.dll) ---> DLL3 (FrameWorkBase.dll)
DLL2 and DLL3 are in the GAC.
FrameworkBase throws a LicenseException when the licence is expired. I've patched DLL2 and DLL3. I've generated a strongName protection key for DLL2 and DLL3. I've patched DLL1 references publickeytoken to reference the patched DLL2 and DLL3. I 've added patched DLLs in the GAC.
But when I launch the Add in on the PEBrowseDebugger, I can't set a breakpoint in DLL2 and DLL3, It seems that DLL2 and DLL3 are not loaded any more. And the call in DLL1 leads to an exception.
Am I missing something ?
Cheers