Hacker's Notes
search
⌘Ctrlk
The Hacker's Notes
Hacker's Notes
  • THE HACKER'S NOTES
  • Fundamentals
    • Learning Process
    • Computer Fundamentals
    • Network Fundamentals
    • Unix Fundamentals
    • Hacking Fundamentals
  • Pentesting Cheatsheets
    • Pentesting Cheatsheets
    • SQL Injection & XSS Playground
  • offensive security
    • Red Team Infrastructure
    • MITRE ATT&CK
    • Initial Access
    • Code Execution
    • Code & Process Injection
    • Defense Evasion
    • Enumeration and Discovery
    • Privilege Escalation
    • Credential Access & Dumping
    • Lateral Movement
    • Persistence
    • Exfiltration
  • Active Directory
    • Active Directory & Kerberos Abuse
  • Reversing, forensics & misc
    • Internals
    • AWS Accounts, Users, Groups, Roles, Policies
    • Neo4j
    • Dump Virtual Box Memory
    • AES Encryption Using Crypto++
    • Reversing Password
  • HACKING MANUEL
    • Hacking Methodology
    • Pentesting Web checklist
  • RECONNAISSANCE
    • OSINT
    • Public info gathering
    • Basic recon
    • Root domains
    • Subdomain Enum
    • DNS (Domain Name Systems) Pentesting
    • MDNS (Multicast DNS) Pentesting
    • Port Scan
    • Network Scanning
    • Host Scanning
    • Packet Scanning
    • Find Leaked API Keys
    • Email Analysis
    • Webs recon
    • Web Basic Pentesting
    • Windows Forensics
    • Active Directory Pentesting
    • AD CS (Active Directory Certificate Services) Pentesting
    • Cloud Info Gathering
    • Dark-Web Search
    • Social Engineering
  • Enumeration
    • 🟢Information Gathering
    • Files
    • SSL/TLS
    • Ports
    • WEB App Technologies
    • Unix Enum
    • Windows Enum
  • Exploitation
    • 🟢Pre-Exploitation
    • 🟢Exploitation
    • WEB App Attacks
    • Payloads
    • Reverse Shells
    • File transfer
    • Unix Exploit
    • Window Exploit
  • Privilege Escalation
    • 🟢Post-Exploitation
    • Linux Priv Esca
    • Unix Priv Esca
    • Window Priv Esca
  • PIVOTING/LATERAL MOVEMENT
    • 🟢Lateral Movement
    • 🟢Pivoting
    • Unix Piv/Lateral
    • Pivoting in Linux
    • Window Piv/Lateral
  • DATA EXFILTRATION
    • Unix Data Exfilt
    • Backdoors in Linux
    • Window Data Exfilt
  • PERSISTENCE
    • Unix Persist
    • Cover Your Tracks in Linux
    • Window Persist
  • NETWORK HACKING
    • Apache Hadoop Pentesting
    • ARP (Address Resolution Protocol) Spoofing
    • EthernetIP Pentesting
    • FastCGI Pentesting
    • Firewall
    • GRPC Pentesting
    • ReDoS (Regular Expression Denial of Service)
    • Rsync Pentesting
    • Protocols
  • WIRELESS HACKING
    • Wifi Enum
    • Wifi Exploit
    • Wifi Priv
    • Bluetooth
    • VPN
    • Audio/Tv Hacking
  • EMAIL HACKING
    • IMAP Pentesting
    • POP Pentesting
    • Receive Email as Another Address
    • SMTP Pentesting
  • DATABASE HACKING
    • CouchDB Pentesting
    • InfluxDB Pentesting
    • MongoDB Pentesting
    • MSSQL (Microsoft SQL) Pentesting
    • MySQL Pentesting
    • Neo4j Pentesting
    • PostgreSQL Pentesting
    • Redis Pentesting
    • SQLite Pentesting
  • CLOUD HACKING
    • General
    • AWS
    • Azure
    • GCP
    • CDN - Comain Fronting
    • Docker && Kubernetes
    • Virtual Machine
    • Git Pentesting
    • Gitea Pentesting
    • Gogs Pentesting
  • AI HACKING
    • AI Prompt Injection
    • Attack_techniques
    • Attack_evasions
    • Attack_intents
    • Ai_enabled_app_defense_checklist
    • Ai_sec_questionnaire
    • Ai_threat_model_questions
    • LLM/AI/ML/prompt testing
  • MACHINE LEARNING HACKS
    • Jupyter Notebook Pentesting
    • Orange Data Mining
    • Read HDF5 (H5) File
    • Read PT File
    • Read PT File
    • Computer Vision
    • Data Processing
    • Create Malicious ML Model
  • CODE HACKING
    • Code review
    • Sinks
  • MOBILE HACKING
    • General
    • Android
    • iOS
  • BLOCKCHAIN HACKING
    • Ethereum
    • Attack Methodology
  • CRYPTOGRAPHY HACKING
    • Cryptography Basic
    • Password Safe Pentesting
    • PowerShell Credentials
    • John the Ripper
    • Algorithim Pentesting
    • Key Derivation
    • Math
  • IOT HACKING
    • Printer Pentesting
    • IPP (Internet Printing Protocol) Pentesting
  • HARDWARE HACKING
    • Flipper Zero
    • Firmware Analysis
    • Gerber (GBR) Files
    • MQTT Pentesting
    • NETGEAR Pentesting
    • SAL Logic Analysis
  • WRITEUPS
    • THM Walkthroughs
    • HTB Walkthroughs
    • OSCP Preparation
    • CRTP Prepration
    • Labs writeups
    • Blogs/Gitbooks Links
    • Portswigger writeups
  • BugBounty
    • BugBounty Methodology
    • BugBounty Resources
  • Tools
    • Privacy
    • Steganography
    • Password cracking
    • Windows Tools
    • Burp Suite
    • Scripting
    • Red Team Resources
    • Hacking Tools
    • Internal Pentest
    • Report template
    • Random
    • Wireshark Cheat Sheet
    • Tshark Cheat Sheet
    • Master assessment mindmaps
    • Convert PuTTY Key to OpenSSH Key
    • Decrypt SolarPuTTY Sessions Files
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
githubEdit
  1. MOBILE HACKING

