- Download the
PDF
given. - Analyse using
Peepdf
. Reference 1
Reference 2
- We shall see that there are
78 Objects
and25 Streams
. - We shall see there is an
embedded file
in thePDF
. - So now we need to extract the
embedded file
using thestream
command. - Totally there are
25 streams
.
- After
analysing
all only thestream 77
seemed to have somesuspicious
data.
- Lets redirect the output to the
TXT
file and see what's that.
PPDF> stream 77 > 1.txt
- It seems to look like a
Base 64
encoded text. - So let's try to
decode
it.
- We shall see that its an
JPEG
Image after decoding the Base64 Encoded. - Now lets redirect the output to the
JPEG
file.
PPDF> decode file 1.txt base64 > 1.jpeg
- Now we got a
Image
which has theFlag
.
Hidden_embedded_Fil3