Author: Abdul Salam | Portfolio: Salamcs.app Contact: LinkedIn: Abdul Salam | GitHub: abdulsalam401
โ ๏ธ For authorized security testing and educational purposes only.
Axiom is a comprehensive Android security assessment framework designed for ethical hackers, penetration testers, and security researchers. It features a futuristic Matrix Cyber HUD terminal interface with live target telemetry, static APK decomposition, vulnerability scanning, BlueZ Bluetooth exploitation (CVE-2023-45866), payload generation, wireless ADB discovery, and real-time GUI screen mirroring & remote control.
| Feature | Description |
|---|---|
| โก Matrix Cyber HUD | 2x2 multi-column categorized dashboard with live target telemetry & 3D block banner |
| ๐ BlueZ Exploit (CVE-2023-45866) | Bluetooth HID keystroke injection exploit for unauthenticated remote access |
| ๐ฅ๏ธ GUI Remote & Mirroring | Real-time 30 FPS wireless screen mirroring with full mouse and keyboard interaction |
| ๐ Subnet Auto-Discovery | Automatically scans WiFi subnets to discover and pair with open ADB devices |
| ๐ Static APK Decompiler | Audits permissions, hardcoded secrets, exported components, and CVEs |
| ๐จ Vulnerability Scanner | Automated SDK CVE mapping, root detection, WebView & task hijacking checks |
| ๐ฏ Payload Generator | Generates msfvenom APKs, reverse shell one-liners, and obfuscated payloads |
| ๐ Executive Reports | Generates interactive HTML & structured JSON security assessment reports |
| ๐ Cross-Platform Launchers | Auto-setup virtual environment scripts for Linux/macOS (axiom.sh) & Windows (axiom.ps1) |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โโโโโโ โโโ โโโโโโ โโโโโโโ โโโโ โโโโ โ ANDROID SECURITY FRAMEWORK โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโ โ AUTHOR : Abdul Salam โ
โ โโโโโโโโ โโโโโโ โโโโโโ โโโโโโโโโโโโโโ โ SYSTEM : MATRIX v2.1.0 โ
โ โโโโโโโโ โโโโโโ โโโโโโ โโโโโโโโโโโโโโ โ TIME : 00:42:25 โ
โ โโโ โโโโโโโ โโโโโโโโโโโโโโโโโโ โโโ โโโ โ
โ โโโ โโโโโโ โโโโโโ โโโโโโโ โโโ โโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โญโโโโโโโโโโ ๐ฏ TARGET STATUS โโโโโโโโโโโฎโญโโโโโโโโโโโ โก ENGINE HUD โโโโโโโโโโโโโฎ
โ Target: Pixel 7 Pro โ CONNECTED โโ ADB Daemon: ONLINE โ BT: ACTIVE โ
โ Serial: 192.168.1.55:5555 (WiFi) โโ Session: Matrix Operator โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏโฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโโโโโโโโ ๐ก 01. RECON & AUDIT โโโโโโโโโฎโญโโโโโโ ๐ 02. EXPLOIT & ATTACK โโโโโโโโฎ
โ 01 ๐ฑ Device Hardware & OS Info โโ 05 ๐ฅ Exploit Engine โ
โ 02 ๐ APK Static Decompiler โโ 06 ๐ฏ Payload Generator โ
โ 03 ๐ Network Port Scanner โโ 18 ๐ BlueZ Keystroke Exploit โ
โ 04 ๐จ Vulnerability & CVEs โโ 14 ๐ป Interactive Root Shell โ
โ 12 ๐ SSL Pinning & Proxy Audit โโ 13 ๐ Push / Pull File Transfer โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏโฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโโโโโโ ๐ฎ 03. REMOTE & WIRELESS โโโโโโโฎโญโโโโโ ๐ ๏ธ 04. UTILITIES & REPORTS โโโโโโฎ
โ 16 ๐ฎ GUI Remote & Mirror โโ 07 ๐ Generate Security Report โ
โ 17 ๐ Auto-Discover & Connect โโ 10 ๐ฆ Package Manager โ
โ 08 ๐ก Enable ADB over WiFi (TCP) โโ 11 ๐ Logcat Secret Sniffer โ
โ 09 ๐ธ Instant Screenshot โโ 15 โน๏ธ About Axiom Framework โ
โ โโ 00 ๐ช Exit Session โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏโฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Choose your preferred installation method below:
Installs Axiom into an isolated environment and links a global axiom command into your system PATH so you can launch it from any terminal directory.
curl -sSL https://raw.githubusercontent.com/abdulsalam401/Axiom/main/install.sh | bashirm https://raw.githubusercontent.com/abdulsalam401/Axiom/main/install.ps1 | iexOnce installed, simply type axiom in any terminal!
Install Axiom directly as a Python CLI package:
# Install directly from GitHub:
pip install git+https://github.com/abdulsalam401/Axiom.git
# Or clone and install locally:
git clone https://github.com/abdulsalam401/Axiom.git
cd Axiom
pip install .After installation, the axiom command will be available globally in your PATH.
If you cloned the repository and want to run it directly:
git clone https://github.com/abdulsalam401/Axiom.git
cd Axiom
chmod +x install.sh axiom.sh
./install.sh # Sets up global 'axiom' command
# Or run portable launcher:
./axiom.shgit clone https://github.com/abdulsalam401/Axiom.git
cd Axiom
.\install.ps1 # Sets up global 'axiom' command
# Or run portable launcher:
.\axiom.ps1Linux (Native):
sudo apt install adbWindows (for WSL users):
- Download Platform Tools from: Android Developers
- Extract to
C:\platform-tools - Add
C:\platform-toolsto System PATH
macOS:
brew install android-platform-tools# For GUI Remote Control
pip install Pillow numpy
# For WSL Ubuntu users
sudo apt install python3-tkIf you're using WSL Ubuntu on Windows, you need to forward USB devices:
# In WSL Ubuntu terminal, just use adb.exe
adb.exe devices
# Or create an alias
echo 'alias adb="adb.exe"' >> ~/.bashrc
source ~/.bashrcWindows PowerShell (as Administrator):
winget install --id=dorssel.usbipd-win
# List USB devices
usbipd list
# Bind your Android device (replace BUSID with yours)
usbipd bind --busid 1-2
# Attach to WSL
usbipd attach --wsl --busid 1-2WSL Ubuntu:
sudo chmod -R 777 /dev/bus/usb
adb devices- Go to Settings โ About Phone โ Software Information.
- Tap Build Number 7 times.
- Go back to Settings โ Developer Options.
- Enable USB Debugging.
- Connect your phone via USB.
# With USB connected
python3 axiom.py --remote-setup
# Follow the prompts:
# 1. USB detected โ
# 2. ADB over WiFi enabled
# 3. Disconnect USB when prompted
# 4. Press Enter to connect wirelessly# After initial setup
python3 axiom.py --remote-connect --remote-ip 192.168.x.xpython3 axiom.pyMain menu workflow breakdown:
- ๐ก Recon & Audit:
[01]Device Info โข[02]APK Decompiler โข[03]Network Scanner โข[04]Vulnerability & CVEs โข[12]SSL Pinning - ๐ Exploit & Attack:
[05]Exploit Engine โข[06]Payload Generator โข[18]BlueZ Keystroke (CVE-2023-45866) โข[14]Root Shell โข[13]File Transfer - ๐ฎ Remote & Wireless:
[16]GUI Remote Control โข[17]Subnet Auto-Discover โข[08]Enable WiFi ADB โข[09]Screenshot Capture - ๐ ๏ธ Utilities & Reports:
[07]Executive Reports (HTML/JSON) โข[10]Package Manager โข[11]Logcat Sniffer โข[15]About โข[00]Exit
# List connected devices
python3 axiom.py --devices
# Full device info
python3 axiom.py --device RZ8R50TKP3A --info
# Analyze APK
python3 axiom.py --apk target.apk --report html --target-name "MyApp"
# Full vulnerability scan
python3 axiom.py --device 192.168.10.3:5555 --vuln-scan --pkg com.example.app
# Port scan
python3 axiom.py --device 192.168.10.3:5555 --port-scan
# Capture screenshot
python3 axiom.py --device 192.168.10.3:5555 --screenshot# Auto-detect connected device and start remote control menu (Recommended)
python3 axiom.py --remote
# or
python3 axiom.py -r
# Auto-detect connected device and take a screenshot
python3 axiom.py --screenshot
# or
python3 axiom.py -s
# One-time wireless setup (USB required first)
python3 axiom.py --remote-setup
# Interactive remote control (terminal) with manual IP
python3 axiom.py --remote-control --remote-ip 192.168.10.3
# GUI remote control with screen mirroring and manual IP
python3 axiom.py --gui-remote --remote-ip 192.168.10.3
# Stream screen as ASCII art
python3 axiom.py --remote-stream --remote-ip 192.168.10.3 --refresh 0.5
# Send touch event
python3 axiom.py --remote-tap 540 960 --remote-ip 192.168.10.3
# Send text
python3 axiom.py --remote-text "Hello World" --remote-ip 192.168.10.3
# Send key event
python3 axiom.py --remote-key home --remote-ip 192.168.10.3When you run --gui-remote, a graphical window opens with:
| Feature | Description |
|---|---|
| Real-time Screen | Live mirror of your phone display (~20-30 FPS) |
| Mouse Click | Click anywhere to tap on phone |
| Mouse Drag | Drag to swipe on phone |
| Keyboard Input | Type directly to phone |
| Navigation Buttons | Home, Back, Recent apps |
| Screenshot | One-click capture |
| FPS Counter | Monitor performance |
| Refresh Rate | Adjustable slider (0.3-3.0 sec) |
| Key | Action |
|---|---|
| Home | Home button |
| Backspace | Back button |
| Enter | Enter/OK |
| Arrow Keys | D-pad navigation |
| + / - | Volume up/down |
| Any text | Types on phone |
- Permission audit โ flags 30+ dangerous Android permissions by severity (CRITICAL โ LOW)
- Hardcoded secrets โ scans for API keys, passwords, AWS keys, Firebase configs
- Exported components โ activities, services, receivers, providers
- File hashes โ MD5, SHA1, SHA256
- Obfuscation detection, native libraries, embedded URLs & IPs
- Vulnerability heuristics โ debuggable flag, backup enabled, no network security config
- CVE Mapping โ 30+ CVEs mapped to Android SDK levels (Stagefright, BlueBorne, StrandHogg, BlueFrag)
- Root detection โ su binary, Magisk, SuperSU, debuggable build
- Frida detection โ checks running processes for Frida server
- Insecure data storage โ SharedPreferences, SQLite, world-readable files
- WebView checks โ JS enabled, file:// access
- Task hijacking โ StrandHogg-style taskAffinity check
| Module | Description |
|---|---|
| Activity Launch | Launch exported activities without permission |
| Broadcast Trigger | Send malicious broadcast intents |
| Content Provider | Dump arbitrary content provider data |
| Deep Link Fuzzer | Fuzz 20+ deep link paths for unprotected endpoints |
| Frida Injection | Step-by-step Frida/objection injection guide |
| Reverse Shell Drop | Push & execute busybox/nc reverse shell via ADB |
| DB Extractor | Pull SQLite databases from app data directory |
| Lock Bypass | PIN brute force via ADB keyevents |
| Type | Description |
|---|---|
reverse_tcp |
msfvenom Android Meterpreter reverse TCP APK |
reverse_https |
msfvenom HTTPS reverse shell APK |
reverse-shells |
6 reverse shell one-liners (nc, bash, python3, perl, socat) |
adb-script |
Full ADB exploitation shell script |
obfuscate |
Base64 or hex payload obfuscation |
| Mode | Description |
|---|---|
| Terminal (ASCII) | Screen stream as ASCII art in terminal |
| GUI (Real-time) | Graphical window with mouse/keyboard control |
| Interactive | Command-based control (tap, swipe, text, keys) |
| Screenshot | Single frame capture |
Axiom generates:
- HTML Report โ dark glassmorphism theme, severity badges, finding cards with CVE links and remediation advice
- JSON Report โ structured machine-readable output
- CLI Table โ quick terminal summary sorted by severity (CRITICAL โ LOW)
rich>=13.0.0
requests>=2.31.0
colorama>=0.4.6
Pillow>=10.0.0
numpy>=1.24.0
| Requirement | Purpose | Installation |
|---|---|---|
| Python 3.8+ | Runtime | python3 --version |
| ADB | Device communication | sudo apt install adb |
| (Optional) Metasploit | APK payload generation | Install Guide |
| (Optional) Frida | Runtime instrumentation | pip install frida-tools |
| (Optional) mitmproxy | Traffic interception | pip install mitmproxy |
| (Optional) tkinter | GUI remote control | sudo apt install python3-tk |
# Use Windows ADB from WSL
adb.exe devices
# Or add to PATH
export PATH=$PATH:/mnt/c/Windows/System32# Re-enable TCP mode
adb tcpip 5555
adb connect <DEVICE_IP>:5555# Install missing dependencies
pip install Pillow numpy
sudo apt install python3-tk# The ASCII stream works but may look distorted
# For better quality, use GUI mode:
python3 axiom.py --gui-remote --remote-ip <IP>- ADB over WiFi exposes port 5555 โ only use on trusted networks
- Disable wireless ADB when not in use:
adb disconnect - The tool is for authorized testing only
- Always get written permission before testing any system
Axiom/
โโโ axiom.py # Main entry point
โโโ modules/
โ โโโ adb_manager.py # ADB operations
โ โโโ apk_analyzer.py # APK static analysis
โ โโโ network_scanner.py # Network scanning
โ โโโ vulnerability_scanner.py # Vulnerability checks
โ โโโ exploit_engine.py # Exploitation modules
โ โโโ payload_generator.py # Payload generation
โ โโโ report_generator.py # Report generation
โ โโโ remote_controller.py # Remote control (terminal)
โ โโโ gui_remote.py # GUI remote control
โโโ requirements.txt # Python dependencies
โโโ LICENSE.txt # MIT License
โโโ README.md # This file
Axiom is intended exclusively for authorized security assessments, CTF competitions, and educational research.
Unauthorized use of this tool against systems you do not own or have explicit written permission to test is illegal under the Computer Fraud and Abuse Act (CFAA), Computer Misuse Act, and equivalent laws in most jurisdictions.
The author Abdul Salam and contributors assume no liability for any misuse or damage caused by this tool.