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 Private Cloud Security: Risks, Controls and Best Practices
Private Cloud Security: Risks, Controls and Best Practices

Point of View

Private Cloud Security: Risks, Controls and Best Practices

Private clouds give organizations greater control over infrastructure, but that control also brings direct responsibility for identity, virtualization, networking, workloads, and recovery.

Nov 19, 2026

Open Cloud Network Security: Threats, Controls and Best Practices
Cloud Network Security: Threats, Controls and Best Practices

Point of View

Cloud Network Security: Threats, Controls and Best Practices

Cloud networking is no longer a simple perimeter problem. See how segmentation, private connectivity, egress controls, encryption, traffic inspection, and network telemetry reduce cloud exposure.

Nov 19, 2026

Open Excellence Is a Choice: A Tester’s Story
Excellence Is a Choice: A Tester’s Story

Point of View

Excellence Is a Choice: A Tester’s Story

Nov 18, 2026

Open Cloud Security Threats: Top 10 Threats and How to Defend Against Them
Cloud Security Threats: Top 10 Threats and How to Defend Against Them

Point of View

Cloud Security Threats: Top 10 Threats and How to Defend Against Them

Cloud attacks increasingly exploit identity, software, APIs, third-party trust, and cloud-native services. See the ten threats security teams should prioritize and the controls that reduce exposure.

Nov 18, 2026