HackTheBox - Phreaky
- Scenario
In the shadowed realm where the Phreaks hold sway,
A mole lurks within, leading them astray.
Sending keys to the Talents, so sly and so slick,
A network packet capture must reveal the trick.
Through data and bytes, the sleuth seeks the sign,
Recon
網路封包的起手式除了TCP Stream Follow以外,我也會看中間溝通的過程有沒有傳輸檔案,果不其然,發現兩邊透過SMTP協定傳送加密的檔案

所以實際把這些檔案dump下來會發現是一個email的附檔文件,把attached file載下來並且用email中附的密碼可以extract出一個pdf file的其中一段
1 | |
我們要做的事情就是重複15次的開email → 下載附檔 → 解密,並且最後把這15個檔案拼在一起
Exploit
1 | |
會發現這個pdf file的最後有flag
Flag: HTB{Th3Phr3aksReadyT0Att4ck}