Game 32
Challenge summary:
- A USB image is malformed and not recognized by normal tools.
Q1: modified timestamp of the file containing the next terror plan (UTC+9)Q2: next target place- Final:
lowercase(md5(YYYY-MM-DD_HH:MM:SS_place))
Given artifact:
$ file 'USB_Image(SuNiNaTaS)'USB_Image(SuNiNaTaS): DOS/MBR boot sector, ... FAT (32 bit) ...1) Why the image fails
Sleuth Kit initially fails:
$ fsstat -f fat32 USB_Image\(SuNiNaTaS\)Invalid magic value (Error: sector size (4352) is not a multiple of device size (512)Do you have a disk image instead of a partition image?)Hex inspection shows FAT32 signatures (RRaA) shifted because bytes were inserted before the boot-sector end marker (0x55aa).
2) Repair the FAT32 boot area
I fixed the image in a hex editor (imhex) by aligning the boot sector so 0x55aa is at offset 0x1fe-0x1ff.
After repair:
$ fsstat -f fat32 USB_Image\(SuNiNaTaS\)FILE SYSTEM INFORMATION--------------------------------------------File System Type: FAT32OEM Name: MSDOS5.0Volume ID: 0xde96e00aVolume Label (Boot Sector): NO NAME...3) Enumerate files and find the plan document
$ fls -r -p USB_Image\(SuNiNaTaS\) | grep -v Orphan...r/r 11: 2^^^^~1.HWPr/r 15: Terrorism Report-2013-North Korea.pdfr/r 19: Terrorism Report-2013-South Korea.pdf...The DOS short name 2^^^^~1.HWP corresponds to 2차 테러 계획.hwp (“2nd terror plan”).
Extract and inspect metadata:
$ icat USB_Image\(SuNiNaTaS\) 11 > tero.hwp
$ istat USB_Image\(SuNiNaTaS\) 11Directory Entry: 11AllocatedName: 2^^^^~1.HWP
Directory Entry Times:Written: 2016-05-30 02:44:02 (CST)Accessed: 2016-05-30 00:00:00 (CST)Created: 2016-05-30 02:50:41 (CST)Challenge asks for UTC+9 formatted as YYYY-MM-DD_HH:MM:SS, and the solved value used is:
2016-05-30_11:44:024) Read document content for location
Open tero.hwp with an HWP-compatible viewer (e.g., Hancom/ONLYOFFICE).
Recovered content:
2차 테러 계획일 자 2016-07-15시 간 09:00:00장 소 Rose ParkQ2 answer:
Rose ParkFinal Auth Key
Input string:
2016-05-30_11:44:02_Rose ParkResult:
8ce84f2f0568e3c70665167d44e53c2a