TFC-CTF Write-up(c-c-c)

how noob am i?

REVERSE

SIGNAL

check it with DIE,64 bit

step into the main func,nothing sus here,lets check the function list

we can find some very sussy name here

check the function GenerateChallenge,seems like the flag is a random string within”a” to “9”

now it is clear, check the other functions

and this is the flag

TFCCTF{b11e807f65b27dcf82e70c4bad63a3eb}

CRYPTO

CCCCC

5c4c4c6c4c3c4c3c5c4c4c6c7cbc6c3c7c3c6c8c6cfc7c5c7c4c5cfc6c3c6cfc7c5c7c4c5cfc6c3c7c4c3c0c5cfc6c3c6cdc7c9c5cfc6c3c6c2c3c0c7c9c5cfc6c3c3c4c6cec6c4c5cfc6c3c6cdc7c9c5cfc6c3c6c4c6cfc6c7c5cfc6c3c6c1c6cec6c4c5cfc6c3c6cdc7c9c5cfc6c3c6c3c3c4c3c7c7cdc0ca

remove all letter C from the text

then 16bytes|ASCII chara

5446434354467b6373686f75745f636f75745f6374305f636d795f636230795f63346e645f636d795f63646f675f63616e645f636d795f636334377d0a
TFCCTF{cshout_cout_ct0_cmy_cb0y_c4nd_cmy_cdog_cand_cmy_cc47}

GENETICS

CCCA CACG CAAT CAAT CCCA CACG CTGT ATAC CCTT CTCT ATAC CGTA CGTA CCTT CGCT ATAT CTCA CCTT CTCA CGGA ATAC CTAT CCTT ATCA CTAT CCTT ATCA CCTT CTCA ATCA CTCA CTCA ATAA ATAA CCTT CCCG ATAT CTAG CTGC CCTT CTAT ATAA ATAA CGTG CTTC

The correspondence can be found clearly:

CCCA->T

CACG->F

CAAT->C

CAAT->C

CCCA->T

CACG->F

From this correspondence,we can infer that the basic group A,T,C,G matches correspond to 2,1,3,0

(Special Thanks:G3rling)

therefore:

LetterQuaternary CodeNucleotide
A3213CATC
B3220CAAG
C3221CAAT
D3222CAAA
E3223CAAC
F3230CACG
G3231CACT
H3232CACA
I3233CACC
J3300CCGG
K3301CCGT
L3302CCGA
M3303CCGC
N3310CCTg
O3311CCTT
P3312CCTA
Q3313CCTc
R3320CCAG
S3321CCAT
T3322CCAA
U3323CCAC
V3330CCCg
W3331CCCt
X3332CCCA
Y3333CCCC
Z0000GGGG

and punctuation matches their position in the ASCII code tb.

the flag:

TFCCTF{1_w1ll_g3t_th1s_4s_4_t4tt00_V3ry_s00n}