/StrCrypt

Compile-time string crypter library for C++

Primary LanguageC++

StrCrypt

Compile-time string crypter library for C++

  • Having plain strings stored in the binary file or in memory can help reversering attempts to be much easier.
  • If the program is targeted by string detection scans you had to change the strings everytime you get detected.

example

#include "movstr.h"

void main() {
  char buf[256];
  MovStr(buf, "TestString");  //"TestString" does not remain in .rdata section anymore.
  printf(buf);
}
  • Binary not encrypted(substitute "MovStr" to "strcpy") 0
  • Binary encrypted with STRDEF_RAW 1
  • Binary encrypted with STRDEF_ENCRYPT_KEY1 2
  • Binary encrypted with STRDEF_ENCRYPT_KEY2 3