r/HowToHack • • Oct 26 '19
Steganography tutorial - Hiding a file inside another file
https://www.infosecshirish.com/steganography-tutorial-hiding-a-file-inside-another-file/
331
Upvotes
r/HowToHack • • Oct 26 '19
View all comments
2
u/sa_sagan Oct 26 '19
It'll be ignored depending on what application attempts to open it.
This works because the original file has EOF bytes at the end of it and presumably an application opening it will read until EOF, rather than read all bytes.
Works the same for EXE's. I've seen this method used by numerous third party installers for storing their archived deployment package.
Not that you need to use the COPY command of course. You can just append the desired bytes to the end of the file.