iOS

https://martabyte.github.io/ios/hacking/2022/03/13/ios-hacking-en.htmlmartabyte.github.iochevron-right
LogoModern iOS Pentesting: No Jailbreak Needed - Dvulndvuln.comchevron-right
LogoStart your first iOS Application Pentest with me.. (Part- 1)Mediumchevron-right
LogoMobSF "IPA Binary Analysis" | Step by StepInês Martinschevron-right

hashtag
iOS

PreviousConnect to Android Device from PC using SSHchevron-leftNextEthereumchevron-right

Last updated 2 months ago

# All about Jailbreak & iOS versions
https://www.theiphonewiki.com/wiki/Jailbreak

# OWASP MSTG
https://github.com/OWASP/owasp-mstg

# Jailbreak list
https://docs.google.com/spreadsheets/d/11DABHIIqwYQKj1L83AK9ywk_hYMjEkcaxpIg6phbTf0/edit#gid=1014970938

# Checklist
https://mobexler.com/checklist.htm#ios

# Jailbreak for iPhone 5s though iPhone X, iOS 12.3 and up
# https://checkra.in/
checkra1n 

# 3UTools
http://www.3u.com/

# Cydia
# https://ryleylangus.com/repo
# Liberty Bypass Antiroot

# SSL Bypass
# https://github.com/evilpenguin/SSLBypass


# Check Info Stored:
3U TOOLS - SSH Tunnel

# Analyzing binary:
# Get .ipa
# unzip example.ipa
# Locate binary file (named as the app usually)

# Check encryption
otool –l BINARY | grep –A 4 LC_ENCRYPTION_INFO
# If returned "cryptid 1" ipa is encrypted, good for them

# Check dynamic dependencies
otool –L BINARY

# Using plutil to modify properties
# https://scriptingosx.com/2016/11/editing-property-lists/

# SSL Bypass
# https://github.com/evilpenguin/SSLBypass

find /data/app -type f -exec grep --color -Hsiran "FINDTHIS" {} \;
find /data/app -type f -exec grep --color -Hsiran "\"value\":\"" {} \;

.pslist= "value":"base64"}

find APPPATH -iname "*localstorage-wal" -> Check manually

# Extract IPA from installed app
# https://github.com/AloneMonkey/frida-ios-dump
# Manual way (without launching the app)
ls -lahR /var/containers/Bundle/Application/ | grep -B 2 -i 'appname' # To find app ID
scp -r root@127.0.0.1:/var/containers/Bundle/Application/{ID} LOCAL_PATH
mkdir Payload
cp -r appname.app/ Payload/
zip -r app.ipa Payload/

# Objective-C and Swift class dumper
# https://github.com/DerekSelander/dsdump

# Interesting locations
/private/var/mobile/Containers/Data/Application/{HASH}/{BundleID-3uTools-getBundelID}
/private/var/containers/Bundle/Application/{HASH}/{Nombre que hay dentro del IPA/Payloads}
/var/containers/Bundle/Application/{HASH}
/var/mobile/Containers/Data/Application/{HASH}
/var/mobile/Containers/Shared/AppGroup/{HASH}