iOS Environment Configuration
iOS Environment Configuration
MODULE 4
eLearnSecurity © 2014
2
iOS: Setting up a Test Environment
Scheme name
Activate/Deactivate Breakpoints View buttons
Hide/Show pane
Destination device
Depending on the
resource selected in
the navigation pane,
in this area you will
find the source code
as well as project
options, app preview
and more.
• /Users/<your_user>/Library/Application
Support/iPhone Simulator/<Version>/
”
HOME PARENT REFERENCES VIDEO
66
4.3.1. Directory Structure
This folder contains all the data and configuration
the app needs:
In order to see
these pictures, we
just need to open
one of the folders
in the previous
screenshot and then
change the file extension based on the name of the
folder.
The Copy To PC
option allows us
to export installed
applications. Each
app folder contains a folder named app_name.app
that we can easily export. As we will see in the next
modules, even if it is not an .ipa file, the contents
of .app folders can be used to perform security
tests against the app.
HomeDomain-Library/Calendar/Calendar.sqlitedb
IS
2041457d5fe04d39d0ab481178355df6781e6858
Manifest.plist
• Contains application details, BackupKeyBag, encryption information, etc.
Manifest.mbdb
• Binary file containing the list of file names contained in the backup.
Status.plist
• Contains information about the backup.
iBackupBot
iBackupBot
TIP
Note that itunnel works for VNC connections, too (we will see later
on how to set up a VNC server on the iDevice). We just need to set
the lport as desired and set the iport to 5900.
Once we click on
connect we will be
able to browse the
entire device in the
lower pane of the
app.
- Host: Device IP
- Username: root
- Password:
<your carefully
chosen password>
- Port: 22
Now open Xcode (or close and reopen it) and set
the project Build Settings to “Do not code sign” in
the Code Signing Identity tree:
We should be able
to successfully
build the project by
clicking Project->
Build. If it succeeds,
the app_name.app
in the left panel will
turn black.
Now we have to
unlock the device
and we should see
our HelloWorldiOS
app on the home
screen.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
We have to change
every occurrence of
XCiPhoneOSCodeSignContext
with
XCCodeSignContext
WARNING
root# ./keychain_dumper
iFunBox Putty
Cydia iTunnel
Continued…
CyberDuck Veency
Keychain Dumper