Skip to content

Latest commit

 

History

History
 
 

white-noise

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

ASIS Cyber Security Contest Quals 2014: White noise

Category: Stego Points: 175 Description:

file

Write-up

The file seems to be a tar.xz container (file steg_250_8be7a320b7cbc2696f352cb42e717a0b). So we use tar -xf steg_250_8be7a320b7cbc2696f352cb42e717a0b.

The extracted file seems to be a PNG – just a random noise picture. Using pnginfo tells us this:

$ pnginfo steg_250_958a0ad74c8f0e07adb6c92672490b72
Image Width: 256 Image Length: 256
Bitdepth (Bits/Sample): 8
Channels (Samples/Pixel): 3
Pixel depth (Pixel Depth): 24
Colour Type (Photometric Interpretation): RGB
Image filter: Single row per byte filter
Interlacing: No interlacing
Compression Scheme: Deflate method 8, 32k window
Resolution: 0, 0 (unit unknown)
FillOrder: msb-to-lsb
Byte Order: Network (Big Endian)
Number of text strings: 0 of 0

Nothing useful. Let’s start looking at the RGB values of each pixel using a Python script:

from PIL import Image

im = Image.open("foto.png")
rgb_im = im.convert('RGB')
#size is 256 by 256
for x in xrange(0,255):
  for y in xrange(0,255):
    r, g, b = rgb_im.getpixel((x, y))
    print str(r) + " " + str(g) + " " + str(b)

The output is:

R   G   B
128 80 239
128 171 83
128 165 100
128 136 219
128 165 161
128 68 224
128 119 60
…

All the R’s are 128, so probably not important. Let’s export all the G’s and B’s only, like this:

from PIL import Image

im = Image.open("foto.png")
rgb_im = im.convert('RGB')
#size is 256 by 256
for x in xrange(0,255):
  for  y in xrange(0,255):

    r, g, b = rgb_im.getpixel((x, y))
    print "(" str(g) + ";" + str(b) + ")"

…it gives us this kind of output:

(80;239)
(171;83)
(165;100)
(136;219)
(165;161)
(68;224)
(119;60)
(171;162)
…

When using the first 10000 points as coordinates on a scatter-plot (I used Excel 2013 to do this), the following becomes visible:

When rotating this picture the flag becomes visible: ASIS_329afbd5ba6fc8b1df15e886edbdcc25.

Only 4 teams managed to solve this challenge.

Other write-ups and resources

  • none yet