A Logo

Feel free to include my content in your page via my
RSS feed

Help Irongeek.com pay for
bandwidth and research equipment:

Subscribestar or Patreon

Search Irongeek.com:

Affiliates:
Irongeek Button
Social-engineer-training Button

Help Irongeek.com pay for bandwidth and research equipment:

paypalpixle




Office XML Steganography Tool

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.

Download

Printable version of this article

15 most recent posts on Irongeek.com:


If you would like to republish one of the articles from this site on your webpage or print journal please contact IronGeek.

Copyright 2020, IronGeek
Louisville / Kentuckiana Information Security Enthusiast