3 ms·
I remember one of the more esoteric applications of binary patching I had to do was to get a bunch of DOS utilities available for an older version running on a
by userbinator 13y ago
I remember one of the more esoteric applications of binary patching I had to do was to get a bunch of DOS utilities available for an older version running on a newer version, since they had somehow decided to hardcode a versioncheck in them. I used a text editor in binary mode to do it, entering the bytes using Alt+nnn on the keypad.
Thanks to that, the sequence 180 48 205 33 is now embedded in my memory, as is the number 144, and I've acquired the ability to literally read x86 machine code in ASCII. That's a skill that is probably not much more useful than memorising digits of pi, but it's fun to see the reactions of experienced developers when I open some executable in Notepad and start mentally disassembling it.
I've bypassed a few protections too, but probably have spent more time on tweaking various software to my liking. Correcting spelling errors in messages, adjusting UI elements, removing useless messageboxes ("Operation complete! Click OK to continue."), etc.
- benkillin 13y agoThat skill is actually very useful if you are researching/developing format string vulnerability exploits. There was a presentation I saw where a guy was able to extract a private RSA key from memory of a novell login screen by using typing in machine code using alt key combos in the username or password text field, exploiting a format string vulnerability. This is the video of that presentation for the interested: http://www.youtube.com/watch?v=jv0adeL4x1U http://www.youtube.com/watch?v=jv0adeL4x1U
- Bjartr 13y agoHere's a more recent version of that same presentation where you can actually read the screen https://www.youtube.com/watch?v=9b_ZWJec95w https://www.youtube.com/watch?v=9b_ZWJec95w