Advance Image Steganography

Related tags

Image ProcessingChaya
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
Tool to create a Phunk image with a custom background

Create Phunk image Tool to create a Phunk image with a custom background Installation Clone the repo git clone https://github.com/albanow/etherscan_sa

Albano Pena Torres 6 Mar 31, 2022
Python implementation of image filters (such as brightness, contrast, saturation, etc.)

PyPhotoshop Python implementation of image filters Use Python to adjust brightness and contrast, add blur, and detect edges! Follow along tutorial: ht

Kylie 87 Dec 15, 2022
Convert Image to ASCII Art

Convert Image to ASCII Art Persiapan aplikasi ini menggunakan bahasa python dan beberapa package python. oleh karena itu harus menginstall python dan

Huda Damar 48 Dec 20, 2022
A python based library to help you create unique generative images based on Rarity for your next NFT Project

Generative-NFT Generate Unique Images based on Rarity A python based library to help you create unique generative images based on Rarity for your next

Kartikay Bhutani 8 Sep 21, 2022
:rocket: A minimalist comic reader

Pynocchio A minimalist comic reader Features | Installation | Contributing | Credits This screenshots contains a page of the webcomic Pepper&Carrot by

Michell Stuttgart 73 Aug 02, 2022
A simple Streamlit Component to compare images in Streamlit apps. It integrates Knightlab's JuxtaposeJS

streamlit-image-juxtapose A simple Streamlit Component to compare images in Streamlit apps using Knightlab's JuxtaposeJS. The images are saved to the

Robin 30 Dec 31, 2022
Tool made for the FWA Yearbook Team to resize multiple images quickly.

ImageResize Tool Tool made for the FWA Yearbook Team to resize multiple images quickly. Make sure to check this repo for future updates How to Use The

LGobin 1 Jan 07, 2022
LGVL helper script to batch and convert with lvgl offline image converter

script to batch and convert with lvgl offline image converter

Yohann 1 Oct 05, 2022
Py3D - A 3d rendering engine written entirely in python

Py3D is a 3d rendering engine written entirely in python. It is a simple and eas

1up Community 2 Nov 14, 2022
Convert any image into greyscale ASCII art.

Image-to-ASCII Convert any image into greyscale ASCII art.

Ben Smith 12 Jan 15, 2022
3D Model files and source code for rotating turntable. Raspberry Pi, DC servo and PWM modulator required.

3DSimpleTurntable 3D Model files and source code for rotating turntable. Raspberry Pi, DC servo and PWM modulator required. Preview Construction Print

Thomas Boyle 1 Feb 13, 2022
impy is an all-in-one image analysis library, equipped with parallel processing, GPU support, GUI based tools and so on.

impy is All You Need in Image Analysis impy is an all-in-one image analysis library, equipped with parallel processing, GPU support, GUI based tools a

24 Dec 20, 2022
A script to generate a profile picture and a banner that show the same image on Discord.

Discord profile picture & banner generator A script to generate a profile picture and a banner that show the same image on Discord. Installation / Upd

Victor B. 9 Nov 27, 2022
QSIprep: Preprocessing and analysis of q-space images

QSIprep: Preprocessing and analysis of q-space images Full documentation at https://qsiprep.readthedocs.io About qsiprep configures pipelines for proc

Lifespan Informatics and Neuroimaging Center 88 Dec 15, 2022
Fix datetime EXIF data in photos downloaded from Google Takeout

fix-google-takeout Warning Use at your own risk. Backup your photos. Overview Google takeout for photos

Mayank Mandava 20 Nov 05, 2022
Avatar Generator Python

This is a simple avatar generator project which uses your webcam to take pictures and saves five different types of your images into your device including the original image.

Faisal Ahmed 3 Jan 23, 2022
This is the official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.

Freedom to build what you want FreeCAD is an open-source parametric 3D modeler made primarily to design real-life objects of any size. Parametric modeling allows you to easily modify your design by g

FreeCAD 12.9k Jan 07, 2023
Simple mathematical operations on image, point and surface layers.

napari-math This package provides a GUI interfrace for simple mathematical operations on image, point and surface layers. addition subtraction multipl

Zach Marin 2 Jan 18, 2022
A Python package implementing various HDRI / Radiance image processing algorithms.

Colour - HDRI A Python package implementing various HDRI / Radiance image processing algorithms. It is open source and freely available under the New

colour-science 111 Dec 06, 2022
A python program to generate ANSI art from images and videos

ANSI Art Generator A python program that creates ASCII art (with true color support if enabled) from images and videos Dependencies The program runs u

Pratyush Kumar 12 Nov 08, 2022