How morsmalleo/ahmyth works
AhMyth is an Android remote-access tool with an Electron desktop controller and an Android payload. The documented user flow is to build a standalone APK or use an APK template, install the payload, then manage the device through the Victim’s Lab. The sampled code shows the desktop app accepting Socket.IO connections and the Android service starting its connection manager; the broader capability details come from the README, not a full inspection of those subsystems. The diagram keeps capabilities coarse-grained and marks documented workflow links separately from sampled implementation evidence.
Main entry points: app APK Builder · main.js Desktop App · MainActivity.java Payload Activity · MainService.java Background Service
Components 16
Desktop Controller
- Desktop App
AhMyth-Server/app/main.js - Victim’s Lab
AhMyth-Server/app/app/views - Victim Registry
AhMyth-Server/app/app/assets/js/model/Victim.js - Socket Listener
AhMyth-Server/app/main.js
Android Payload
- Payload Activity
AhMyth-Client/app/src/main/java/ahmyth/mine/king/ahmyth/MainActivity.java - Background Service
AhMyth-Client/app/src/main/java/ahmyth/mine/king/ahmyth/MainService.java - Command Handler
AhMyth-Client/app/src/main/java/ahmyth/mine/king/ahmyth/ConnectionManager.java - Socket Client
AhMyth-Client/app/src/main/java/ahmyth/mine/king/ahmyth/IOSocket.java
Device Capabilities
- Camera and Mic
AhMyth-Client/app/src/main/java/ahmyth/mine/king/ahmyth - Location
AhMyth-Client/app/src/main/java/ahmyth/mine/king/ahmyth/LocManager.java - File Access
AhMyth-Client/app/src/main/java/ahmyth/mine/king/ahmyth/FileManager.java - Personal Data
AhMyth-Client/app/src/main/java/ahmyth/mine/king/ahmyth
Payload Delivery
- APK Builder
AhMyth-Server/app/app - APK Template
AhMyth-Server/app/app/Factory
Other components
- Operator
- Android Device
Connections 11
- Operator → APK Builder: builds payload
README.md - APK Template → APK Builder: supplies template
README.md - APK Builder → Android Device: installs payload
README.md - Android Device → Payload Activity: runs payload
README.md - Payload Activity → Background Service: starts service
AhMyth-Client/app/src/main/java/ahmyth/mine/king/ahmyth/MainActivity.java - Background Service → Command Handler: starts connection
AhMyth-Client/app/src/main/java/ahmyth/mine/king/ahmyth/MainService.java - Operator → Victim’s Lab: controls device
README.md - Desktop App → Victim’s Lab: opens interface
AhMyth-Server/app/main.js - Desktop App → Socket Listener: starts listener
AhMyth-Server/app/main.js - Socket Listener → Victim Registry: registers connection
AhMyth-Server/app/main.js - Command Handler → Socket Client: uses socket
AhMyth-Client/app/src/main/java/ahmyth/mine/king/ahmyth/ConnectionManager.java