Compile-time string encryption

前端 未结 8 2172
悲哀的现实
悲哀的现实 2020-12-28 17:08

I don\'t want reverse-engineers to read the plain-text of hardcoded strings in my application. The trivial solution for this is using a simple XOR-Encryption. The problem is

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-28 17:38

    If people are interrested by simple string encryption. I wrote a code sample describing string self decryption and tagging using a MACRO. An external cryptor code is provided to patch the binary (so the strings are crypted after program compilation). The strings are decrypted one at a time in memory.

    http://www.sevagas.com/?String-encryption-using-macro-and

    This will not prevent reverser with a debugger from eventually finding the strings but it will prevent strings listing from executable and memory dump.

提交回复
热议问题