Skip to content

palnirupam/Remote-admin-tool

Repository files navigation

πŸ–₯️ Remote Administration Tool

Typing SVG

Python Version Platform License Stars

Multi-Client GUI UAC Bypass GeoLocation Real-time

πŸš€ Professional TCP-based remote administration tool with enterprise-grade features

Features β€’ Installation β€’ Usage β€’ πŸ“– Complete Guide β€’ Documentation


πŸ“‹ Overview

A powerful and lightweight Python-based remote administration tool that enables seamless command execution across multiple client machines through a centralized server. Built with modern architecture and professional UI design.

πŸ“– New to this tool? Check out our Complete Usage Guide for step-by-step instructions!

✨ Why Choose This Tool?

🎯 For Cybersecurity Students

  • UAC bypass techniques (fodhelper)
  • Privilege escalation detection
  • GeoLocation & IP intelligence
  • Real-world pentest workflows

🏒 For IT Admins

  • Multi-client management
  • Real-time monitoring
  • Cross-platform support
  • Professional GUI

🌟 Features

Feature Description Status
πŸ”Œ TCP Communication - Reliable client-server architecture βœ…
πŸ‘₯ Multi-Client Support - Manage multiple machines simultaneously βœ…
πŸ’» Modular Architecture - Thread-safe, multi-file codebase βœ…
πŸ“Έ 4K Screenshots - High-quality screen capture with dynamic compression βœ…
πŸ“· Webcam Capture - Real-time webcam snapshot directly to GUI βœ…
πŸ“ Visual File Manager - Browse, read, edit, delete remote files with GUI βœ…
πŸ“₯πŸ“€ File Transfer - Upload/download with progress tracking (50MB) βœ…
πŸ’¬ Multi-Style Popups - INFO / WARNING / ERROR / CYBER / OVERRIDE βœ…
πŸ–₯️ Live Screen Monitor - Real-time remote desktop with full mouse & keyboard control βœ…
πŸ–±οΈ Full Mouse Control - Click, scroll, drag-drop, move on remote screen βœ…
⌨️ Hotkey Support - Ctrl+C/V/Z/A/X/S/W/T/R forwarded to remote βœ…
🎯 OS-Specific Commands - Smart buttons that adapt to Windows/Linux/Mac βœ…
πŸ›‘οΈ Anti-Scanner Protection - Ghost connection rejection βœ…
🎀 Live Microphone Streaming - Toggle start/stop with auto MP3 save βœ…
⌨️ Live Keylog Streaming - Real-time keystroke capture with toggle βœ…
🎯 Remote Task Manager - View and kill processes on client βœ…
πŸ“Š Live Performance Dashboard - Real-time CPU, RAM, Disk monitor βœ…
πŸ—ΊοΈ GeoLocation Tracker - IP-based location with Google Maps link βœ…
πŸ‘‘ Privilege Inspector - Token integrity level + UAC status display βœ…
πŸ”₯ UAC Bypass - fodhelper.exe method for privilege escalation βœ…
πŸ“’ Voice Broadcast - Stream server microphone to client in real-time or speak via TTS βœ…

πŸš€ Quick Start

πŸ“¦ Installation

πŸ’‘ Platform Note: On Windows use python, on Linux/macOS use python3.

# 1️⃣ Clone the repository
git clone https://github.com/palnirupam/Remote-admin-tool.git
cd Remote-admin-tool

# 2️⃣ Install dependencies
pip install -r requirements.txt       # Windows
# pip3 install -r requirements.txt    # Linux / macOS

# 3️⃣ Configure client IP in client.py
# Edit SERVER_IP = "your_server_ip"

βš™οΈ Configuration

πŸ“ Click to expand configuration steps
  1. Open client.py in your editor
  2. Locate the configuration section:
    SERVER_IP = "127.0.0.1"  # πŸ‘ˆ Change this
    PORT = 5000
  3. Update with your server's IP:
    • Local testing: 127.0.0.1
    • Same network: 192.168.x.x
    • Remote: Your public IP

