How nullpounce/pounce-keys works
Project Type & Purpose
• The project is an Android keylogger/backdoor tool with multiple delivery options (Discord, Gmail, IP) that also includes an injection mechanism. It isn’t a conventional full-stack application but a tool that comprises Android APK projects, multiple platform-specific variants, and a web-based log viewing panel.
• The README clearly states that its purpose is to capture keystrokes by leveraging an Android accessibility service and forward logs via various channels, as well as provide a builder/injector mechanism for embedding the malicious code into target APKs.
Analyzing the File Structure
• There are several high-level directories:
• “app”: Contains the primary Android source (Java files, manifest, Gradle build scripts, resources) – this is the main Android keylogger application.
• “Versions”: Contains variant source code files for different modes (Discord, Gmail, IP, plus separate AndroidManifest.xml files for stealth versus non-stealth versions). This indicates modularity to support different endpoints/behaviors.
• “web”: Holds HTML, JavaScript, and CSS files for a web panel. This panel is likely used to view the captured logs.
• Executables and Python scripts outside these folders (e.g., Discord_HTML.exe, Gmail.exe, IPhtmlUpdater.exe, PounceKeys.py) indicate builder/injector utilities used for customizing, packaging, or injecting the keylogger service into other APKs.
• “build-tools”, “gradle”, and configuration files (build.gradle, settings.gradle, etc.) denote the Android build environment.
• These directories clearly mark out components that include the Android keylogger, the variant payloads, the injection tools, and the web-based log panel.
a. Main Components:
• Android Keylogger Application: Shown as the “App” module, built with Android Studio/Gradle. It includes source code in “app” and different configurations in “Versions” (Discord, Gmail, IP, NonStealth, and Stealth).
• Injection/Builder Utility: Represent the Python-based injector (using “PounceKeys.py”, “injector”, and related executables) which lets the developer inject malicious code into target APKs by replacing placeholder webhook values.
• Web Panel Component: Include the “web” directory containing HTML, CSS, and JavaScript for displaying logs remotely.
• External Communication Channels: Represent external endpoints or channels (Discord servers, Gmail accounts, IP-based server endpoints) where logs are sent.
• Build Tools & Infrastructure: Show the Android build environment (Gradle, build-tools, etc.) that supports compiling and packaging the Android application.
b. Relationships & Interactions:
• The Android Keylogger acts as the central component running on the target device and capturing logs via an accessibility service.
c. Architectural Patterns & Design Principles:
• Injection & Customization: Emphasize the injection process as a key design feature. Note the “search and replace” operation to bind a developer’s specific webhook into the payload.
• Multiple Communication Paths: Clearly demarcate that the logging mechanism is not tied to a single channel—illustrate the three separate endpoints and how the keylogger can be configured to select among them.
d. Mention Relevant Technologies:
• Android/Java (source code in “app” and “Versions”).
• Gradle build system (build.gradle, settings.gradle).
• Python-based injection tool (PounceKeys.py, and associated executable scripts).
• Web technologies (HTML, CSS, JavaScript found in “web”).
• External communication is facilitated via webhooks or API calls for Discord, Gmail, and IP logs.