r/AskReverseEngineering • u/__dmt • Mar 26 '24
Help Needed - Understanding the Process of Patching Permanent Crackme Exercises
Hey everyone,
I'm relatively new to crackmes and could use some guidance. I've been working on solving crackmes, and I've noticed that patching them with just one jump instruction seems to permanently reveal the flag upon reopening and checking, almost like opening a window with a good message.
However, when tackling more challenging crackmes, it appears that patching with only two patches (ways to reach the good message) doesn't always result in a permanent solution. Reopening and checking may not consistently show the flag, akin to opening a window with a good message but sometimes finding it closed.
My questions are:
- How can I determine what else I should be looking for in these more complex crackmes?
- Is my understanding or approach flawed in any way?
- Could someone provide additional explanations or insights into this process?
Any help or advice would be greatly appreciated. Thanks in advance!
View all comments
Show parent comment
1
u/__dmt Mar 28 '24
Thank you very much!
Regarding my goal or task - permanent patches. My last resort in this case would be to use a "loader" like dup2, but I'm unsure how effective this approach would be.
How should I proceed if I have a crackme.exe to patch it permanently, so I don't have to patch it anew every time I reopen it?
What do you recommend in terms of how to tackle this task, especially when the program is unpacked?