Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I obfuscate my Perl script to make it difficult to reverse engineer?

Tags:

perl

I've developed a Perl script that has a confidential business logic.

I have to give this script to another Perl coder to test it in his environment. He may try to extract the logic in my program. So I want to make my script very hard to understand.

Any suggestions?

like image 579
codaddict Avatar asked Dec 11 '09 04:12

codaddict


People also ask

Can you reverse engineer obfuscated code?

In this article, we have performed reverse engineering over a protected binary by deep analysis of both obfuscated source code and MSIL assembly code. We've successfully modified the application to subvert authentication, even with not having the password.

How does code obfuscation protect against reverse engineering attacks?

The address obfuscation method makes the process of reverse-engineering difficult, as each time the transformed code is executed, the virtual addresses of the code and data of the program are randomized. This makes the effect of most memory-error exploits non-deterministic, with only a very small chance of success.

Should I obfuscate my code?

It's essential to hide business logic and code to make it harder for attackers to gain access and start debugging and tampering with your app. (They often repackage an application with malicious code.) 3. Code obfuscation can drastically reduce file size, and download times can be reduced drastically as well.


1 Answers

I suggest that you get this person and his management to sign a legally enforceable agreement that forbids all forms of reverse engineering, and any other means of gaining access to the stuff you want to protect.

Obfuscation cannot protect you against a determined attempt to reverse engineer. It is theoretically and practically impossible.

like image 82
Stephen C Avatar answered Sep 23 '22 22:09

Stephen C