Steganography with Microsoft Word - DOCX

480 Views Asked by At

I write a application hide a of string within a .docx file.

A Docx file comprises of a collection of XML files that are contained inside a ZIP archive. So, My program treat that file like a zip file and hide secret string in it.

After research, I found a way to insert data to ZIP archive.

enter image description here

A Secret String is injected after a file section right before the 1st central directory header. After that, a pointer in an end of central directory record is updated to compensate the shift of the central directory header.

My output docx file work fine with typical file archivers (7-zip, WinRAR, File Roller, &c) or file managers (Windows Explorer). But when I open my output docx file with Microsoft Word it said:

enter image description here

Here is link for input and output file

What step did I wrong or missing?

0

There are 0 best solutions below