πŸ› οΈ Building the Client Executable (.exe / Linux Binary)

Compile client.py into a standalone hidden executable β€” no Python needed on the target machine.

python advanced_build.py          # Windows
# python3 advanced_build.py       # Linux / macOS
  • Completely FREE (no accounts, cards, or passwords required)
  • Automatically downloads and configures the bore tunnel
  • Injects public IP and Port β†’ compiles ClientRAT_Global.exe
  • Your original client.py stays safely configured for localhost!

🎯 IMPORTANT: Final executable will be in the dist folder!


πŸ’‘ Usage

🎨 GUI Server (Recommended)

# Start GUI server
python server_gui.py             # Windows
# python3 server_gui.py          # Linux / macOS

# On client machine(s)
python client.py                 # Windows
# python3 client.py              # Linux / macOS

πŸ”₯ Advanced Features

πŸ—ΊοΈ GeoLocation Tracker

Click "πŸ—ΊοΈ GeoLocation" after selecting a client:

  • 🌍 Country, Region, City, ZIP
  • πŸ“ GPS Coordinates (clickable β†’ Google Maps)
  • πŸ“‘ ISP & Organization name
  • πŸ”’ Proxy / VPN / Datacenter detection
  • πŸ“Ά Mobile data detection
  • πŸ• Timezone

Auto-detects public IP for LAN/localhost clients via api.ipify.org.


πŸ‘‘ Privilege Inspector + UAC Bypass

Click "πŸ‘‘ Privilege" after selecting a client:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ πŸ‘‘  PRIVILEGE INSPECTOR       🟑 MEDIUM       β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ πŸ‘€ Username      victim                      β”‚
β”‚ πŸ›‘οΈ Admin Group   Yes βœ…                       β”‚
β”‚ πŸ”’ UAC Enabled   Yes (ON)                    β”‚
β”‚ πŸ”‘ Integrity     🟑 Medium                   β”‚
β”‚ ⚑ Elevated       No β€” MEDIUM token ⚠️        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  [πŸ”₯ Execute UAC Bypass (fodhelper)]          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

UAC Bypass flow:

  1. Writes payload to HKCU\Software\Classes\ms-settings\shell\open\command
  2. Triggers fodhelper.exe (Windows auto-elevated binary)
  3. Client relaunches as HIGH integrity β€” no UAC prompt
  4. New elevated connection appears in client list

Integrity levels:

Badge Level Meaning
πŸ”΄ Low Sandbox / restricted
🟑 Medium Standard user (UAC blocking)
🟒 High Admin β€” full access
πŸ”΅ System NT AUTHORITY\SYSTEM

πŸ–₯️ Live Screen Monitor Controls

Action How
Left/Right/Middle click Mouse button on screen
Scroll up/down Mouse wheel
Drag & Drop Click-hold-move
Hotkeys Ctrl+C/V/Z/A/X/S/W/T/R

πŸ“ Visual File Manager

  • Browse entire remote filesystem with GUI tree
  • Double-click folders to navigate
  • Right-click files: Download / Edit / Delete
  • Built-in text editor with syntax support
  • Supports both Windows and Linux paths

🎯 Screenshot Capture

SCREENSHOT     # Terminal command or click πŸ“Έ button
  • 🎨 Adaptive quality (4K/2K/HD)
  • πŸ’Ύ Auto-save to screenshots/ folder
  • πŸ” View at 100% original size

🎀 Microphone & ⌨️ Keylogger

MIC_START      # Start recording
MIC_STOP       # Stop & save as WAV/MP3

KEYLOG_START   # Start live keystroke stream
KEYLOG_STOP    # Stop keylog

πŸ”§ Troubleshooting

❌ Connection Failed
  • βœ… Verify server is running
  • βœ… Check SERVER_IP in client.py
  • βœ… Ensure firewall allows port 5000
  • βœ… Test with ping <server_ip>
