Maojui

Codegate 2018 - Miro (Crypto, 404)

RSA certificate
This question giving a packet “miro.pcap“ and a python file “client.py“. Just read through the code, you will find this client.py is an easy puzzl ...
Read more

Codegate 2018 - RSAbaby (Crypto, 349)

RSA
ChallengeThis code generates general(random) RSA keys Given1234567#[*] Encrypted Data : 380838525806255337893946743050327173947433371586247814759 ...
Read more

Seccon 2017 - Ps & Qs (Crypto, 200)

RSA factor
Ps and QsChallenge12345Ps and QsDecrypt it.update: we fixed the flag, please try to submit again.psqs1-0dd2921c9fbdb738e51639801f64164dd144d077101 ...
Read more

Seccon 2017 - Vigenere3d (Crypto, 100)

Classical Vigenère
Given : vigenere3d.py This challenge is Vigenère cipher, but make it to a cube. Each level has a Vigenère table and rorate 1 alphabet for every fl ...
Read more

Seccon 2017 - Man-in-the-middle on SECP384R1 (Crypto, 300)

ECC Key exchange
The title give us some tips : SECP384R1 -> Ellicptic Curve Try Connect to the server, you can find there are two dev talking. As the title, we ...
Read more

Seccon 2017 - Simon ... (Crypto, 100)

Brute-force Blockcipher
1Simon_96_64, ECB, key="SECCON{xxxx}", plain=0x6d564d37426e6e71, cipher=0xbb5d12ba422834b5 I found Simon algorithm at : http ...
Read more

Seccon 2017 - Very Smooth (Crypto, 300)

RSA certificate
Very SmoothIn Pcap :Find Client and Server’s ConversationCipher Suite TLS_RSA_WITH_AES_128_CBC_SHA (0x002f) Find Certificate in PcapGet Certificat ...
Read more

RSA - CTF 常見題型

RSA Exploit
RSA 題常見的情況$$c = m^e \ mod\ N$$ 如果遇到 500 bit 左右,或是以下的因為數值不大,可以先試試直接爆破 : SageMath factordb yafu 如果 N 的其中一個質數是 K-smooth 數 (k不大) : 像是 N ...
Read more

中國餘數定理 | Chinese Remainder Theorem (CRT)

Intro Algorithm
中國餘式定理如果N為合數 ( $N = n_1 \times \ n_2 \ \times \ n_3 \ \times\ …\ \times \ n_n$ ),同個質數可以一起算 (ex: $n_1 = p^{3}$) 假設我只有 ($a_1,a_2,a_ ...
Read more

POODLE Attack | Padding Oracle Attack

Intro Padding Oracle
冷知識: Oracle (神諭) – 神明可以告訴你任何事情的答案 Padding Oracle – 用 Padding 告訴你 “你想知道的答案A_A” 針對 CBC 的各種加密 :適用於: CAST-cbc aes-128-cbc aes-192-cbc aes-256-cbc ...
Read more
Prev Next