February 4, 2018
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
February 4, 2018
RSA
ChallengeThis code generates general(random) RSA keys
Given1234567#[*] Encrypted Data : 380838525806255337893946743050327173947433371586247814759 ...
Read more
December 19, 2017
RSA
factor
Ps and QsChallenge12345Ps and QsDecrypt it.update: we fixed the flag, please try to submit again.psqs1-0dd2921c9fbdb738e51639801f64164dd144d077101 ...
Read more
December 19, 2017
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
December 11, 2017
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
December 11, 2017
Brute-force
Blockcipher
1Simon_96_64, ECB, key="SECCON{xxxx}", plain=0x6d564d37426e6e71, cipher=0xbb5d12ba422834b5
I found Simon algorithm at : http ...
Read more
December 11, 2017
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
May 13, 2017
RSA
Exploit
RSA 題常見的情況$$c = m^e \ mod\ N$$
如果遇到 500 bit 左右,或是以下的因為數值不大,可以先試試直接爆破 :
SageMath
factordb
yafu
如果 N 的其中一個質數是 K-smooth 數 (k不大) :
像是 N ...
Read more
May 11, 2017
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
May 11, 2017
Intro
Padding Oracle
冷知識:
Oracle (神諭) – 神明可以告訴你任何事情的答案
Padding Oracle – 用 Padding 告訴你 “你想知道的答案A_A”
針對 CBC 的各種加密 :適用於:
CAST-cbc
aes-128-cbc
aes-192-cbc
aes-256-cbc ...
Read more