Show HN: File Hider
github.com
github.com
Half the battle is making sure the hidden data cannot be detected and the second is that the data cannot be read if detected. A more algorithmic approach to the embedding and extraction which uses properties of the host file to determine the relative locations of the session key, salt, file size, and data would likely better hide the presence of the embedded/encrypted data.
I recently made a novel implementation of, "An Image Steganography Algorithm using LSB Replacement through XOR Substitution (DOI:10.1109/ICOIACT46704.2019.8938486)" which you can find here: https://github.com/JustinPack/XOR_LSB_Stego
While my approach is a simple one lacking any inherent encryption, it could easily be added. I think you will find the paper a highly interesting read and it is also in my project.
Cheers and great work nonetheless.
It's more the struct method of embedding though that I was emphasizing. Structured encrypted data has high entropy which can give away it's presence. Try running some of your before and after images through aperisolve or the cyberchef entropy analysis tool and see how the analysis changes.
I'll definitely give apersolve.com a try, although it's a pity it only handles images, since File Hider can be used for all types of files.
P.S.: Sorry for the late reply, but I became a father about a week ago. :)
Original: https://cloud.screenpresso.com/g5MIc/2024-01-25_01h15_08.png
With hidden data: https://cloud.screenpresso.com/lIvFc/2024-01-25_01h11_22.png
The differences appear to be on the right side of the spectrum, which I assume is the end of the file where the hidden data is stored. The CyberChef tools are awesome, thanks!
Here are the Aperisolve results:
https://www.aperisolve.com/1f1b2593242e7e690101155741f40aa0
Aside from the string results, everything seems normal here.
Reference here on file signatures. https://www.youtube.com/watch?v=Dcq-3HNezes