Defcamp 2017
Last updated
Last updated
I like to write and move all around the world. But do you know my story?
Opening up the file with Wireshark and searching through the packets for DCTF came back with 1 result.
Flag: DCTF{2d9895ecea1081b2241398d1b2c94eaf5be3bfaffec1ad946ed0a68ae95f8ed9}
Ah man... I hate when I forget my password... Do you know it?
When typing strings on the program you can find above the line above "Enter password" is the password of strongpassword_as_a_pro
. When running the program with that password will give the following response444354467b366436653137363063316133616539653465646532343537643864323462306263663230376561383337653833646362346430396532643734656639353862327d ... now decrypt hex.
Which it tells to decrypt in hex which gives the flag.
Flag: DCTF{6d6e1760c1a3ae9e4ede2457d8d24b0bcf207ea837e83dcb4d09e2d74ef958b2}
I bet your eye can spot the original photo! Note: I got rid of duplicate files to be able to include the files in 1 zip file under 15 mb]
All the photos look the same and I happen to have software that I use when I have files that are identical. I opened up DupeGuru and ran to delete duplicate files. This narrowed down the results to 278 files which still isn't good enough. I did look through k4DirStat and find file 1024.png was the biggest file so I did Exiftool on it and it appeared it was in the copyright flag.
ALTERNATIVELY
The problem was supposed to be solved using the command grep "DCTF"
to go through all the files. In that case, I used the command grep -iRl "DCTF{" ./
to return which file had the flag.
Flag: DCTF{162d6e3865b2be32851fb8bd3cca73bdc1a052f9da75d8680c471eb45af522df}
A friend of mine is learning about encryption and now is challenging me to break it! Can you give it a go?
Simplifying the code a little bit I determined these 3 lines meant that bu1 was a header and buf was the data. By working backwards I read in the lock.iso file and determined it was split into 3 parts. bu1 [header], backup.zip [data], buf [buffer data] By removing the extra data I can write the leftover data to a zip file which hopefully would contain the flag. This was indeed the case as we are given index.txt containing flag and some more buffer data. Note it says you can change the extension. I tried and that doesn't work
Solution Code
Flag: DCTF{474dac08d29d013515a312d1a8460050634f9b3cb6a696a4c73652d1802a1872}
Are you a forensic?
Searching through the pcapng file for DCTF{ a couple of results come up. When you focus on the packets with 81 bytes you get the flag. I used the set of packets 676, 685, 690, 697, 703
Flag: DCTF{71f15f9abbd6b4f57ca13114fddef7499b34cb93b35e3ac725cd273ea40cb769}
Do you like our logo?
Start out with binwalk
to find that the logo has 13 images hidden in it.
Of those 13 images. 1E042 contains the flag.
Flag: DCTF{61c9183bf4e872b61d71697891e0a451eff0b07bcd3373d4aac94aa74baccb9f}
I forgot my flag & key. Help me recover them.
Solution
Flag:
Every book is unique in its own way! Go and read the story of a brave man!
From the reference to unique, I do diff 0001.txt 0002.txt to return a line difference of DC, so I did that for each file comparing it to the base file of 0001.txt getting this text combined. which was the flag.
< glimpse last summer at the Palais-Royal. Some of > glimpse last summer DC at the Palais-Royal. Some of
< benches ranged along the walls, and in the centre of > benches ranged along TFthe walls, and in the centre of
< And it must have been very strong to endure after > And it must h{ave been very strong to endure after
< And it must have been very strong to endure after > And it must have been 7ba61 very strong to endure after
< and Frederick, feeling sleepy, was in no great haste > and Frederick, feeling sleepy, wa0cc5ds in no great haste
< communicated to him ; and he had only two phrases : > communicated to him ; aa3966nd he had only two phrases :
< derstand. She longed for wealth, in order to crush > derstand. She longed fob7c64r wealth, in order to crush
< They all took advantage of the occasion to denounce > They all took advantage a81c3 of the occasion to denounce
< " Ha ! your chum ! " said Madame Moreau, with a > " Ha ! your chum ! " said Madame Morcfcdbeau, with a
< barely maintained him. Made bitter by continuous > barely maintained him. 1b1d0 Made bitter by continuous
< 82 GUSTAVE FLAUBERT > 82 GUSTAVE FLAUBERT 9e3de
< and the 'longshore-woman exclaimed : > and the 'longshore-woman exclaimed : 5ad11
< The advocate went on : > The advocate 89268 went on :
< ceive either. > ceive either. bf0e6
< places at which the principals in the duel were to > places at 18ff7 which the principals in the duel were to
< deur. > deur. 1f08}
Flag: DCTF{7ba610cc5da3966b7c64a81c3cfcdb1b1d09e3de5ad1189268bf0e618ff71f08}
What do you think about this algorithm? I worked with my good friend to push it to the repository.
Solution
Flag:
Too lazy to make the flag in DCTF{SHA256} format. Download Find the flag, and make it compatible yourself.
Solution
Flag: