Skip to content

Classtractor is a Python tool that automates the extraction and testing of Android activities from APK files. Using aapt for extraction and the Activity Manager (am) via ADB for testing, it streamlines Android app analysis. This helps cybersecurity engineers identify misconfigured security controls by detecting accessible activities.

License

Notifications You must be signed in to change notification settings

D4rkTT/Classtractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Classtractor

Classtractor is a Python tool designed to automate the extraction and testing of Android activities from APK files. It simplifies Android application analysis by identifying accessible activities that may bypass security controls, helping cybersecurity engineers uncover potential misconfigurations.

Features

  • Automated Activity Extraction: Extracts Android activities using the Android Asset Packaging Tool (aapt).
  • Systematic Activity Testing: Tests each extracted activity using the Activity Manager (am) through ADB.
  • Security Misconfiguration Detection: Helps identify accessible activities behind security controls, revealing potential vulnerabilities.

Requirements

  • Python +3.7
  • ADB (Android Debug Bridge) installed
  • aapt (Android Asset Packaging Tool) installed

Installation

  1. Clone this repository:

    git clone https://github.com/D4rkTT/Classtractor
    cd classtractor

Usage

  1. Connect your Android device or emulator via ADB

  2. Install required APK.

  3. Run Classtractor:

    python classtractor.py
  4. Enter APK, AAPT, ADB files path

License

This project is licensed under the Apache-2.0 license.

About

Classtractor is a Python tool that automates the extraction and testing of Android activities from APK files. Using aapt for extraction and the Activity Manager (am) via ADB for testing, it streamlines Android app analysis. This helps cybersecurity engineers identify misconfigured security controls by detecting accessible activities.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages