iOS Testing Using Objection
Install Objection:
pip3 install objectionCheck install apps using Frida:
If USB connection:
frida-ps -UaiIf remote host connection:
frida-ps -H 192.16.1.20Start Objection and Attach to Process:
Using USB connection:
~$ objection -g com.client.mytestapp exploreUsing Remote Connection:
──(root㉿kali)-[~]
└─# objection -N -h 192.168.1.20 -g com.incode.my.app exploreDISABLE CERTIFICATE PINNING
[usb] # ios sslpinning disable --quietINSPECT BINARY INFO
[usb] # ios info binaryDUMP THE APP KEYCHAIN
[usb] # ios keychain dumpEXPLORE THE APP STRUCTURE
[usb] # ls
[usb] # file cat examplefile.txt
[usb] # ios plist cat Info.plistCHECK FOR OTHER DATA STORES FOR SENSITIVE INFORMATION
[usb] # ios nsurlcredentialstorage dump
[usb] # ios nsuserdefaults get
[usb] # ios cookies getTROUBLESHOOTING
If you receive the following error you will need to go to Settings -> Profiles & Device Management and verify the app.
Unable to connect to the frida server: unable to launch iOS app: The operation couldn’t be completed. Unable to launch com.myapp because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.
Last updated
Was this helpful?