Covid-19 CTF Writeup

この大会は2020/5/2 0:15(JST)~2020/5/2 7:45(JST)に開催されました。
今回もチームで参戦。結果は1221点で404チーム中58位でした。
Tiger King CTFと重複しますが、改めて自分で解けた問題をWriteupとして書いておきます。

FIXED: Tom Nook - Internet traffic - Part II (Forensics 40)

パスワード付きZIPが添付されている。

$ fcrackzip -u -D -p dict/rockyou.txt SecretACBankStatement.zip 


PASSWORD FOUND!!!!: pw == 0853483757

このパスワードで解凍すると、PDFが展開される。この文書の中にフラグが書かれていた。

DERP{TomNookDrivesTheBoat}

n Eggs (Crypto, Ciphers, and Encodings 10)

ベーコニアン暗号。https://www.dcode.fr/bacon-cipherで復号する。

DERPILOVEBACON

All about that base (Crypto, Ciphers, and Encodings 10)

base64デコードする。

$ echo ZGVycHtJc1RoaXNFbmNyeXB0aW9ufQ== | base64 -d
derp{IsThisEncryption}
derp{IsThisEncryption}

All about that base remix (Crypto, Ciphers, and Encodings 10)

base32デコードする。

>>> import base64
>>> base64.b32decode('MRSXE4D3KRUGS42JONCGKZSFNZRXE6LQORUW63RBPU======')
'derp{ThisIsDefEncryption!}'
derp{ThisIsDefEncryption!}

et tu brute (Crypto, Ciphers, and Encodings 10)

シーザー暗号(rot13)。https://www.geocachingtoolbox.com/index.php?lang=en&page=caesarCipherで復号する。

derp{AnOldieButAGoodie}

AFSC 29331 (Crypto, Ciphers, and Encodings 10)

モールス信号。https://morsecode.world/international/translator.htmlでデコードする。

DERP DITTY BOPPERS

Why are they even in that order in the fist place? (Crypto, Ciphers, and Encodings 10)

アルファベットのインデックスとして、文字にする。

         11111111112222222
12345678901234567890123456
abcdefghijklmnopqrstuvwxyz
derplongestcomboever

Don't touch the third rail (Crypto, Ciphers, and Encodings 10)

Rail Fence Cipher。https://www.geocachingtoolbox.com/index.php?lang=en&page=railFenceCipherで復号する。

derp{ZigzagCipherFTW}