Advance Image Steganography

Overview

chaya

Chaya



Advance Image Steganography

Using LSB-LPS + AES-256-GCM + FLIF

Right To Privacy!

United Nations Declaration of Human Rights (UDHR) 1948, Article 12 - “No one shall be subjected to arbitrary interference with his privacy, family, home or correspondence, nor to attacks upon his honor and reputation. Everyone has the right to the protection of the law against such interference or attacks.”

International Covenant on Civil and Political Rights (ICCPR) 1966, Article 1 - "No one shall be subjected to arbitrary or unlawful interference with his privacy, family, home or correspondence, nor to unlawful attacks on his honor or reputation. Everyone has the right to the protection of the law against such interference or attacks."

With Chaya, you can easily protect your privacy by using steganography. Chaya experiments showcase very promising results by evading detection against various attacks against steganography.

Released v1

  • automatic experiment mode
  • automatic jpg to png (if specified)
  • json data to csv conversion (if specified)
  • support for lsb only steganography
  • add encrypted message size in json data
  • convert cipher_data.json to cipher_data.csv
  • add silent mode (default - verbose)
  • workspace cleaner

Intallation

FLIF support only works with the following Operating Systems completely!:

  • Ubuntu / Pop!_OS / Linux Mint / Blackbuntu
  • All other Linux distributions that support PPA / Ubuntu based

FLIF compression has to be commented from the script for 'Kali Linux', 'Parrot OS' and other direct Debian based system that don't support PPA. This means your compression will not work, but the steganography will work perfectly. Recommended to use a Ubuntu/PopOS VM and use this script.

Python Setup

If already done, skip to next step.

sudo apt install python3-pip

Get Repository

git clone --depth=1 https://github.com/xerohackcom/Chaya.git && cd Chaya && pip3 install -r requirements.txt

System Setup


sudo apt-add-repository ppa:linuxuprising/libpng12
sudo apt update
sudo apt install libpng12-0

Usage

Help Menu

python3 chaya.py --help

Automatic Operations

  • First add few images (png format) to /autoexp/image_raw/
  • Run the following command
python3 chaya.py -enc

Output

  • 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

Scheduled v2

  • test and add support for JXL (JpegXL)
  • -----> replace flif with jxl as default
  • add analytic subnode - sub analytics after generating main csv
  • -----> comparisons - values only csv
  • -----> comparisons plotter
  • manual experiment mode
  • linear payload chains
  • -----> auto chunk payload for optimal storage in multiple images
  • linked payload chains
  • -----> randomize storage for added security against reversing
  • payload in-memory execution for evading on-disk forensics
  • video steganography support using ffmpeg

The Plan

The plan is to build this into a modular framework where users can also add their custom scripts for encryption and steganography part. Support for multiple compression algorithms is being added. During the experiments, FLIF was supported, but now JpegXL (JXL) is the new best lossless raster based compression. Support for payload execution and other interesting stuff underway. Can be done combining commands, but not inbuilt. Video steganography using ffmpeg is being tested. ZG9udCBsZXQgdGhlIGdsb3dpZXMga25vdyBoYWhh

You might also like...
Quickly 'anonymize' all people in an image. This script will put a black bar over all eye-pairs in an image

Face-Detacher Quickly 'anonymize' all people in an image. This script will put a black bar over all eye-pairs in an image This is a small python scrip

Fast Image Retrieval is an open source image retrieval framework

Fast Image Retrieval is an open source image retrieval framework release by Center of Image and Signal Processing Lab (CISiP Lab), Universiti Malaya. This framework implements most of the major binary hashing methods, together with both popular backbone networks and public datasets.

Fast Image Retrieval (FIRe) is an open source image retrieval project

Fast Image Retrieval (FIRe) is an open source image retrieval project release by Center of Image and Signal Processing Lab (CISiP Lab), Universiti Malaya. This project implements most of the major binary hashing methods to date, together with different popular backbone networks and public datasets.

A Python Script to convert Normal PNG Image to Apple iDOT PNG Image.

idot-png-encoder A Python Script to convert Normal PNG Image to Apple iDOT PNG Image (Multi-threaded Decoding PNG). Usage idotpngencoder.py -i inputf

Anaglyph 3D Converter - A python script that adds a 3D anaglyph style effect to an image using the Pillow image processing package.
Anaglyph 3D Converter - A python script that adds a 3D anaglyph style effect to an image using the Pillow image processing package.

Anaglyph 3D Converter - A python script that adds a 3D anaglyph style effect to an image using the Pillow image processing package.

Pyconvert is a python script that you can use to convert image files to another image format! (eg. PNG to ICO)
Pyconvert is a python script that you can use to convert image files to another image format! (eg. PNG to ICO)

Pyconvert is a python script that you can use to convert image files to another image format! (eg. PNG to ICO)

Simple Python package to convert an image into a quantized image using a customizable palette
Simple Python package to convert an image into a quantized image using a customizable palette

Simple Python package to convert an image into a quantized image using a customizable palette. Resulting image can be displayed by ePaper displays such as Waveshare displays.

Image histogram remapping
Image histogram remapping

Hmap An image histogram remapping script written in Python 2.7 by Anthony Kesich and Ross Goodwin. Changes source image so that source image's histogr

Instagram-like image filters.

