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
ScreenTeX is a tool that grabs all text when taking a screenshot rather than getting an image.

The ScreenTeX project By: Seanpm2001 / ScreenTeX, Et; Al. Top README.md Read this article in a different language 🌐 List of languages Sorted by: A-Z

Sean P. Myrick V19.1.7.2 3 Oct 25, 2022
🛹 Turn an SVG into an STL for stencil creation purposes

svg2stl This repository provides a script which takes as input an SVG such as this one: It outputs an STL file like this one: You can also see an inte

Max Halford 3 Dec 29, 2021
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
Generate meme GIFs in which an image you choose can be viewed by the user only after they wait a whole hour.

Generate meme GIFs in which an image you choose can be viewed by the user only after they wait a whole hour.

Feliks Maak 1 Jan 31, 2022
A little Python tool to convert a TrueType (ttf/otf) font into a PNG for use in demos.

font2png A little Python tool to convert a TrueType (ttf/otf) font into a PNG for use in demos. To use from command line it expects python3 to be at /

Rich Elmes 3 Dec 22, 2021
A simple programming language for manipulating images.

f-stop A simple programming language for manipulating images. Examples OPEN "image.png" AS image RESIZE image (300, 300) SAVE image "out.jpg" CLOSE im

F-Stop 6 Oct 27, 2022
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

Ross Goodwin 199 Nov 19, 2022
Visage Differentiation is a GUI application for outlining and labeling the visages in an image.

Visage Differentiation Visage Differentiation is a GUI application for outlining and labeling the visages in an image. The main functionality is provi

Grant Randa 0 Jan 13, 2022
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
Script that organizes the Google Takeout archive into one big chronological folder

Script that organizes the Google Takeout archive into one big chronological folder

Mateusz Soszyński 1.6k Jan 09, 2023
Fill holes in binary 2D & 3D images fast.

Fill holes in binary 2D & 3D images fast.

11 Dec 09, 2022
sK1 2.0 cross-platform vector graphics editor

sK1 2.0 sK1 2.0 is a cross-platform open source vector graphics editor similar to CorelDRAW, Adobe Illustrator, or Freehand. sK1 is oriented for prepr

sK1 Project 238 Dec 04, 2022
a lite weight photo editor written in python for day to day photo editing!

GNU-PhotoShop A lite weight Photo editing Program (currently CLI only) written in python3 for day to day photo editing. Disclaimer : Currently we don'

Kunal Sharma 5 May 30, 2022
Png2Jpg tool will help you convert from png image format to jpg images format.

PNG 2 JPG All codes assume running from root directory. Please update the sys path at the beginning of the codes before running. Over View Png2Jpg too

Nguyễn Trường Lâu 2 Dec 27, 2021
Command line utility for converting images to seamless tiles

img2texture Command line utility for converting images to seamless tiles. The resulting tiles can be used as textures in games, compositing and 3D mod

Artёm IG 24 Dec 26, 2022
An async Python library to automate solving ReCAPTCHA v2 by audio using Playwright.

Playwright nonoCAPTCHA An async Python library to automate solving ReCAPTCHA v2 by audio using Playwright. Disclaimer This project is for educational

Michael Mooney 69 Dec 28, 2022
Parking management project which generates barcode parking ticket with user-friendly Tkinter program GUI

Parking-management-system Parking management project which generates barcode parking ticket with user-friendly Tkinter program GUI How to run Download

1 Jul 03, 2022
LSB Image Steganography Using Python

Steganography is the science that involves communicating secret data in an appropriate multimedia carrier, e.g., image, audio, and video files

Mahmut Can Gönül 2 Nov 04, 2021
This is an app that allows users to upload photos and display and store the photos in a file until the user deletes them.

Qt Photo App This is an app that allows users to upload photos and display and store the photos in a file until the user deletes them. Setup python3 -

Kathy Yang 5 Jan 22, 2022
Wand is a ctypes-based simple ImageMagick binding for Python

Wand Wand is a ctypes-based simple ImageMagick binding for Python, supporting 2.7, 3.3+, and PyPy. All functionalities of MagickWand API are implement

Eric McConville 1.2k Jan 03, 2023