Skip to content

Commit

Permalink
new steg
Browse files Browse the repository at this point in the history
  • Loading branch information
cabreraalex committed Apr 15, 2014
1 parent d0ff475 commit 9451c89
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 1 deletion.
2 changes: 1 addition & 1 deletion topics/steganography/file-in-image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Although it is possible and at times practical to solve these tasks using linux

##CTF Example

Steganography of this type is usually not scored very highly but decently widespread. BackdoorCTF 2014 created one which is generally straightforward, [ctfexample.jpg](ctfexample.jpg), but involves multiple layers.
Steganography of this type is usually not scored very highly but is decently widespread. BackdoorCTF 2014 created one which is generally straightforward, [ctfexample.jpg](ctfexample.jpg), but involves multiple layers.

##Sources/See More

Expand Down
35 changes: 35 additions & 0 deletions topics/steganography/invisible-text/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Invisible Text

A simple steganography trick that is often used for watermarks instead of outright steganography is the act of hiding nearly invisible text in images. The text can be hidden by making it nearly invisible (turning down it's opacity to below 5%) or using certain colors and filters on it. Although the text is undiscernable to the naked eye, it is still there, and there are a variety of tools which allow the text to be extracted.

### Example

Using the tactics detailed below, can you find the flag in this image?

![flag](example.png)

## Detecting

Detecting this type of steganography can be somewhat challenging, but once you know it is being used there are a multitude of tools you can use to find the flag. If you find that there are no other files hidden in the image (e.g. .zip files), you should try to find flags hidden with this method.

## Solving

There are multiple ways to find flags hidden in this manner:

* [GIMP](https://www.gimp.org/) or [Photoshop](https://www.photoshop.com/) can be used to uncover the flag by using different filters and color ranges. [This](https://www.wikihow.com/Create-Hidden-Watermarks-in-GIMP) tutorial works remarkably well for finding hidden text.

* [Stegsolve](https://www.wechall.net/forum/show/thread/527/Stegsolve_1.3/page-1) is an immensly useful program for many steganography challenges, allowing you to go through dozens of color filters to try to uncover hidden text.

* There are many scripts that have been written to substitute certain colors and make hidden the text legible, for example [this](https://pastebin.com/46VmzrRU) Ruby script highlights colors passed to it in the image.

## CTF Example

PlaidCTF 2014 had a steganography challenge recently with this image:

![ctf-example](ctf-example.png)

The write-up for this challenge can be found [here](https://github.com/ctfs/write-ups/tree/master/plaid-ctf-2014/doge-stege)

## Sources/See More


Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added topics/steganography/invisible-text/example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9451c89

Please sign in to comment.