PyGram Instagram-like image filters. Usage First, import the client: from filters import * Instanciate a filter and apply it: f = Nashville("image.jp

Comments
  • TypeError: object of type 'int' has no len()

    TypeError: object of type 'int' has no len()

    Hi, I have installed all the dependencies successfully, however I get the following error when I run the program.

    [07:43:55] [INFO] > Starting Automatic Operations 
    [07:43:55] [INFO] > Getting All Raw Images From Directory 
      0%|                                                     | 0/2 [00:00<?, ?it/s][07:43:55] [INFO] > Generating Metadata For: autoexp/image_raw/Image.png 
    [07:43:55] [INFO] > AES-256-GCM Encryption Successful 
      0%|                                                     | 0/2 [00:00<?, ?it/s]
    Traceback (most recent call last):
      File "/home/esgeeks/Chaya/chaya.py", line 530, in <module>
        chaya_start()
      File "/home/esgeeks/Chaya/chaya.py", line 525, in chaya_start
        run_manager()
      File "/home/esgeeks/Chaya/chaya.py", line 366, in run_manager
        RunType_AutoExp()
      File "/home/esgeeks/Chaya/chaya.py", line 310, in RunType_AutoExp
        AutoExp_Enc(raw_image_path, raw_image)
      File "/home/esgeeks/Chaya/chaya.py", line 226, in AutoExp_Enc
        lps_results_array = LPS_Encode(raw_image_path, image_information['secret_message'], image_information['steg_image_path'], startingPixel=(0,0))
      File "/home/esgeeks/Chaya/core/steganography.py", line 97, in LPS_Encode
        write(d[i], pixel, nextP, img)
      File "/home/esgeeks/Chaya/core/steganography.py", line 46, in write
        if len(p) == 4:
    TypeError: object of type 'int' has no len()
    

    Will it have to do with the dimensions of the image?

    opened by esgeeks 1
  • Script suggestion

    Script suggestion

    I saw this on someones page and decided to check if out myself and see what it was about, i think stegonography is cool i even wrote my own tools and lesssons explaining how raw stegography works, so i was definitely impressed with the way the script was built especially for python, i feel it needs improvement tho in areas where if the user does not input or use the flag for a image then to prompt them to enter before the script can continue, as well as testing other forms and functions.

    Another thing i think can be improved is the README, sometimes its good to include examples so people can get a base understanding of how this script works and how they can use it to advance in their field, or a deep dive and explanation of what this tool is about and how it works in ways, where it came from and why people would use this specific field, README files give you the best opportunity to make your tools and scripts seem professional and give people a reason to use them instead of pre installed scripts in machines like Kali, Parrot OS, and more

    IF you are still reading this thank you for your time

    Kindest regards ~ ArkAngeL43

    opened by ArkAngeL43 1
  • ImportError: numpy.core.multiarray failed to import

    ImportError: numpy.core.multiarray failed to import

    Recorded on 10th Feb 2022.

    Error: RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd

    Fixing this error using pip3 install -U numpy breaks the brisque calculation with the following error:

    ValueError: the input array must have size 3 along channel_axis, got (834, 524)

    **The steganography stuff works, but the analysis won't and the script will end with an error... ** f this numpy bs

    bug 
    opened by xerohackcom 2
Releases(v1.2.3)
Owner
XeroHack
Advance Cyber Security 🔥 XeroHack
XeroHack
Steganography Image/Data Injector.

Byte Steganography Image/Data Injector. For artists or people to inject their own print/data into their images. TODO Add more file formats to support.

Ori 4 Nov 16, 2022
An open source image editor which can manipulate an image in many ways!

Image Editor - An open source image editor which can manipulate an image in many ways! If you need any more modes in repo or I

TroJanzHEX 44 Nov 17, 2022
Image enhancing model for making a blurred image to be somehow clearer than before

This is a very small prject which helps in enhancing the images by taking a Input images. This project has many features like detcting the faces and enhaning the faces itself and also a feature which enhances the whole image

null 3 Dec 3, 2021
Easily turn large sets of image urls to an image dataset. Can download, resize and package 100M urls in 20h on one machine.

img2dataset Easily turn large sets of image urls to an image dataset. Can download, resize and package 100M urls in 20h on one machine. Also supports

Romain Beaumont 1.4k Jan 1, 2023
Nanosensor Image Processor (NanoImgPro), a python-based image analysis tool for dopamine nanosensors

NanoImgPro Nanosensor Image Processor (NanoImgPro), a python-based image analysis tool for dopamine nanosensors NanoImgPro.py contains the main class

null 1 Mar 2, 2022
A pure python implementation of the GIMP XCF image format. Use this to interact with GIMP image formats

Pure Python implementation of the GIMP image formats (.xcf projects as well as brushes, patterns, etc)

FHPyhtonUtils 8 Dec 30, 2022
Image-Viewer is a Windows image viewer based on Python 3.

Image-Viewer Hi! Image-Viewer is a Windows image viewer based on Python 3. Using You must download Image-Viewer.exe from the root of the repository. T

null 2 Apr 18, 2022
Image Reading, Metadata Conversion, and Image Writing for Microscopy Images in Python

AICSImageIO Image Reading, Metadata Conversion, and Image Writing for Microscopy Images in Pure Python Features Supports reading metadata and imaging

Allen Institute for Cell Science - Modeling 137 Dec 14, 2022
Seaborn-image is a Python image visualization library based on matplotlib and provides a high-level API to draw attractive and informative images quickly and effectively.

seaborn-image: image data visualization Description Seaborn-image is a Python image visualization library based on matplotlib and provides a high-leve

null 48 Jan 5, 2023
This app finds duplicate to near duplicate images by generating a hash value for each image stored with a specialized data structure called VP-Tree which makes searching an image on a dataset of 100Ks almost instantanious

Offline Reverse Image Search Overview This app finds duplicate to near duplicate images by generating a hash value for each image stored with a specia

null 53 Nov 15, 2022