MSB
Last updated
Last updated
This image passes LSB statistical analysis, but we can't help but think there must be something to the visual artifacts present in this image...
FILE: Ninja-and-Prince-Genji-Ukiyoe-Utagawa-Kunisada.flag.png
The image Ninja-and-Prince-Genji-Ukiyoe-Utagawa-Kunisada.flag.png
, when opened up using eog we see a distored/corrupted picture of a samurai with many different RGB
colours.
Thus, we can use stegsolve to manipulate it. We can use the data extract
feature under Analyze
, to extract data from the image.
The challenge talks about LSB Selecting the bit planes for red, green, and blue channels (e.g., red 7, green 7, blue 7)
, we are extracting the LSB
of each color channel. Each pixel in a digital image is composed of red, green, and blue color components. Each color component is represented by an 8-bit value (0-255)
, where the least significant bit is the rightmost bit (bit 0)
and the most significant bit is the leftmost bit (bit 7)
. By selecting the bit plane 7 for each color channel, we can extract the 7th bit (counting from the right) of the red, green, and blue components of each pixel. This process reveals any hidden data that might have been encoded in the least significant bits of the image.
We can save the output of the plaintext to a file called out.txt
. When we view the file and search for pico
, we will get the flag.
Flag: picoCTF{15_y0ur_que57_qu1x071c_0r_h3r01c_ee3cb4d8}