Introspy(iOS) - Tool For Blackbox iOS App Analysis

Introspy(iOS) is a Blackbox tool that you can use to understand what an iOS application is doing at runtime and identify potential security issues. The tool comprises two separate components: Introspy-iOS(tracer) and Introspy-Analyzer.

Introspy-iOS is basically a simple program that can be installed on a jailbroken iOS device. It will hook security-sensitive APIs called by a given application, including functions related to cryptography, IPCs, data storage or protection, networking, and user privacy. The call details are all recorded and persisted in an SQLite database on the device.

This database can then be fed to Introspy-Analyzer, which generates an HTML report displaying all recorded calls, plus a list of potential vulnerabilities affecting the application.

Once installed, Introspy-iOS will store in an SQLite database all calls made by iOS applications to security-sensitive APIs.

It allows you to choose which iOS App should be monitored:
Introspy-iOS Apps

It also allows you to choose which APIs should be recorded: 
Introspy-iOS Settings

Introspy-iOS can also be configured to log all profiled calls to the console in real time:
Introspy-iOS Console


1. Download the latest Introspy-iOS pre-compiled Debian package (download link is at the end of this article).

2. Install it:
scp <package.deb> root@<device_ip>:~
ssh root@<device_ip>
dpkg -i <package.deb>

3. Respring the device:
killall -HUP SpringBoard

There should be two new menus in the device's Settings. The Apps menu allows you to select which applications will be profiled while the Settings menu defines which API groups are being hooked.

4. Finally, kill and restart the App you want to monitor.

If you want to uninstall the program, use this command:
dpkg -r com.isecpartners.introspy

If you want to modify the library's functionality, you have to build the Debian package yourself. Here is how to do it:

Note: This requires Theos suite. Also, set the $THEOS variable in your environment, and export it.
export THEOS=/absolute/path/to/theos
export PATH=$THEOS/bin:$PATH

Then, the package can be built using:
make package

Once you've successfully created the Debian package, you can use Theos to automatically install the package and respring the device by specifying the device's IP address in the THEOS_DEVICE_IP environment variable:
make install

No comments

Powered by Blogger.