Skip to content

ekagrazi/StegHide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StegHide

Hide Your Secrets in Plain Sight

An advanced steganography tool that allows you to hide secret messages within various media files including images, audio, video, and text files. StegHide provides a simple command-line interface for encoding and decoding hidden data across multiple file formats.

Description

Features

  • Multi-format Support: Hide messages in images, audio files, videos, and text documents
  • Lossless Encoding: Advanced algorithms ensure minimal quality degradation
  • Simple CLI Interface: Easy-to-use command-line tool with intuitive flags
  • Secure Hiding: Uses sophisticated steganographic techniques including LSB manipulation
  • Cross-platform: Works on Windows, macOS, and Linux

Supported File Types

Media Type Supported Formats Method
Images PNG, JPG, JPEG LSB (Least Significant Bit) manipulation
Audio WAV Audio wave manipulation
Video MP4 (recommended), AVI Frame-by-frame embedding
Text TXT Zero-width character insertion

Installation

Prerequisites

  • Python 3.10 or higher

Install Dependencies

git clone https://github.com/ekagrazi/steghide.git
cd steghide
pip install -r requirements.txt

Required Packages

  • numpy==1.21.0 - Numerical operations
  • Pillow==8.3.0 - Image processing
  • librosa==0.8.1 - Audio analysis
  • stegano==0.9.9 - Steganography algorithms
  • bitstring==3.1.9 - Binary data manipulation
  • opencv-python - Computer vision operations

Usage

Basic Syntax

python3 steghide.py [media_type] [operation] <file_path>

Media Type Flags

  • -i, --image - Image files
  • -a, --audio - Audio files
  • -v, --video - Video files
  • -t, --text - Text files

Operation Flags

  • -e, --encode - Hide a message in the file
  • -d, --decode - Extract hidden message from the file

Examples

Image Steganography

# Hide message in image
python3 steghide.py -i -e /path/to/image.png

# Extract message from image
python3 steghide.py -i -d /path/to/image.png

Audio Steganography

# Hide message in audio (WAV format only)
python3 steghide.py -a -e /path/to/audio.wav

# Extract message from audio
python3 steghide.py -a -d /path/to/audio.wav

Video Steganography

# Hide message in video
python3 steghide.py -v -e /path/to/video.mp4

# Extract message from video
python3 steghide.py -v -d /path/to/video.mp4

Text Steganography

# Hide message in text file
python3 steghide.py -t -e /path/to/document.txt

# Extract message from text file
python3 steghide.py -t -d /path/to/document.txt

Help

python3 steghide.py -h

How It Works

Image Steganography

Uses Least Significant Bit (LSB) manipulation to hide data in the color channels of pixels. The algorithm modifies the least significant bits of RGB values to store binary representations of the secret message.

Audio Steganography

Embeds data by modifying specific bits in the audio wave file's frame data. Uses a delimiter (*^*^*) to mark the end of hidden messages.

Video Steganography

Extracts individual frames from the video, embeds the message across multiple frames using LSB techniques, then reconstructs the video with the hidden data intact.

Text Steganography

Utilizes Zero-Width Characters (ZWC) to hide binary data within text documents. The message is encoded using special Unicode characters that are invisible when displayed.

Important Notes

  • Audio files: Only WAV format is supported for audio steganography
  • Video files: MP4 format is recommended for best compatibility
  • File sizes: Large messages may require larger host files
  • Quality: Some quality loss may occur, especially with compressed formats
  • Security: This tool is for educational and legitimate purposes only

Disclaimer

This tool is intended for educational purposes and legitimate use cases only. Users are responsible for ensuring they have proper authorization before hiding or extracting data from files. The developers are not responsible for any misuse of this software.


About

Advanced multi-format steganography tool for hiding secrets in audio, video, image & text files. Python CLI with encode/decode functionality. Hide your data in plain sight with cross-platform support. Educational purposes only.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages