Skip to content

haxerzin/ChayaV2

Repository files navigation


ChayaV2
ChayaV2

Right To Privacy

ChayaV2 protects your privacy through steganography, cryptography and compression. It effectively encrypts your payloads using AES-256-GCM cryptography, embeds them using LSB-LPS steganography technique into images and compresses them using FLIF to evade detection by performing lossless compression. ChayaV2 is for your privacy backed by research.

WHY CHAYA-V2 IS BETTER THAN THE REST?

Features v2

  • Encryption: AES-256-GCM (default - best)
  • Steganography Mode: Least Significant Bit (LSB)
  • Steganography Mode: Least Significant Bit + Random Linked Pixels (LSB-LPS) (default - best)
  • Encoding Architecture: Encode One/Single Image
  • Encoding Architecture: Encode Multiple Images With Same Payload (default)
  • Encoding Architecture: Split Encode Payload Into Linear Chains of Multiple Images
  • Encoding Architecture: Split Encode Payload Into Random Chains of Multiple Images (best)
  • Execution Mode: Execute payload from Memory without saving on disk (git rekt victim)
  • Execution Mode: Execute payload after saving to temprary file on disk (git detected attacker)
  • Standard Option: JSON to CSV conversion
  • Standard Option: JPG to PNG conversion
  • Standard Option: Easy clear app data
  • Standard Option: Easy updater
  • Standard Option: Verbose help

Install

Windows

  • Download project from github, extract & run!

OR run in CMD:

git clone --depth=1 https://github.com/haxerzin/ChayaV2

Linux

One Line Setup

Use the following command for faster setup:

Command For Ubuntu Based Distros

sudo apt install python3-pip && sudo apt install git && git clone --depth=1 https://github.com/haxerzin/ChayaV2.git && cd ChayaV2 && pip3 install -r requirements.txt && sudo apt update && sudo apt-add-repository ppa:linuxuprising/libpng12 && sudo apt update && sudo apt install -y libpng12-0

Command For Debian Based Distros

sudo apt install python3-pip && sudo apt install git && git clone --depth=1 https://github.com/haxerzin/ChayaV2.git && cd ChayaV2 && pip3 install -r requirements.txt && sudo apt update && sudo apt install build-essential devscripts && cd ~/ && sudo touch /etc/apt/sources.list.d/libpng12.list && echo "deb https://ppa.launchpadcontent.net/linuxuprising/libpng12/ubuntu hirsute main" | sudo tee -a /etc/apt/sources.list.d/libpng12.list && echo "deb-src https://ppa.launchpadcontent.net/linuxuprising/libpng12/ubuntu hirsute main" | sudo tee -a /etc/apt/sources.list.d/libpng12.list && sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 1CC3D16E460A94EE17FE581CEA8CACC073C3DB2A && sudo apt update && sudo apt install -y libpng12-0

Using installer.py

You can install the dependencies using installer.py script. Run the following commands in terminal:

sudo apt install python3-pip && sudo apt install git && git clone --depth=1 https://github.com/haxerzin/ChayaV2.git && cd ChayaV2

Ubuntu Based Distros

python3 installer.py --ubuntu

Debian Based Distros

python3 installer.py --debian

If installer.py has issues, try to run the one line setup command.

Usage

Help Menu

python3 chaya.py --help

Automatic Operations

Clear all data - clean the folders

python chaya.py -cleardata

Add images

You must add the image(s) to /autoexp/raw_images/ folder that you want to steg.

If your images are in JPEG format, you can convert them using the following command along with passing your other commands:

python chaya.py -jpg2png -enc -m "powershell.exe some command here as your payload here" -amlchi

View cipher data

You may confirm the steg data and other sensitive information inside /appdata/cipher_data.json.

Decrypt and run payload in memory

One of the execution options allows you to run the embed payload right after de-steg process while it's in the memory! To do this:

python chaya.py -dec -amlchi -exmem

Compression

Compression with FLIF is disabled and no longer maintained. It works in Linux with ChayaV1 but lacks security of your steg images. Don't use.

Output Data

  • Enc + Steg images -> /autoexp/image_steg/
  • Enc + Steg + Comp images -> /autoexp/image_steg_comp/
  • Cipher data -> /appdata/cipher_data.json
  • Analysis data -> /appdata/analysis_results_enc.json (abandoned - 3rd party soydev can't update their damn repo)

Issues - v2

  • Updater has few issues

Changelog v2

Changelog: https://github.com/haxerzin/ChayaV2/blob/main/CHANGELOG.md

License

ChayaV2 is licensed under AGPLv3