• Goa'15
  • Training
  • Xtreme Android Exploitation Lab

Xtreme Android Exploitation Lab

Anant Shrivastava & Aditya Gupta

Seats Sold Out

Trainer Name: Anant Shrivastava & Aditya Gupta
Title: Xtreme Android Exploitation Lab
Duration: 2 Days
Date: 4th and 5th February 2015

Objective

The Android Exploitation Lab is a 2 day action-packed class of extreme Android Security and Exploitation. We will have a look at the internals of the Android platform, understand it's weakness, analyze and reverse applications, find vulnerabilities and exploit them.

The class is developed in a hands-on and CTF approach, where each attendee gets to have their hands dirty with exploiting real world Android applications and binaries. The training will be done on an Android Tamer distribution prepared exclusively for the Nullcon training.

The two trainers have put a lot of research in order to come up with this training for the first time @ Nullcon 2015. Attendees will also get full access to the automated cloud based app security assessment framework AppWatch after the training.

Preview

We will post a video soon.

Course Outline Day wise

Android Basics

  • Introduction to Android
  • Android Architecture (OS & file system)
  • Android Kernel

Android Security Model

  • Android Security Architecture
  • Android Permission model
  • Application Sandboxing
  • Bypassing Android Permissions

Intro to application development

  • Application Components
  • Application Structure
  • SDK and Android Tools
  • Create a simple android application

Setting up the Pentesting Environment

  • Setting up Android Emulator / Genymotion
  • Introduction and walk through of Android Tamer Mobile Pentest Environment

App Kung-Fu

  • Penetration Testing Approach (Blackbox and whitebox)
  • Application Analysis
  • Reverse Engineering
  • Traffic interception (Active & Passive) of Android Application
  • OWASP Top 10 Risk for Android
  • Sniffing Application and phone's network data.
  • Insecure file storage
  • Having fun with Databases
  • Android Rooting fundamentals

Exploiting Logic and Code flaws in applications

  • Exploiting Content Providers
  • SQL Injection in Android Application
  • Local File Inclusion/Directory Traversal
  • Drive by Exploitation
  • Tapjacking
  • HTML 5 Attacks
  • WebViewaddjavascriptinterface exploitation
  • SOP Bypass for AOSP Browser
  • Cordova based attacks
  • Phishing Attacks on Android

Arm Basics

  • ARM Architecture overview
  • System Calls and Registers
  • Exploiting overflow vulnerabilities
  • Why Ret2LibC won't work

Dex Labs

  • Introduction to Dalvik File Formatv
  • In-depth to Smali
  • Manipulating smali files and cracking Applications
  • Cracking Application Licenses
  • Dex file manipulation
  • Obfuscating applications with dex obfuscator

Automated Analysis & Exploitation

  • Android Framework for Exploitation (AFE)
  • Drozer framework
  • AppWatch API
  • radare2 (reverse engineering framework)
  • Leveraging Dynamic Instrumentation frameworks

  • Dynamic dalvik instrumentation (DDI)
  • Xposed Framework
  • Cydia Substrate
  • Indroid

Further Exploitation

  • Creating custom Bootloaders
  • Android Root Exploits - Recreating the exploit (including latest towelroot / futex root)
  • Fuzzing Android components
  • Webkit Exploitation
  • Use After Free vulnerability and exploitation
  • Writing a reliable exploit for Android
  • More ROP Exploitation
  • Finding ROP gadgets and building ROP Chains
  • Using GDB for Android debugging
  • Cracking Android Applications
  • Root Detection Bypass
  • SSL Pinning Bypass
  • Hands-on on Damn Vulnerable Android application
  • Creating and Exploiting custom ROMs
  • Exploiting USB connections with Android

Android Forensics & Malware Analysis

  • Extracting text messages, voice mails, call logs, contacts and messages
  • Recovering information stored in SD Card
  • Analyzing android backup's
  • Reversing and Analyzing Android malwares using Apktool, dex2jar and JD-GUI
  • Introduction to IDA Pro
  • Analyzing malwares and exploits using IDA

