Friday 4 November 2016

Nathan: Android Emulator for Mobile Security Testing Tool

Nathan: Android Emulator for Mobile Security Testing Tool

Nathan: Android Emulator for Mobile Security Testing Tool

Nathan is a 5.1.1 SDK 22 AOSP Android emulator customized to perform mobile security assessment.

Supported architectures:
  • x86
  • arm (soon)
The emulator is equipped with the Xposed Framework and the following pre-installed modules:
  • SSLUnpinning, to bypass SSL Certificate pinning.
  • Inspeckage, to perform the dynamic analysis of an application.
  • RootCloak, to bypass root detection.
The following tools are already installed:

  • #SuperSU: Superuser access management tool
  • Drozer: Comprehensive security and attack framework for Android


  • Only python 2.7.x required
  • Hooking ready with Xposed
  • Pre-installed tools for application analysis
  • Fully customizable
  • Snapshot and restore of user data


Download Nathan core scripts from git:

$ git clone
$ cd nathan

Init Nathan for the first time (for downloading firmware files)

$ ./ init 

If a proxy is required to download files, the parameter -dp is available :

$ ./ init -dp

The init command downloads all the files required to run use Nathan Emulator.


To start Nathan:

$ ./ start

To redirect the traffic through a proxy (es., the parameter -p can be used:

$ ./ start -p

To create a snapshot of current user image data with a label (current in this case):

$ ./ snapshot -sl current 

To restore the emulator to the snapshot with label current:

$ ./ restore --rl current

To get a list of available snapshots to restore:

$ ./ restore --ll  

Every time the emulator is started, a temporary copy of system image is created and each changes made to system data is lost when the emulator is powered off.

To keep permanent the changes, the command freeze is available:

$ ./ freeze  

To push files from a folder to a running Nathan emulator, the command push is available:

$ ./ push -f folder  

The complete list of command is:

usage: [-h] [-v] [-a ARCH]
{init,start,snapshot,restore,freeze,push} ...

Optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Show emulator/kernel logs
  -a ARCH, --arch ARCH  Select architecture (arm/x86) - Default = x86

Command to run:
    init                Download and init Nathan emulator
    start               Start Nathan emulator
    snapshot            Create userdata image snapshot
    restore             Restore userdata image snapshot
    freeze              Freeze temporary system image
    push                Push files to Nathan emulator 

The parameter -h for each command shows specific options.



Post a Comment

Note: only a member of this blog may post a comment.

Toggle Footer