❌ Port Already in Use

Windows:

netstat -ano | findstr :5000
taskkill /PID <process_id> /F

Linux:

lsof -i :5000
kill -9 <process_id>
❌ GeoLocation Shows Wrong Location
  • If client is behind VPN/Proxy, location will reflect VPN server, not real location
  • LAN clients auto-lookup public IP via api.ipify.org
  • 127.0.0.1 β†’ automatically resolved to machine's real public IP
❌ UAC Bypass Not Working
  • βœ… Client must be on Windows
  • βœ… User must be a member of the Administrators group
  • βœ… UAC must be enabled (if UAC is off, bypass not needed anyway)
  • ❌ If is_admin: false β†’ user is a standard user, bypass impossible

πŸ›‘οΈ Security Notice

⚠️ Educational & Authorized Use Only

Security

βš–οΈ Disclaimer

THE AUTHOR IS NOT RESPONSIBLE FOR ANY MISUSE OR DAMAGE CAUSED BY THIS SOFTWARE.

By using this tool, you agree to:

  • Use it only on systems you own or have explicit written permission to access
  • Not use it for any illegal, malicious, or unauthorized purposes
  • Accept full responsibility for your actions
  • Understand that the author bears NO LIABILITY for consequences of use

Use responsibly and ethically. Always obtain proper authorization!


πŸ“ Project Structure

πŸ“¦ Remote-admin-tool
 ┣ πŸ“œ server_gui.py        # Professional GUI server (Main Entry)
 ┣ πŸ“œ server.py            # CLI server with advanced logging
 ┣ πŸ“œ gui_globals.py       # Shared global state & thread-safe logging
 ┣ πŸ“œ gui_network.py       # Multi-client TCP listener & socket manager
 ┣ πŸ“œ gui_commands.py      # Command execution, response routing & handlers
 ┣ πŸ“œ gui_features.py      # Screenshot, webcam, mic, keylog, file manager,
 ┃                         #   screen monitor, geolocation, privilege UI
 ┣ πŸ“œ client.py            # Smart client β€” auto-reconnect, all handlers,
 ┃                         #   privilege info, UAC bypass, persistence
 ┣ πŸ“œ advanced_build.py    # Auto-tunneling & .exe/binary compiler
 ┣ πŸ“œ requirements.txt     # Python dependencies
 ┣ πŸ“œ .gitignore           # Git ignore rules
 ┣ πŸ“œ README.md            # This file
 β”— πŸ“– USAGE_GUIDE.md       # Complete step-by-step guide

πŸŽ“ Learning Objectives

Socket Threading GUI UAC PrivEsc Cross-Platform

Perfect for learning:

  • πŸ”Œ TCP socket programming & multi-client architecture
  • 🧡 Multi-threading and concurrency
  • 🎨 Tkinter GUI development
  • πŸ” Windows security β€” UAC, token integrity, privilege escalation
  • 🌐 IP intelligence & OSINT (GeoLocation, ISP, proxy detection)
  • πŸ“ File encoding, transfer, and remote filesystem navigation
  • πŸ”§ Process management & system control

🀝 Contributing

Contributions are welcome!

How to contribute:

  1. 🍴 Fork the repository
  2. 🌿 Create feature branch: git checkout -b feature/AmazingFeature
  3. πŸ’Ύ Commit changes: git commit -m 'Add AmazingFeature'
  4. πŸ“€ Push to branch: git push origin feature/AmazingFeature
  5. πŸ”ƒ Open a Pull Request

πŸ“œ License

MIT License Β© 2024 Nirupam Pal

License

πŸ“„ View Full License


πŸ‘¨β€πŸ’» Author

Nirupam Pal

GitHub Repository


⭐ If you find this project helpful, please give it a star!

Made with ❀️ for the cybersecurity community

About

No description, website, or topics provided.

Resources

License

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages