Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

protect python code from reverse engineering

I'm creating a program in python (2.7) and I want to protect it from reverse engineering.

I compiled it using cx_freeze (supplies basic security- obfuscation and anti-debugging)

How can I add more protections such as obfuscation, packing, anti-debugging, encrypt the code recognize VM.

I thought maybe to encrypt to payload and decrypt it on run time, but I have no clue how to do it.

like image 989
avinoam Avatar asked Dec 03 '22 13:12

avinoam


1 Answers

Generally speaking, it's almost impossible for you to make your program unbreakable as long as there's enough motive for the hackers.

But still you can make it harder to be reverse engineered, try to use cython to compile your core codes into pyd or so files.

like image 127
Shane Avatar answered Dec 15 '22 17:12

Shane