Skip to content

AES 256 & RSA encrypted video steganography. SRU Hackathon 2022 - Cybersecurity Winners

Notifications You must be signed in to change notification settings

Akshay-Arjun/Video-Steganography

Repository files navigation

Video-Steganography

AES 256 & RSA encrypted video steganography.

License :

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
A creative commons license that bans commercial use.

Tested On :

  • Kali Linux
  • WSL
  • Ubuntu
  • Debian
  • Termux

Features

  • Encrypt and Encode Text In Video.
  • Decode and Decrypt Text From Video.
  • Choose AES-256 or RSA Encryption.
  • Apply RSA Encryption For AES key.
  • Choose Any Frame Number.
  • Encrypt Frame Numbers With AES or RSA.
  • Save Encrypted Frame Numbers Inside Another Image like Image.png , The Encryoted Image Will Be Stored As Image-enc.png .

Example for Frame Numbers Hidden Inside Image :

Below encrypted image has ENCRYPTED frame numbers doU2TMGlPJuGcuW5oAIM0LwyWNdaAL8DUJBFmL71LUwXxHvTnP4fS3t72GS0ysDXyPw2TIQnLG7n2ZQ7ePSvBPVuVDkoCBrSR1sriGIXNQg= hidden inside it.

Original Image Encrypted Image With Frame Numbers

Cracking Keys ?

AES-256 Breaking :

  • Takes 27,337,893 trillion trillion trillion trillion years to bruteforce key using single computer.
  • Takes 13,689 trillion trillion trillion trillion years to bruteforce key using all computers in the world.

RSA-5000 Breaking :

  • 2^1024 / (5.000.000 * 16 * 60 * 60 * 24 * 365) Years to compute the key using brute force, which is about 10^292 years to break RSA-1024.
  • We use RSA-5000,I leave it to your imagination on long it takes to break RSA.

Installation

1 ) Clone project with git

git clone https://github.com/Akshay-Arjun/Video-Steganography

2 ) Go to the directory & install requirements

pip install -r requirements.txt

3 ) Install FFmpeg
Changes depending on the operating system you are using.
For Linux & WSL use :

sudo apt install ffmpeg -y

4 ) Create RSA keys.

python3 rsagen.py

Usage/Examples

1 ) Encryption & Encoding

python3 encode.py <video-to-encode-with-extension>

Example:

python3 encode.py srutest.mp4

2 ) Decoding & Decryption

python3 decode.py <video-to-decode-with-extension>

Example:

python3 decode.py video.mov

Contributing

Contributions are always welcome!

Support

For support, email [email protected].