Office XML Steganography Tool
This is some relatively crappy code I wrote to hide files inside of Microsoft
Office 2007 (and I hope 2010, though I have yet to test) docs (DOCX, XLSX, PPTX,
etc). Since the newer Office docs are basically just zip files containing XML
and resources, it’s fairly
easy. I used torels_ zip library for Autoit. Please note, I do no encryption on
the file inside of the doc, basically this program just:
1. Adds the file into the document.
2. Edits [Content_Types].xml so office programs don’t complain about a corrupted
file.
If you save any changes in the Office document after you hide a file, the
embedded file will be lost. This script just makes things more convenient than
doing it all by hand. When you fire up the script, the program will ask for:
1. An office document (DOCX, XLSX, PPTX) to act as cover.
2. The file you wish to embed.
The app will then create a file in the same directory as your cover file, with
the prefix “stego”. To get back the embedded file just open the Office document
in 7zip.


Printable version of this article