ansjdnakjdnajkd/iOS

Most usable tools for iOS penetration testing

1,327

21 commits

updated Nov 6, 2023

See the code

README

iOS/macOS penetration testing cheatsheet

ActionmacOSLinuxWiniOS w/JB
MobSFMobSFMobSFMobSF---
Plist viewplutil or Xcodeapt-get install libplist-utilsPlist Viewerplutil
GhidraGhidraGhidraGhidra---
FridaFridaFridaFrida---
Awesome FridaAwesome Frida------Awesome Frida
ObjectionObjectionObjectionObjectionObjection
NeedleNeedleNeedle------
Keychain dumperKeychain dumper------Keychain dumper
iOS URL SchemesiOS URL Schemes------iOS URL Schemes
Debug HacksDebug Hacks---------
SandBox DumperSandBox Dumper---------
PassionFruitPassionFruitPassionFruit------
iPhoneTunneliPhoneTunnel---iPhoneTunnel---
iRETiRET---------
idbidbidb------
XSecurityXSecurity---------

macOS Quick Look plugin for iOS & OSX developers

https://github.com/ealeksandrov/ProvisionQL – Generate amazing preview for .ipa .app .appex .mobileprovision .provisionprofile

iOS / macOS obfuscation

https://github.com/obfuscator-llvm/obfuscator/wiki – ollvm

Static analyze

Project/AppSwiftObjective-c
Swift Lint+-

Jailbreak

Little h4ck for sslpinning bypass (help in some cases when sslkillswitch useless)

  • Configure burp proxy on iOS device – Visit [your_proxy_adress]:[proxy_port]/mobileassistant.deb – Download file and install
    • Via iFile
    • Via ssh like `dpkg -i path/to/mobileassistant.deb
  • Respring
  • Launch Mobile Assistant
  • Add app in bottom panel
  • Turn-on switcher next to app
  • Launch your app
  • Congrats

More info here NB! in some cases you may face with lack of libraries, do not replace anything manually in iOS, it may lead to infinity loop)

AppSign / Rebuild / Resign / Inject / Useful tools

Schema

Download and decrypt

ToolDescriptionLink
iFunBoxAppiFunBox
AppdbDownload&resign .ipaAppdb
iphonecakeDownload&resign .ipaiphonecake
4pdaDownload&resign .ipa4pda
iTunes w/app tabiTunes 12.6.3.6Apple Support
Download old version .ipaManual how-toLifehacker

Extract data

ToolDescriptionLink
RasticracJailbreak(+)Rasticrac
ClutchJailbreak(+)Clutch
bfinjectJailbreak(+), iOS 11-12bfinject

All in one (Inject > Repack > Resign > Upload)

ToolDescriptionLink
IPA PatchXcode ProjectIPA Patch
ResignXcode ProjectRegisn

Inject framework

ToolDescriptionLink
CydiaSubstrateFrameworkSite & .deb file
Reveal appProjectReveal app
JSPatchFrameworkJSPatch
FRAPLFrameworkFRAPL
Frida GadgetFrameworkFrida Gadget
CycriptFrameworkFrida+Cycript & Site

Repack and resign binary

ToolDescriptionLink
Node ResignXcode ProjectNode Resign
iOS App SignerXcode ProjectiOS App Signer
AppAddictAppAppAddict

Upload and run on device

ToolDescriptionLink
iFunBoxAppiFunBox
ImpactorAppCydia Impactor
IPA installerXcode ProjectIPA installer

Useful tools

ToolDescriptionLink
Runtime HeadersXcode ProjectRuntime Headers
SSL Killswitch 2Jailbreak(+)SSL Killswitch 2
TheosProjectTheos
DumpdecryptedProjectDumpdecrypted
BundleIDJailbreak(+)BundleID
IPSWDownload FirmwareIPSW
NameLink
Malware wellbeing on iOS devicesSlides
DVIAHomepage
iGoat-SwiftHomepage
iOS-CTFHomepage
Dynamic analysis of iOS apps w/o JailbreakArticle En Article RU & Slides
Ro(o)tten Apples Vulnerability Heaven in the iOS SandboxSlides
Light and Dark side of Code InstrumentationSlides
Комбайны безопасности для iOS и AndroidSlides

Author: @ansjdnakjdnajkd

Do you want to add or fix? - Write to me or pull request!

apple
cheatsheet
frida
ghidra
information-security
information-security-research
infosec
ios
jailbreak
keychain
macos
objection
objective-c
pentest
research
security
security-tools
slides
swift
tools

ansjdnakjdnajkd/iOS

Most usable tools for iOS penetration testing

1,327

21 commits

updated Nov 6, 2023

See the code

README

iOS/macOS penetration testing cheatsheet

ActionmacOSLinuxWiniOS w/JB
MobSFMobSFMobSFMobSF---
Plist viewplutil or Xcodeapt-get install libplist-utilsPlist Viewerplutil
GhidraGhidraGhidraGhidra---
FridaFridaFridaFrida---
Awesome FridaAwesome Frida------Awesome Frida
ObjectionObjectionObjectionObjectionObjection
NeedleNeedleNeedle------
Keychain dumperKeychain dumper------Keychain dumper
iOS URL SchemesiOS URL Schemes------iOS URL Schemes
Debug HacksDebug Hacks---------
SandBox DumperSandBox Dumper---------
PassionFruitPassionFruitPassionFruit------
iPhoneTunneliPhoneTunnel---iPhoneTunnel---
iRETiRET---------
idbidbidb------
XSecurityXSecurity---------

macOS Quick Look plugin for iOS & OSX developers

https://github.com/ealeksandrov/ProvisionQL – Generate amazing preview for .ipa .app .appex .mobileprovision .provisionprofile

iOS / macOS obfuscation

https://github.com/obfuscator-llvm/obfuscator/wiki – ollvm

Static analyze

Project/AppSwiftObjective-c
Swift Lint+-

Jailbreak

Little h4ck for sslpinning bypass (help in some cases when sslkillswitch useless)

  • Configure burp proxy on iOS device – Visit [your_proxy_adress]:[proxy_port]/mobileassistant.deb – Download file and install
    • Via iFile
    • Via ssh like `dpkg -i path/to/mobileassistant.deb
  • Respring
  • Launch Mobile Assistant
  • Add app in bottom panel
  • Turn-on switcher next to app
  • Launch your app
  • Congrats

