Crypto challenges from aupCTF

7/7 challenges 100% :)


Rotation

image

It is just ROT 47 with 67 as the amount then ROT 13 with 8 as amount

image

Flag: aupCTF{y0u-f0und-m3}


Ancient-Cipher

image

It is just ROT 13 with 9 as amount

image

Flag: aupCTF{B0b's_Bad_Crypt0graphy_5k1lls}


Enigma

image

Use Enigma machine decoder with the required settings

image

Flag: aupCTF{ENIGMAISFASCINATING}


Disorder

image

It was Transposition Cipher

image

Flag: aupCTF{th1s_1s_n0t_a_game}


RSA

image

n = 114451512782061350994183549689132403225242966062482357218929786202609314635625168402975465116960672539381904935689924074978793017604108838426275397024126351435336388859375577638687615733448645699186377194544704879027804400841223407182597828299190404980916587708863068950664207317360099871904794302327240026597
e = 0x10001
c = 77973874950946982309998238055233832655056168217930252243355819182449120246116674359138553216317477143768434108918799869104308920311195408379262816485377057853246446992573203590942762693635615621774057306679349618708293741847308966437868706668452083656318895155238523224237514077565164105837790895618179891869
p + q =  21400959789031198835597502268226110838410793429486235013163818172148759394109297013195530163943463063090162742198192075506990494863858727035693527345539878
p - q =  441620610348849769847261104024471204541391170160225757260110727514761526074769013762749528928112909396341014808517549368576708910310103233373547986477636

Since (p+q) + (p-q) = 2p dividing it by 2 gives p.

p = 10921290199690024302722381686125291021476092299823230385211964449831760460092033013479139846435787986243251878503354812437783601887084415134533537666008757

Using an RSA decoder decoder to get flag.

image

Flag: aupCTF{3a5y_tw0_3quat10n5_and_hax3d_3}


Swiss-Army-Knife

image

I used CyberChef to do these:

XYXXYYXX XYXYXXYY XXYYXXXX XYYYXYXX XYXXYXXY XYXXXXYY XXYYXYXX XYYYXYXX XYXXYYXX XYYXYXXY XYXXXXXY XYYYXYXX XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXX
XYXXYXXY XYXXXXYY XXYYXXXX XYYYXYXX XYXXYYXX XYYXYXXY XYXXXXXY XYYYXYXY XYXXYYXX XYYXYXXY XXYYXYXX XYYXXYYY XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXY
XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXY XYXXYYXX XYYXYXXY XXYYXYXX XYYXXYYY XYXXYYXX XYXYXXYY XXYYXYXX XYYXXYYY XYXXYYXX XYYXYXXY XXYYXXXX XYYYXYXY
XYXXYYXX XYYXYXXY XYXXXXXY XYYYXYXY XYXXYYXX XYYXYXXY XXYYXXXX XYYYXYXY XYXXYXXY XYXXXXYY XXYYXYXX XYYYXYXY XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXY
XYXXYXXY XYXXXXYY XXYYXYXX XYYYXYXX XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXX XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXY XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXX
XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXY XYXXYYXX XYXYXXYY XXYYXYXX XYYXXYYY XYXXYYXX XYYXYXXY XXYYXXXX XYYYXYXY XYXXYXXY XYXXXXYY XXYYXXXX XYYYXYXY
XYXXYXXY XYXXXXYY XXYYXYXX XYYYXYXY XYXXYYXX XYYXYXXY XXYYXXXX XYYXXYYY XYXXYYXX XYYXYXXY XXYYXXXX XYYYXYXY XYXXYXXY XYXXXXYY XXYYXXXX XYYYXYXX
XYXXYYXX XYYXYXXY XYXXXXXY XYYYXYXY XYXXYYXX XYYXYXXY XXYYXYXX XYYXXYYY XYXXYYXX XYXYXXYY XXYYXXXX XYYXXYYY XYXXYYXX XYYXYXXY XXYYXXXX XYYYXYXX
XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXX XYXXYXXY XYXXXXYY XXYYXYXX XYYYXYXY XYXXYYXX XYXYXXYY XXYYXYXX XYYXXYYY XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXX
XYXXYXXY XYXXXXYY XXYYXXXX XYYYXYXX XYXXYYXX XYYXYXXY XXYYXYXX XYYXXYYY XYXXYYXX XYYXYXXY XXYYXXXX XYYYXYXX XYXXYXXY XYXXXXYY XXYYXXXX XYYYXYXX
XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXY XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXY XYXXYYXX XYYXYXXY XYXXXXXY XYYYXYXY XYXXYYXX XYXYXXYY XXYYXYXX XYYXXYYY
XYXXYYXX XYXYXXYY XXYYXXXX XYYYXYXY XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXX XYXXYYXX XYXYXXYY XXYYXXXX XYYXXYYY XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXY
XYXXYYXX XYYXYXXY XXYYXXXX XYYXXYYY XYXXYYXX XYXYXXYY XXYYXYXX XYYYXYXX XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXY XYXXYYXX XYXYXXYY XXYYXXXX XYYXXYYY
XYXXYYXX XYXYXXYY XXYYXXXX XYYYXYXX XYXXYXXY XYXXXXYY XXYYXXXX XYYYXYXY XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXY XYXXYXXY XYXXXXYY XXYYXYXX XYYYXYXX
XYXXYYXX XYYXYXXY XYXXXXXY XYYYXYXY XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXX XYXXYXXY XYXXXXYY XXYYXYXX XYYYXYXY XYXXYYXX XYXYXXYY XXYYXYXX XYYXXYYY
XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXY XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXX XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXX XYXXYXXY XYXXXXYY XXYYXXXX XYYYXYXY
XYXXYYXX XYYXYXXY XYXXXXXY XYYYXYXX XYXXYYXX XYYXYXXY XXYYXXXX XYYXXYYY XYXXYYXX XYXYXXYY XXYYXXXX XYYXXYYY XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXY
XYXXYYXX XYXYXXYY XXYYXXXX XYYXXYYY XYXXYYXX XYXYXXYY XXYYXYXX XYYYXYXY XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXY XYXXYYXX XYXYXXYY XXYYXXXX XYYYXYXY
XYXXYXXY XYXXXXYY XXYYXYXX XYYYXYXY XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXX XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXY XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXX
XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXY XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXX XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXY XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXX
XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXY XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXX XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXY XYXXYYXX XYXYXXYY XYXXXXXY XYYYXYXX
XYXXYYXX XYYXYXXY XXYYXYXX XYYYXYXY XYXXYYXX XYXYXXXY XXYYYYXY XXYYYYXY

I believed it was just X representing 0 and Y representing 1 then decode the binary.

image

Which produces a base64 encoded string: LS0tIC4tLiAtLi4tIC0tLiAuLi4gLi4uLSAuLi4gLS4gLi0uLiAuLi0uIC4uLi4uIC4tLSAtLSAuLi4tLSAuLS4gLi0uIC0uIC4uLi0gLi0uIC0tLiAuLi4gLS0gLi0tLSAtIC4uLS4gLi4tIC0tLi4gLi0tIC0tLSAuLi4uLiAuLS4gLS0uLSAtLS0gLi4uLi0gLS4tLSAuLS0gLS0tIC0uLi4uIC4tLiAuLi4tIC4uLS4gLi4uLSAtLi4tIC0uLiAtLi0gLS0gLi4uLS0gLS4uLSAuLS0uIC4uLSAtLi4uLSAtLi4uLSAtLi4uLSAtLi4uLSAtLi4uLSAtLi4uLQ==

image

Produces a morse code: --- .-. -..- --. ... ...- ... -. .-.. ..-. ..... .-- -- ...-- .-. .-. -. ...- .-. --. ... -- .--- - ..-. ..- --.. .-- --- ..... .-. --.- --- ....- -.-- .-- --- -.... .-. ...- ..-. ...- -..- -.. -.- -- ...-- -..- .--. ..- -...- -...- -...- -...- -...- -...-

image

Produces a base32 encoded strings: ORXGSVSNLF5WM3RRNVRGSMJTFUZWO5RQO4YWO6RVFVXDKM3XPU======

image

Produces a rot13 with amount 7: tniVMY{fn1mbi13-3gv0w1gz5-n53w}

image

image

Flag: aupCTF{mu1tip13-3nc0d1ng5-u53d}


Battista’s-Bet

image

Hint: The key to decode the message is a SECRET

This is just Vigenere Cipher decode with SECRET as the key.

image

Flag: aupCTF{B3lla50W0uldB3Pr0ud}