What are app packing and obfuscation
RAIJIN Security Research · Glossary Draft, to be checked again before launch
Packing and obfuscation are two techniques for protecting an app. Their purpose is to make your program harder for others to read and modify.
What obfuscation is
Obfuscation rewrites code into a form that works the same but is very hard to read. For example, meaningful names are replaced with meaningless characters, or the control flow is scrambled.
What packing is
Packing encrypts the code and wraps it, unpacking it in memory only at run time. Opening the package directly shows only the encrypted content.
Why apps need protection
An app is delivered to users' devices, so anyone can download it and take it apart. An unprotected app may have its keys extracted, be turned into a cracked copy, or be redistributed with malware added.
What protection can and cannot do
Packing and obfuscation cannot guarantee that an app will never be cracked. What they do is raise the cost and time of cracking so that most attackers give up.