> For the complete documentation index, see [llms.txt](https://cajac.gitbook.io/ctf-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cajac.gitbook.io/ctf-notes/misc/steganography/stegsolve.md).

# StegSolve

## Standard use

Switch between the different modes with the `<` and `>` button at the bottom of the GUI.

### Examples

<figure><img src="https://875884995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT1i4pPS3S6n10T4qIXZw%2Fuploads%2Fq0q4u3ojPmM4nck31U7v%2Fimage.png?alt=media&amp;token=be05c78e-3760-4b4e-ba1f-a5490678ec3c" alt=""><figcaption><p>THM flag in Blue plane 1</p></figcaption></figure>

## Extract data

Stegsolve can also be used to extract data [encoded in LSB/MSB bits](https://en.wikipedia.org/wiki/Bit_numbering#Least_significant_bit_in_digital_steganography).

See picoCTF 2023 MSB challenge

## XOR images

1. Open the first image
2. Select `Analyse` in the menu and then `Image Combiner`.
3. Open the second image

## Resources

Bit numbering - Wikipedia: <https://en.wikipedia.org/wiki/Bit_numbering>

stegsolve 1.3 - Homepage: <http://www.caesum.com/handbook/stego.htm>

stegsolve 1.4 - Github: <https://github.com/Giotino/stegsolve>
