Dynamic analysis on iOS Simulator

As we had studied in the Chapter 2, Setting up Lab for iOS App Pentesting, we can also use Cycript as an iOS Simulator. You can create any sample app and run it in the iOS Simulator.

Let's follow the given steps to use Cycript for apps running on iOS Simulator:

  1. Start the app in the iOS Simulator. We will use the same Dynamic Analysis Demo application:
    Dynamic analysis on iOS Simulator
  2. Find the PID of the application using the #ps command. You can run this command directly from your Mac terminal and hook Cycript to the target application's PID:
    Dynamic analysis on iOS Simulator

Now, you ...

Get Learning iOS Penetration Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.