as what you said "...I'm not sure how to patch the 'nop' to a 'br', since it appears to overwrite some IL instructions...", isn't this a common problem in all patchings, not just the .NET targets!? the normal procedure to pass this problem is:
1) you have to find a code cave
2) patch where-you-want-to-patch to jump to that code cave
3) insert the bytes you want to be executed and take care of the damaged instructions because of #2
4) resume the program control flow
and as NoneForce said:
Quote:
Originally Posted by NoneForce
When you're making a loader for a .Net app with dUP make sure that "Target is a compressed PE file" is checked.
|
P.S: are you certain that the file is not protected against tampering?