Steganography - Hiding text behind images

Open the terminal in windows
Two things you must have as a file first is image you want to hide text in it and the text file where you will write your message.
Copy /b image.png + Message.txt NewImage.png
How to read hidden measaage?
If you want to read the hidden text in image then open text editor in case of windows we have notepad and drag image to notepad read the end line.

Linux
How to hide malicious file in image
Download the software
$sudo apt install steghide
$steghide embed -ef FileManager.exe -cf image.jpg
$steghide extract -sf stego.jpg

Steghide is a command-line tool used to embed and extract data in various files. Here's a basic tutorial on some of its commands:

1. **Embedding Data:**
   ```
         
   ```
   This command embeds data from `<file_to_embed>` into `<cover_file>` and saves the result in `<output_file>`.

2. **Extracting Data:**
   ```
   steghide extract -sf <stego_file>
   ```
   This command extracts data from `<stego_file>`.

3. **Viewing Info:**
   ```
   steghide info <file>
   ```
   This command displays information about the steganographic capabilities of `<file>`.

4. **Changing Passphrase:**
   ```
   steghide chpass -sf <stego_file>
   ```
   This command allows you to change the passphrase used to encrypt data in `<stego_file>`.

5. **Checking Encryption:**
   ```
   steghide check <file>
   ```
   This command checks if `<file>` is encrypted with steghide.

Remember to replace `<file_to_embed>`, `<cover_file>`, `<output_file>`, and `<stego_file>` with the actual filenames you're working with.

Comments

Popular posts from this blog

Linux Commands part - 2