Introduction
Basics
Apps
System Applications can be found : /Applications
User-installed applications : /private/var/containers/
Apps have 2 main locations :
Bundle :
/var/containers/Bundle/Application/
Contains the application's executable code (binary) along with any resources used by the application, such as the application's icon, interface files, and localized content.
Data :
/var/mobile/Containers/Data/Application/
Applications can write files, create databases, save user preferences, etc on RUNTIME. This directory is sandboxed, meaning each application can only access its own directory and can't view or modify files in another application's directory.
Structure of IPA file
IPA files are ZIP files : change the extension to .zip and decompress them
.app is a zip archive containing the rest of the resources
info.plist : application-specific configurations
_CodeSignature/
: plist file with a signature for all the files in the bundleAssets.car : zip archive containing assets (icons...)
Frameworks/ : contains native librairies for the app as .dylib or .framework files
PlugIns/ : may contain app extensions as .appex files (not present in all cases).
Core Data : store permanent data for offline use, cache temporary data, and add undo functionality to the app on a single device.
PkgInfo : This file is an alternate way to specify the type and creator codes for the application or bundle.
en.lproj, fr.proj, Base.lproj: language packs containing resources for specific languages, and a default resource in case a language is not supported.
Security features
The main security features of iOS are:
Code signing
Ensures that all applications come from a approved source (using Apple-issued certificates)
Generic exploit mitigations
Address Space Layout Randomization (ASLR)
Usually compiled using -fPIE βpie
Non Executable Memory (ARMβs Execute Never feature)
Stack Smashing Protections (SSP)
Usually compiled with βfstack-protector-all flag
Sandboxing
run applications as non-privileged user
3rd-party apps are restricted in accessing files stored by other apps
Memory Management
Automatic Reference Counting (ARC) protects applications from memory coruption issues by letting the compiler do the memory management stuff
Taurine
Install Cydia via Zebra via Sileo
Otool :
Cydia repository: http://apt.thebigboss.org/repofiles/cydia/
Installation: search for βBig Boss Recommended Toolsβ on Cydia
Installation2: search for βDarwin CC toolsβ on Cydia
Install Tools on iOS
Also :
Burp
Last updated