Skip to content

Instantly share code, notes, and snippets.

View TheRealJoelmatic's full-sized avatar
💯

Joelmatic TheRealJoelmatic

💯
View GitHub Profile

Encrypting Strings at Compile Time

Thank you to SpecterOps for supporting this research and to Duane and Matt for proofreading and editing! Crossposted on the SpecterOps Blog.

TLDR: You may use this header file for reliable compile time string encryption without needing any additional dependencies.

Programmers of DRM software, security products, or other sensitive code bases are commonly required to minimize the amount of human readable strings in binary output files. The goal of the minimization is to hinder others from reverse engineering their proprietary technology.

Common approaches that are taken to meet this requirement often add an additional maintenance burden to the developer and are prone to error. These approaches will be presented along with t

109.123.111.99:80
190.38.86.219:8080
221.120.218.190:5678
118.97.58.166:8080
1.192.224.66:8888
114.179.245.22:80
103.78.25.99:3128
177.155.130.97:5678
58.69.201.117:8082
202.47.47.3:8080
abandon
ability
able
abortion
about
above
abroad
absence
absolute
absolutely