Skip to content

crystalwwj/AndroidMalware

Repository files navigation

Android Malware Analysis

The repository contains bash script files that woud install all the softwares needed for Cuckoo Droid for android malware analysis.

Usage

  • Step 0: (Optional) install ubuntu 16.04 in your virtualbox. Total storage size would be about 50 GB.

  • Step1: install git and set global variables, and some tools

    sudo apt -y install git
    git config --global user.email "[email protected]"
    git config --global user.name "name"
    # (Optional)
    sudo apt -y install snap
    sudo snap install vscode --classic
    sudo apt -y install vim
    
  • Step2: download our repo and run the first bash file

    git clone https://github.com/crystalwwj/AndroidMalware.git
    cd AndroidMalware/
    bash cuckoo_install_1.sh
    
    cd android-sdk-linux/tools/
    ./android avd
    
    • Cancel the "Use Host GPU"
    • Click "OK"
    • Close Android Virtual Device (AVD) Manager

    Then run

    bash ~/AndroidMalware/cuckoo_install_2.sh
    
  • Step3: Wait for the android phone starting completely and then execute

    bash ~/AndroidMalware/cuckoo_install_3.sh
    

    Then modify the setting the the phone. Please follow the following steps to set up the emulator.

    • Press settings->Security->screenlock->none
    • Press settings->Display->sleep->30 minutes
    • Start Generate contacts app
    • Start Supersuser app
    • Start Xposedinstaller app
    • In Modules, check both packages Droidmon , Android Blue Pill
    • Press Framework -> OK -> Install -> Allow -> Cancel (if it shows rooted fail -> Press install -> Cancel)
    • Press Soft reboot -> OK
    • After emulator restarted completely (don't close it).
  • Step4: Turn off the emulator. Then run

    bash ~/AndroidMalware/cuckoo_install_4.sh
    
  • Step5: Open the terminal, type:

    python ~/cuckoo/cuckoo.py -d
    

    Open another terminal, type:

    python ~/cuckoo/web_android/manage.py runserver 127.0.0.1:7000
    
  • Step6: Open your browser at http://127.0.0.1:7000/ and test!!! (better changing the port)

Malware dataset

Reference

Contact Info.

Jeremy R.L. JAHN B02901043 吳宛臻 B04901011

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •