Stripping the iOS binary of unneeded symbols

Sometimes the iOS binary contains the symbol table which provides information about symbols linking a specific function in the binary. Presence of symbol tables make run time analysis of the binary easy for the attackers using gdb, cycript tools etc. So, it's recommended to strip the symbols off the binary.

The following commands shows the symbols linked to the funcion:
 # nm
0001556ad t _mySecretFuncion

An easy way to strip them is to use Strip command or strip the symbol table of C/C++ function information is by going into Xcode and changing around the Deployment Postprocessingand Strip Linked Product flags to YES.






















Comments

Popular posts from this blog

SQL Injection in search field

File Upload through Null Byte Injection