iT邦幫忙

2025 iThome 鐵人賽

DAY 28
1
Security

飲血使徒的隱寫術奇境系列 第 28

【Day28】隱寫練功坊──神盾杯

  • 分享至 

  • xImage
  •  

Restaurant

題目資訊

首先題目給了一個 .exe 檔案,並且題目說本題不需要逆向,而且出題者又說沒有病毒可以放心執行,所以就執行看看,發現會吐出 26 個英文字母為檔名的圖片

A.jpg

https://ithelp.ithome.com.tw/upload/images/20251012/201788094gYXkwA3dA.jpg

V.jpg

https://ithelp.ithome.com.tw/upload/images/20251012/201788094XR8d8qFKx.jpg

並且題目說不需要 OSINT 所以我們接下來就專注在題目上

解題思路

根據題目提示說,人物相關的圖片會給我們線索,所以我們就先檢視人物圖片,老樣子先按照步驟看,今天直接從重要的來

  1. exiftool
$ exiftool V.jpg   
ExifTool Version Number         : 13.10
File Name                       : V.jpg
Directory                       : .
File Size                       : 32 kB
File Modification Date/Time     : 2025:09:26 21:12:44+08:00
File Access Date/Time           : 2025:09:27 14:46:03+08:00
File Inode Change Date/Time     : 2025:09:27 14:45:39+08:00
File Permissions                : -rw-rw-r--
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
JFIF Version                    : 1.01
Resolution Unit                 : inches
X Resolution                    : 96
Y Resolution                    : 96
Comment                         : passphrase is ""
Image Width                     : 330
Image Height                    : 330
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
Image Size                      : 330x330
Megapixels                      : 0.109

根據 passphrase is "" 猜測可能要用 steghide 去提取資訊

  1. steghide
steghide extract -sf V.jpg -p "" -xf V_hidden.bin || echo "failed V"
wrote extracted data to "V_hidden.bin".

成功在前三張人物圖片獲得以下資訊

The chef loves prime numbers, and he will use them as ingredient codes.

I want to eat the food that the chef made, but he gave me gold coins and asked me to buy the ingredients on the list. The list only says "PRIME". What are these ingredients?

I am Legendary Utensil, and I can transform ingredients into dishes.

這些是非常重要的提示,也是我們在這題卡了兩個小時解不出來的原因

解法

第一個提示說,質數是材料
第二個提示問我們成分有哪些,然後說是 "PRIME"
第三個提示說他自己是廚具,所以合理推測他是工具的一種

接下來偉大的通靈就要開始了

https://ithelp.ithome.com.tw/upload/images/20251012/20178809BUOXFXY1r1.jpg

看著這張圖,題目說他是工具,可是完蛋了想不出來

如果連這麼簡單的通靈都解不出來的話,想必我的隱寫生涯就會這麼結束了罷

於是我們的賽博守護者隊友根據
open 醬 + 泡芙阿姨這兩個資訊
成功通出是在指 openpuff

真的太強了不愧是我們的賽博守護者

下載好 openpuff 以後,接下來我們又要猜出密碼是甚麼,因此根據第二個提示 "PRIME" ,特地大寫肯定是有甚麼玄機

因此,我們大膽地猜測,小心地求證

$ for f in *.jpg; do echo "=== $f ==="; exiftool "$f" | egrep 'Comment|Title|XMP|Author|Description|UserComment'; done
=== A.jpg ===
XMP Toolkit                     : Image::ExifTool 13.25
Title                           : 2
=== B.jpg ===
XMP Toolkit                     : Image::ExifTool 13.25
Title                           : 3

利用 exiftool 的資訊,我們知道每個字母就是對應該順序的質數,然後 PRIME,咦,不就是這五個質數嗎

然後再咦,阿我們好像可以把他乘起來耶,於是

最終解

密碼是 PRIME 五個對應的質數乘起來,然後素材是剩下那張沒用到的人物

也就是我們討厭的小當家,害我們沒進決賽

最後成功解出一個 .txt 檔

AEGIS{Pr1m3_Mult1pl1c4t10n_1s_th3_K3y_t0_S3cr3cy}

本日飲血

今天是黛拉可瑪莉


上一篇
【Day27】隱寫練功坊──Root Me - 10──LSB
下一篇
【Day29】隱寫術工具箱
系列文
飲血使徒的隱寫術奇境30
圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 則留言

1
owl_d
iT邦新手 5 級 ‧ 2025-10-12 22:35:54

通靈大會

我要留言

立即登入留言