Spring Training 2017 - Mobile Application Exploitation (iOS and Android)
From BruCON 2017
Contents
Mobile Application Exploitation (iOS and Android)
A completely hands-on training on exploiting mobile applications for the iOS and Android platform. Even wondered how different attacking a Mobile application would be, from a traditional web application? Including iOS 10 and Android 7 Nougat, we are bringing you an updated version of this successful and very well received course !
Course Description
After the introduction of iOS 10 and Android 7 Nougat, We are bringing an updated version of the course with the latest tools & techniques. This will be an introductory course on exploiting iOS and Android applications, suited well for both beginners as well as advanced security enthusiasts. The training will be based on exploiting Damn Vulnerable iOS app, Android-InsecureBankv2 and other real-world application vulnerabilities in order to give an in-depth knowledge about the different kinds of vulnerabilities in Mobile applications. This course will also discuss how an attacker can secure their application using secure coding & obfuscation techniques. After the workshop, the students will be able to successfully pentest and secure applications running on the various operating systems.
The training will also include a CTF challenge in the end where the attendees will use their skills learnt in the training to solve the CTF challenges. The students will be provided with Slides, tools and VMs used during the course.
Course contents
- Part 1 - iOS Exploitation
- Module 1 : Getting Started with iOS Pentesting
- iOS security model
- App Signing, Sandboxing and Provisioning
- Setting up XCode 8
- Changes in iOS 10
- Primer to iOS 10 security
- Exploring the iOS filesystem
- Intro to Objective-C and Swift
- What's new in Swift 3 ?
- Setting up the pentesting environment
- Jailbreaking your device
- Cydia, Mobile Substrate
- Getting started with Damn Vulnerable iOS app
- Binary analysis
- Finding shared libraries
- Checking for PIE, ARC
- Decrypting ipa files
- Self signing IPA files
- iOS security model
- Module 2 : Static and Dynamic Analysis of iOS Apps
- Static Analysis of iOS applications
- Dumping class information
- Insecure local data storage
- Dumping Keychain
- Finding url schemes
- Dynamic Analysis of iOS applications
- Cycript basics
- Advanced Runtime Manipulation using Cycript
- Method Swizzling
- GDB basic usage
- Modifying ARM registers
- Static Analysis of iOS applications
- Module 3 : Exploiting iOS Applications
- Exploiting iOS applications
- Broken Cryptography
- Side channel data leakage
- Sensitive information disclosure
- Exploiting URL schemes
- Client side injection
- Bypassing jailbreak, piracy checks
- Inspecting Network traffic
- Traffic interception over HTTP, HTTPs
- Manipulating network traffic
- Bypassing SSL pinning
- Exploiting iOS applications
- Module 4 : Reversing iOS Apps
- Introduction to Hopper
- Disassembling methods
- Modifying assembly instructions
- Patching App Binary
- Logify
- Module 5 : Securing iOS Apps
- Securing iOS applications
- Where to look for vulnerabilities in code?
- Code obfuscation techniques
- Piracy/Jailbreak checks
- iMAS, Encrypted Core Data
- Module 1 : Getting Started with iOS Pentesting
- Part 2 - Android Exploitation
- Module 1
- Why Android
- Intro to Android
- Android Security Architecture
- Android application structure
- Signing Android applications
- ADB – Non Root
- Rooting Android devices
- ADB - Rooted
- Understanding Android file system
- Permission Model Flaws
- Module 2
- Understanding Android Components
- Introducing Android Emulator
- Introducing Android AVD
- Module 3
- Proxying Android Traffic
- Reverse Engineering for Android Apps
- Smali Labs for Android
- Dex Analysis and Obfuscation
- Android App Hooking
- Module 4
- Attack Surfaces for Android applications
- Exploiting Local Storage
- Exploiting Weak Cryptography
- Exploiting Side Channel Data Leakage
- Root Detection and Bypass
- Exploiting Weak Authorization mechanism
- Identifying and Exploiting flawed Broadcast Receivers
- Identifying and Exploiting flawed Intents
- Identifying and Exploiting Vulnerable Activity Components
- Exploiting Backup and Debuggable apps
- Dynamic Analysis for Android Apps
- Analysing Proguard, DexGuard and other Obfuscation Techniques
- Module 5
- Exploitation using Drozer
- Automated source code analysis
- Exploiting Android embedded applications
- Module 1
Target audience
This course is for penetration testers, mobile developers or anyone keen to learn mobile application security
Hardware/software Requirements
- 25+ GB free hard disk space
- 4+ GB RAM
- VMware player installed on the machine
- Latest version of Android SDK. To make sure the setup is right, follow all the steps on https://github.com/dineshshetty/Android-InsecureBankv2/blob/master/Usage%20Guide.pdf
- A jailbroken iPhone/iPad/iPod for iOS testing running iOS 9.0+ is necessary for the iOS hands-on modules. We will be bringing a few devices with us however the attendees are encouraged to bring their own devices. Please feel free to contact the BruCON (training@brucon.org) for any questions.
- If you are using a Mac machine, also download and install the latest version of Xcode.
- Administrative access on the system
- External USB access allowed
Testimonials
"Great communications skills, really proactive and involved to make sure everyone is up to speed at all times (and no one falls behind)"
"Prateek should do this training again, I'll gladly recommend it to my colleagues to attend"
"Trainers knew what they were talking about +++"
Trainer Biography
Prateek Gianchandani, an OWASP member and contributor is currently leading the mobile security team at Cognosec. He has performed a number of penetration tests on mobile and web applications and even developed a lot of applications for the App Store. His core focus area is iOS application pentesting and exploitation. He is also the author of the open source vulnerable application named Damn Vulnerable iOS app. He has presented and trained at many international conferences including Defcon, Blackhat USA, Brucon, Hack in paris, Phdays, Appsec USA etc. In his free time, he blogs at http://highaltitudehacks.com
Dinesh Shetty leads the Mobile Security Testing Center of Excellence at Security Innovation. He has performed innumerable penetration tests on Web, Mobile and VoIP technologies - however his core area of expertise is Mobile and Embedded application pentesting and exploitation. He is an accomplished author and speaker, and his research has been published in multiple security zines and sites like Packet Storm, Exploit-DB, PenTest Magazine, SecurityXploded, ClubHACK Magazine, and Exploit-Id amongst others. Dinesh is a Hall of Fame member of Apple, Adobe, and Barracuda Networks for his identification and responsible disclosure of critical security vulnerabilities in their products, web sites, and web services.
Dinesh has previously presented his work at security conferences around Europe, Boston, New York, Australia, India and a bunch of Middle East countries, and continues to enhance his knowledge by undergoing security trainings and certifications around the world. He maintains an open source intentionally vulnerable Android application called InsecureBankv2 for use by developers and security enthusiasts.
Links :
Wed. 19 - 21 April 2017 (09:00 - 17:00) (3-day)