Crypto

Tip

Apprenez et pratiquez le hacking AWS :HackTricks Training AWS Red Team Expert (ARTE)
Apprenez et pratiquez le hacking GCP : HackTricks Training GCP Red Team Expert (GRTE) Apprenez et pratiquez le hacking Azure : HackTricks Training Azure Red Team Expert (AzRTE)

Soutenir HackTricks

Cette section se concentre sur la cryptographie pratique pour hacking/CTFs : comment reconnaître rapidement les schémas courants, choisir les bons outils et appliquer des attaques connues.

Si vous êtes ici pour cacher des données dans des fichiers, allez à la section Stego.

Comment utiliser cette section

Les défis Crypto récompensent la rapidité : classifiez la primitive, identifiez ce que vous contrôlez (oracle/leak/nonce reuse), puis appliquez un modèle d’attaque connu.

CTF workflow

Crypto CTF Workflow

Symmetric crypto

Symmetric Crypto

Hashes, MACs, and KDFs

Hashes, MACs & KDFs

Public-key crypto

Public-Key Crypto

TLS and certificates

TLS & Certificates

Crypto in malware

Crypto in Malware

Misc

Crypto CTF Misc

Configuration rapide

  • Python: python3 -m venv .venv && source .venv/bin/activate
  • Bibliothèques: pip install pycryptodome gmpy2 sympy pwntools
  • SageMath (souvent essentiel pour lattice/RSA/ECC): https://www.sagemath.org/

Tip

Apprenez et pratiquez le hacking AWS :HackTricks Training AWS Red Team Expert (ARTE)
Apprenez et pratiquez le hacking GCP : HackTricks Training GCP Red Team Expert (GRTE) Apprenez et pratiquez le hacking Azure : HackTricks Training Azure Red Team Expert (AzRTE)

Soutenir HackTricks