8. iOS Lab Setup

❗ A MacOS device is required for the lab setup and pentesting, while whenever feasible, both static and dynamic analyses in the course will be conducted using the Kali VM.

Open Mac App Store and install Xcode

With the Xcode project, source code can be analyzed

  • Xcode Simulator can be used to run the app

Create an Apple Developer account and configure it in Xcode Accounts to manage certificates for app signing

Tools such as AnyTrans or iMazing (suggested) can be used to pull apps from the App Store and export .ipa apps

iMazing

Homebrew is necessary to install some MacOS based tools

sudo apt install -y build-essential procps curl file git

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> ~/.zshrc
  • IPATool - Command-line tool that allows searching and downloading app packages (known as ipa files) from the iOS App Store

brew tap majd/repo
brew install ipatool

ipatool auth login -e <appleid_email>
ipatool search <Keyword>
ipatool download --bundle-identifier <bundleIDFromSearchCommand>
# .ipa is downloaded

Paid emulator tools


Last updated

Was this helpful?