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
The top command in Linux provides a real-time view of running processes and system resource usage. From…
The usermod command in Linux modifies existing user account attributes. You can use it to manage group…
The sort command in Linux reads lines from files or standard input and writes them to standard…
The wall command in Linux sends a message to the terminals of all currently logged-in users. The…
journalctl queries logs collected by systemd-journald, the systemd logging daemon. It gives you structured access to kernel…
The stat command in Linux displays detailed metadata about files and filesystems. Where ls gives a condensed summary suitable…