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
cmdpxl: a totally practical command-line image editor

cmdpxl: a totally practical command-line image editor Features cmdpxl has many exciting functionalities, including Editing pixels one at a time! Savin

Jieruei Chang 475 Dec 23, 2022
Python avatar generator for absolute nerds

pagan Welcome to the Python Avatar Generator for Absolute Nerds. Current version: 0.4.3 View the change history here. Remember those good old days whe

David Bothe 280 Dec 16, 2022
Gaphor is the simple modeling tool

Gaphor Gaphor is a UML and SysML modeling application written in Python. It is designed to be easy to use, while still being powerful. Gaphor implemen

Gaphor 1.3k Dec 31, 2022
Python library that finds the size / type of an image given its URI by fetching as little as needed

FastImage This is an implementation of the excellent Ruby library FastImage - but for Python. FastImage finds the size or type of an image given its u

Brian Muller 28 Mar 01, 2022
Leshycam - Generate Inscryption styled portrait sprites from any image

Leshy's Camera Generate Inscryption styled portrait sprites from any image. Setu

3 Sep 27, 2022
Simple AI app that is guessing color of apple in picture

Apple Color Determinant Application that is guessing color of apple from image Install Pillow, sklearn and numpy, using command for your package manag

Gleb Nikitin 1 Oct 25, 2021
Convert a DOS Punk image to text

DOS Punk Text Inspired by MAX CAPACITY's DOS Punks & the amazing DOS Punk community. DOS Punk Text is a Python 3 script that renders a DOS Punk image

4 Jan 13, 2022
Program for analyzing shadows from Cassini images

Moons: An Analysis Module for Vicar Files General This packages/program was created for my bachelor's thesis for the Astronomy department at Universit

Joni 1 Jul 16, 2021
Image2scan - a python program that can be applied on an image in order to get a scan of it back

image2scan Purpose image2scan is a python program that can be applied on an image in order to get a scan of it back. For this purpose, it searches for

Kushal Shingote 2 Feb 13, 2022
Detecting haze image with hazer.

hazer-py Detecting haze image with hazer. What is hazer Hazer is a lib for getting "haze degree". This repository is python version of hazer: https://

Joey777210 2 Dec 27, 2021
Remove Background from Image With Python

Install Library pypi $ pip3 install xremovebg

krypton 4 May 26, 2022
Design custom QR codes with this web app!

My-QR.Art This web app lets users design their own QR codes to any domain. It can be acessed on my-qr.art. You can find some more background info abou

Marien Raat 406 Dec 20, 2022
Easy to use Python module to extract Exif metadata from digital image files.

Easy to use Python module to extract Exif metadata from digital image files.

ianaré sévi 719 Jan 05, 2023
Create a static HTML/CSS image gallery from a bunch of images.

gallerize Create a static HTML/CSS image gallery from a bunch of images.

Jochen Kupperschmidt 19 Aug 21, 2022
This Web App lets you convert your Normal Image to a SKETCHED one within a minute

This Web App lets you convert your Normal Image to a SKETCHED one within a minute

Avinash M 25 Nov 10, 2022
Python wrappers for external BART computational imaging tools and internal libraries

bartpy Python bindings for BART. Overview This repo contains code to generate an updated Python wrapper for the Berkeley Advance Reconstruction Toolbo

Max Litster 7 May 09, 2022
Rotates your images in the spirit of rot13

Image Rotator (imrot10) Its like rot13 but for images. Calling the algorithm imrot10 for im = image, rot = rotation, 10 = default magnitude. Unfortuna

Sarah 2 Dec 10, 2021
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
Glyph-graph - A simple, yet versatile, package for graphing equations on a 2-dimensional text canvas

Glyth Graph Revision for 0.01 A simple, yet versatile, package for graphing equations on a 2-dimensional text canvas List of contents: Brief Introduct

Ivan 2 Oct 21, 2022
QR-Generator - An awesome QR Generator to create or customize your QR's

QR Generator An awesome QR Generator to create or customize your QR's! Table of

Tristán 1 Jan 28, 2022