Securebug.se CTF Odin 2021: Hide and seek

Hide and seek

Category: Digital Forensics

50 points

We are playing a game can you be the winner?

File: Hide&Seek.zip

Solution

Given file is a zip archive with a lot of rar archives within.

7z l Hide\&seek.zip 
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=pl_PL.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz (306C3),ASM,AES-NI)

Scanning the drive for archives:
1 file, 1148298 bytes (1122 KiB)

Listing archive: Hide&seek.zip

--
Path = Hide&seek.zip
Type = zip
Physical Size = 1148298

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2021-03-27 12:02:16 .....        43957        11314  1.rar
2021-03-27 12:02:17 .....        43957        11172  2.rar
2021-03-27 12:02:17 .....        43957        11321  3.rar
2021-03-27 12:02:17 .....        43957        11211  4.rar
2021-03-27 12:02:17 .....        43957        11209  5.rar
2021-03-27 12:02:17 .....        43957        11293  6.rar
2021-03-27 12:02:17 .....        43957        11224  7.rar
2021-03-27 12:02:17 .....        43957        11384  8.rar
2021-03-27 12:02:17 .....        43957        11297  9.rar
2021-03-27 12:02:17 .....        44958        11322  10.rar
2021-03-27 12:02:17 .....        44958        11232  11.rar
2021-03-27 12:02:17 .....        44958        11172  12.rar
2021-03-27 12:02:17 .....        44958        11187  13.rar
2021-03-27 12:02:17 .....        44958        11242  14.rar
2021-03-27 12:02:17 .....        44958        11412  15.rar
2021-03-27 12:02:17 .....        44958        11280  16.rar
2021-03-27 12:02:17 .....        44958        11301  17.rar
2021-03-27 12:02:17 .....        44958        11204  18.rar
2021-03-27 12:02:17 .....        44958        11187  19.rar
2021-03-27 12:02:17 .....        44958        11318  20.rar
2021-03-27 12:02:17 .....        44958        11211  21.rar
2021-03-27 12:02:17 .....        44958        11346  22.rar
2021-03-27 12:02:17 .....        44958        11178  23.rar
2021-03-27 12:02:17 .....        44958        11294  24.rar
2021-03-27 12:02:17 .....        44958        11269  25.rar
2021-03-27 12:02:17 .....        44958        11228  26.rar
2021-03-27 12:02:17 .....        44958        11213  27.rar
2021-03-27 12:02:18 .....        44958        11151  28.rar
2021-03-27 12:02:18 .....        44958        11219  29.rar
2021-03-27 12:02:18 .....        44958        11228  30.rar
2021-03-27 12:02:18 .....        44958        11253  31.rar
2021-03-27 12:02:18 .....        44958        11346  32.rar
2021-03-27 12:02:18 .....        44958        11242  33.rar
2021-03-27 12:02:18 .....        44958        11268  34.rar
2021-03-27 12:02:18 .....        44958        11262  35.rar
2021-03-27 12:02:18 .....        44958        11219  36.rar
2021-03-27 12:02:18 .....        44958        11258  37.rar
2021-03-27 12:02:18 .....        44958        11166  38.rar
2021-03-27 12:02:18 .....        44958        11264  39.rar
2021-03-27 12:02:18 .....        44958        11174  40.rar
2021-03-27 12:02:18 .....        44958        11163  41.rar
2021-03-27 12:02:18 .....        44958        11235  42.rar
2021-03-27 12:02:18 .....        44958        11171  43.rar
2021-03-27 12:02:18 .....        44958        11243  44.rar
2021-03-27 12:02:18 .....        44958        11169  45.rar
2021-03-27 12:02:18 .....        44958        11165  46.rar
2021-03-27 12:02:18 .....        44958        11324  47.rar
2021-03-27 12:02:18 .....        44958        11247  48.rar
2021-03-27 12:02:18 .....        44958        11409  49.rar
2021-03-27 12:02:18 .....        44958        11225  50.rar
2021-03-27 12:02:18 .....        44958        11218  51.rar
2021-03-27 12:02:18 .....        44958        11198  52.rar
2021-03-27 12:02:18 .....        44958        11197  53.rar
2021-03-27 12:02:18 .....        44958        11358  54.rar
2021-03-27 12:02:19 .....        44958        11311  55.rar
2021-03-27 12:02:19 .....        44958        11467  56.rar
2021-03-27 12:02:19 .....        44958        11338  57.rar
2021-03-27 12:02:19 .....        44958        11432  58.rar
2021-03-27 12:02:19 .....        44958        11348  59.rar
2021-03-27 12:02:19 .....        44958        11451  60.rar
2021-03-27 12:02:19 .....        44958        11320  61.rar
2021-03-27 12:02:19 .....        44958        11413  62.rar
2021-03-27 12:02:19 .....        44958        11308  63.rar
2021-03-27 12:02:19 .....        44958        11431  64.rar
2021-03-27 12:02:19 .....        44958        11367  65.rar
2021-03-27 12:02:19 .....        44958        11362  66.rar
2021-03-27 12:02:19 .....        44958        11329  67.rar
2021-03-27 12:02:19 .....        44958        11430  68.rar
2021-03-27 12:02:19 .....        44958        11343  69.rar
2021-03-27 12:02:19 .....        44958        11430  70.rar
2021-03-27 12:02:19 .....        44958        11339  71.rar
2021-03-27 12:02:19 .....        44958        11452  72.rar
2021-03-27 12:02:19 .....        44958        11389  73.rar
2021-03-27 12:02:19 .....        44958        11399  74.rar
2021-03-27 12:02:19 .....        44958        11324  75.rar
2021-03-27 12:02:19 .....        44958        11359  76.rar
2021-03-27 12:02:19 .....        44958        11390  77.rar
2021-03-27 12:02:19 .....        44958        11322  78.rar
2021-03-27 12:02:19 .....        44958        11393  79.rar
2021-03-27 12:02:19 .....        44958        11326  80.rar
2021-03-27 12:02:20 .....        44989        11485  81.rar
2021-03-27 12:02:20 .....        44958        11365  82.rar
2021-03-27 12:02:20 .....        44958        11426  83.rar
2021-03-27 12:02:20 .....        44958        11314  84.rar
2021-03-27 12:02:20 .....        44958        11476  85.rar
2021-03-27 12:02:20 .....        44958        11502  86.rar
2021-03-27 12:02:20 .....        44958        11556  87.rar
2021-03-27 12:02:20 .....        44958        11377  88.rar
2021-03-27 12:02:20 .....        44958        11439  89.rar
2021-03-27 12:02:20 .....        44958        11292  90.rar
2021-03-27 12:02:20 .....        44958        11330  91.rar
2021-03-27 12:02:20 .....        44958        11476  92.rar
2021-03-27 12:02:20 .....        44958        11479  93.rar
2021-03-27 12:02:20 .....        44958        11346  94.rar
2021-03-27 12:02:20 .....        44958        11474  95.rar
2021-03-27 12:02:20 .....        44958        11346  96.rar
2021-03-27 12:02:20 .....        44958        11366  97.rar
2021-03-27 12:02:20 .....        44958        11408  98.rar
2021-03-27 12:02:20 .....        44958        11510  99.rar
2021-03-27 12:02:20 .....        45959        11359  100.rar
------------------- ----- ------------ ------------  ------------------------
2021-03-27 12:02:20            4487823      1131492  100 files

Each rar archive has a directory with 1000 files inside. I’ve extracted them all and checked for flag. Steps are below.

7z x Hide\&seek.zip
for i in {1..100}; do 7z x Hide\&seek.zip; done

As most of files seemed to be empty I’ve executed cat */*, which gave me the flag. Then I’ve also checked the below just to find out where was the flag ;-)

grep SBCTF */* 
81/367.txt:SBCTF{Y0U_H4VE_PL4Y3D_1T_W3LL}

Flag

SBCTF{Y0U_H4VE_PL4Y3D_1T_W3LL}

Privacy Policy
luc © 2021