MSB

~# cat Question

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.

Part of out.txt:

720a70756e697368 6d656e7420756e6c  r.punish ment unl
6573732068652063 6f6d6d6974732073  ess he c ommits s
6f6d65206e657720 6f6666656e63652e  ome new  offence.
220a7069636f4354 467b31355f793075  ".picoCT F{15_y0u
725f71756535375f 7175317830373163  r_que57_ qu1x071c
5f30725f68337230 31635f6565336362  _0r_h3r0 1c_ee3cb
3464387d0a0a2254 686f752068617374  4d8}.."T hou hast
2073616964207765 6c6c20616e642068   said we ll and h
6974207468652070 6f696e742c222061  it the p oint," a
6e73776572656420 446f6e2051756978  nswered  Don Quix

/pico (^W)

Flag: picoCTF{15_y0ur_que57_qu1x071c_0r_h3r01c_ee3cb4d8}

Last updated