Covert-Tube is a program to control systems remotely by uploading videos to Youtube using Python to create the videos and the listener, emulating some malware I was reading about. It allows to create videos with frames formed of simple text, QR codes with cleartext or QR codes using AES encryption.
The videos can be created using generate_video.py: enter the commands and generate the video writing “exit”. The video generated is called by default output.avi (can be updated in config.py):
python3 generate_video.py
Run the listener and upload the video to Youtube
python3 main.py
The listener will check the Youtube channel every 300 seconds by default (can be updated in config.py). First the video is uploaded:
After finding there is a new video in the channel, it is downloaded and the commands are executed:
We can see the output from the commands:
Configuration
Update the config.py file:
For all the project:
sudo apt install libzbar0
pip3 install Pillow opencv-python youtube_dl pytesseract pyqrcode pypng pyzbar pycrypto
git clone https://github.com/ricardojoserf/covert-tube
Creating a standalone binary
pyinstaller –onefile main.py
cp dist/main covert-tube
rm -rf dist build
rm main.spec
Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…
Introduction A self-signed SSL certificate is a certificate that is created and signed by the…
Introduction Debugging is an important part of Bash scripting. When a script does not work…
Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…
Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…
Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…