Being secure

  • Android in the Enterprise
  • Writing Secure Code
  • Pentest before you publish
  • Writing Python Scripts for automating android pentests
  • Source Code Auditing for Applications

What to bring?

  • Windows 7/8 , Ubuntu 10.x +
  • Administrative access on your laptop with external USB allowed
  • Atleast 20+ GB free hard disk space
  • 2+ GB RAM
  • Genymotion installed (Downloadable from http://genymotion.com) with Nexus 7 - 4.1.1 image

Prerequisites

  • Basic familiarity of Linux usage
  • Python scripting knowledge is a plus, but not extremely required

Who Should Attend?

  • Security Professionals
  • Web Application Pentesters
  • Application Developers
  • People interested to start into Android security

What to expect?

  • Getting started with Android Security
  • Reversing and Auditing of Android applications
  • Finding vulnerabilities and exploiting them
  • ARM Based exploitation for Android Applications
  • Hands-on with different Android components from security perspective

What not to expect?

To be an Android Hacking Expert/Ninja in a matter of 2 days. Even though this training would take you to a considerably high level in Android Security/Exploitation, and impart you with all the necessary skills needed, you need to work on your own and use the skills learnt in the training class to continue your Android Security explorations.

About the Trainers

Anant Shrivastava (@anantshri)

Anant Shrivastava is an experienced information security professional with 6 yrs of corporate experience with expertise in Mobile, Web application and Linux Security.

He has developed his expertise in mobile security over years and has successfully executed multiple mobile application security assessment projects. He has trained 100+ delegates on Android Security at various conferences (Nullcon - 2012, g0s - 2013, c0c0n - 2013). He has created Android Tamer (http://www.androidtamer.com)a Linux environment specially designed for Android Testing. He has also delivered talks at various security conferences on Android Operating System and Web application technologies. He holds various industry recognized certifications such as SANS GWAPT (GIAC Certified Web Application Testing), CEH (Certified Ethical Hacker) and RHCE (RedHat certified Engineer).

He is one of the co-author for OWASP Testing Guide v4. His whitepaper on "Web Application Fingerprinting" is referred as authority reference in OWASP Testing Guide. He has written multiple tools for web application and android testing, which are listed in his Github profile (https://github.com/anantshri/). He has credited with multiple responsible public disclosures (refer http://www.osvdb.org/creditees/10234-anant-shrivastava). His tool named SVN Extractor (https://github.com/anantshri/svn-extractor) is warmly received by penetration testing community. He has built a security solutions repository for WordPressCMS which contains open source code snippets to provide protection against known attack patterns (https://github.com/anantshri/wp-security). He is also a lead for project named as Code Vigilant (http://www.codevigilant.com), which aims to identify security, issues in open source software's and currently holds 150+ vulnerability disclosures.He can be contact at [email protected]

Aditya Gupta (@adi1391)

Aditya Gupta is the founder and trainer of Attify, a mobile security firm, and leading mobile security expert and evangelist. Apart from being the lead developer and co-creator of Android framework for exploitation - a framework for exploitation of Android applications, he has done a lot of in-depth research on the security of mobile devices, including Android, iOS, and Blackberry, as well as BYOD Enterprise Security.

He is also the author of the popular Android security book "Learning Pentesting for Android" selling over 5000+ copies, since the time of launch in March 2014. He has also discovered serious web application security flaws in websites such as Google, Facebook, PayPal, Apple, Microsoft, Adobe, Skype, and many more.

In his previous work at Rediff.com, his main responsibilities were to look after web application security and lead security automation. He also developed several internal security tools for the organization to handle the security issues.

He has also previously spoken and trained at numerous international security conferences including BlackHat, Syscan, OWASP AppSec, Toorcon, Clubhack, Nullconetc, along with many other corporate trainings on Mobile Security. He has also recently launched a cloud based automated mobile application security scanning solution for enterprises, called "AppWatch". He could be contacted at [email protected].

Copyright © 2018-19 | Nullcon India | International Security Conference | All Rights Reserved