Does anyone know how I could detect encryption in a bmp header?
Does anyone know how I could detect encryption in a bmp header?
Well you make a pretty good job by spreading your questions over manythreads and forums
BMP isn't an encrypted file format, so any kind of encyption means it is no longer a bitmap header.
Do you mean compression?
From your previous posts, it looks like you're attempting some kind of steganography program (hiding messages in the noise bits of audio and image data). Of course, if your host file contains compressed data, then there isn't much noise to hide your secret in.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I know of someone who hid messages in JPEGs as his final year project - one character per DCT block, so it can be done.Originally Posted by Salem
Current Setup: Win 10 with Code::Blocks 17.12 (GNU GCC)
Done - and undone - http://www.outguess.org/
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Adding data to a known format to create your own bastardized version is a very poor programming practice.
I personally wouldn't even bother opening non-standard bmp, wav, jpeg, mp3, etc, etc.
I think MS idea about hiding resources in an exe is bad enough coming from a professional organization, even though they did invent the exe format.
A known stego program encrypts the headet of a bmp file. I want to write an application that can detect this.
I am creating a stego detection program.
> A known stego program encrypts the headet of a bmp file
That would be a pretty dumb move IMO.
The whole idea with stego is that the host file behaves EXACTLY as it would without the secret information as with the secret information, otherwise there's no point.
Stego hides data in the pixel data of BMP, not the header.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
sure. try and read the header like a normal BMP header... if its all f***ed up than its either encrypted or not a bmp fileOriginally Posted by Rhidian