More info here NB! in some cases you may face with lack of libraries, do not replace anything manually in iOS, it may lead to infinity loop)

AppSign / Rebuild / Resign / Inject / Useful tools

Schema

Download and decrypt

ToolDescriptionLink
iFunBoxAppiFunBox
AppdbDownload&resign .ipaAppdb
iphonecakeDownload&resign .ipaiphonecake
4pdaDownload&resign .ipa4pda
iTunes w/app tabiTunes 12.6.3.6Apple Support
Download old version .ipaManual how-toLifehacker

Extract data

ToolDescriptionLink
RasticracJailbreak(+)Rasticrac
ClutchJailbreak(+)Clutch
bfinjectJailbreak(+), iOS 11-12bfinject

All in one (Inject > Repack > Resign > Upload)

ToolDescriptionLink
IPA PatchXcode ProjectIPA Patch
ResignXcode ProjectRegisn

Inject framework

ToolDescriptionLink
CydiaSubstrateFrameworkSite & .deb file
Reveal appProjectReveal app
JSPatchFrameworkJSPatch
FRAPLFrameworkFRAPL
Frida GadgetFrameworkFrida Gadget
CycriptFrameworkFrida+Cycript & Site

Repack and resign binary

ToolDescriptionLink
Node ResignXcode ProjectNode Resign
iOS App SignerXcode ProjectiOS App Signer
AppAddictAppAppAddict

Upload and run on device

ToolDescriptionLink
iFunBoxAppiFunBox
ImpactorAppCydia Impactor
IPA installerXcode ProjectIPA installer

Useful tools

ToolDescriptionLink
Runtime HeadersXcode ProjectRuntime Headers
SSL Killswitch 2Jailbreak(+)SSL Killswitch 2
TheosProjectTheos
DumpdecryptedProjectDumpdecrypted
BundleIDJailbreak(+)BundleID
IPSWDownload FirmwareIPSW
NameLink
Malware wellbeing on iOS devicesSlides
DVIAHomepage
iGoat-SwiftHomepage
iOS-CTFHomepage
Dynamic analysis of iOS apps w/o JailbreakArticle En Article RU & Slides
Ro(o)tten Apples Vulnerability Heaven in the iOS SandboxSlides
Light and Dark side of Code InstrumentationSlides
Комбайны безопасности для iOS и AndroidSlides

Author: @ansjdnakjdnajkd

Do you want to add or fix? - Write to me or pull request!

apple
cheatsheet
frida
ghidra
information-security
information-security-research
infosec
ios
jailbreak
keychain
macos
objection
objective-c
pentest
research
security
security-tools
slides
swift
tools

Significant stargazers

Sven

163 followers · starred Feb 2020

Soh Satoh

155 followers · starred Jun 2023

O.o

20 followers · starred Mar 2019