SecPod

Learn Search

Search across all Learn content

← Back to Expressions & POVs
Steganography

Steganography

Steganography is an art of hiding a message, image, or file within another message, image, or file.

Oct 30, 2013By Thanga Prakash2 min read

Steganography is an art of hiding a message, image, or file within another message, image, or file.

Most images are used to hide the data. The flexibility of using images means that information can be hidden in a variety of ways. It can be scattered all over the image or inserted straight inside.

If data is inserted straight inside. we can find it easily using the below technique,

Hex Editor

like HexEdit, HxD on windows

using :%!xxd command on Linux

FF D8

FF D9

EOI (End Of Image) marker

Here is an example to insert data straight inside the image without any tool on windows:

  1. Create a test file with some data to hide. ( Here i used “hidden data.txt” )
  2. Take an image to which you need to hide. ( Here i used “original.jpg” )
  3. In Command prompt use the below command to hide the content.

copy /b original.jpg + "hidden data.txt" "hidden image.jpg"

A new image will be created with your data hidden. You can open and view that image normally.

But, to view the hidden content open that image in any Hex editor as mentioned above and see the hidden data at the end after the EOI marker.

Later, a quick obfuscation layer is added (Password or key) to hide the visibility of the data in the HEX format. To view the original message we need that key or password.

Here is an example to insert data inside the image using Outguess tool:outguess is one of the tool that allows the insertion of hidden information intothe redundant bits of data sources.

windows-copy-cmd
windows-copy-cmd
Hex view
Hex view

“Data Hiding : outguess -k "secretkey" -d hidden.txt image.jpg out.jpg”

outguess-hide
outguess-hide

“Data Retrieval : outguess -k "secretkey" -r out.jpg hidden.txt”

Data-Retrive
Data-Retrive

– Thanga Prakash

Featured Posts

Open Vulnerability Backlog Is not Just A Remediation Problem

Vulnerability Backlog Is not Just A Remediation Problem

Point of View

Vulnerability Backlog Is not Just A Remediation Problem

A growing vulnerability backlog is one of the biggest concerns for security leaders, and it has become even more pressing as AI accelerates vulnerability discovery. When organizations look for ways to reduce that backlog, the focus usually turns to remediation. The reasons are familiar. Patching tak

Sep 21, 2026

Open Application Vulnerability Assessment Explained
Application Vulnerability Assessment Explained

Point of View

Application Vulnerability Assessment Explained

Sep 18, 2026

Open Vulnerability Assessment Solutions Explained
Vulnerability Assessment Solutions Explained

Point of View

Vulnerability Assessment Solutions Explained

Sep 18, 2026

Open Choosing the Right Architecture for Continuous Cloud Protection
Choosing the Right Architecture for Continuous Cloud Protection

Point of View

Choosing the Right Architecture for Continuous Cloud Protection

Sep 18, 2026