本文へ移動
cccskills
無料GitHub で公開

crypto-category-tools

Crypto kategori SKILL.md — RSA, ECC, AES, hash, encoding saldırıları için gerekli araçları kurma rehberi

インストール方法を見る

含まれるファイル(30)

  • SKILL.md4.3 KB
  • aes-cbc-bitflip/SKILL.md10.8 KB
  • aes-gcm-nonce-reuse/SKILL.md9.2 KB
  • crypto-techniques/references/advanced-math.md28.1 KB
  • crypto-techniques/references/classic-ciphers.md28.4 KB
  • crypto-techniques/references/ecc-attacks.md14.2 KB
  • crypto-techniques/references/exotic-crypto-2.md18.1 KB
  • crypto-techniques/references/exotic-crypto.md24.0 KB
  • crypto-techniques/references/historical.md4.5 KB
  • crypto-techniques/references/lattice-and-lwe.md15.9 KB
  • crypto-techniques/references/modern-ciphers-2.md28.8 KB
  • crypto-techniques/references/modern-ciphers-3.md25.1 KB
  • crypto-techniques/references/modern-ciphers.md31.9 KB
  • crypto-techniques/references/prng-attacks.md12.2 KB
  • crypto-techniques/references/prng.md24.8 KB
  • crypto-techniques/references/rsa-attacks-2.md35.8 KB
  • crypto-techniques/references/rsa-attacks.md18.5 KB
  • crypto-techniques/references/stream-ciphers.md17.8 KB
  • crypto-techniques/references/zkp-and-advanced.md19.9 KB
  • crypto-techniques/SKILL.md38.2 KB
  • diffie-hellman-attacks/SKILL.md9.1 KB
  • elliptic-curve-attacks/SKILL.md11.2 KB
  • encoding-multilayer/SKILL.md17.1 KB
  • hash-crack/SKILL.md14.8 KB
  • jwt-attacks/SKILL.md16.3 KB
  • lattice-attacks/SKILL.md10.4 KB
  • rsa-close-primes/SKILL.md9.1 KB
  • rsa-common-modulus/SKILL.md9.8 KB
  • rsa-padding-oracle/SKILL.md12.4 KB
  • rsa-wiener-attack/SKILL.md8.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Crypto Kategorisi — Gerekli Araçlar

Crypto challenge'larında kullandığımız tüm araçlar ve kurulum yöntemi.

Gerekli Araçlar

Bu kategorideki skill'leri kullanabilmek için aşağıdaki araçlar gerekli:

AraçAçıklamaKurulum
pycryptodomeKripto kütüphanesi (AES, RSA, DES vb.)pip install pycryptodome
gmpy2GMP Python binding — RSA saldırılarıpip install gmpy2
sympySembolik matematik — faktörizasyon, polinomlarpip install sympy
fpylllLLL lattice reduction — Boneh-Durfey, Coppersmithpip install fpylll
padding-oraclePadding oracle saldırı kütüphanesipip install padding-oracle

Araçları Hızlı Kur

Tüm crypto araçlarını bir komutla kur:

fetih download-tools crypto

Bu komut:

  • Gerekli araçların kurulu olup olmadığını kontrol eder
  • Eksik olanları otomatik yükler
  • Python kütüphaneleri için pip, uv pip veya pipx kullanır

Araçlar Kurulu mu Kontrol Et

# Hepsini görmek için
fetih download-tools status

# Sadece crypto kısmını filtrelemek için
fetih download-tools status | grep -A 10 "CRYPTO"

# Python'dan manuel kontrol
python3 -c "import Crypto, gmpy2, sympy, fpylll, padding_oracle; print('Tüm araçlar kurulu')"

Her Araç Neye Yarar?

pycryptodome

Kripto algoritmaları — AES, DES, RSA, ECC, hash fonksiyonları

Skill'lerde kullanılır:

  • crypto/aes-cbc-bitflip — AES-CBC mode işlemleri
  • crypto/aes-gcm-nonce-reuse — AES-GCM şifrele/çöz
  • crypto/rsa-* — RSA modül işlemleri
from Crypto.Cipher import AES, RSA
from Crypto.Hash import SHA256

gmpy2

Büyük sayı matematik — RSA faktörizasyon, modüler işlemler

Skill'lerde kullanılır:

  • crypto/rsa-wiener-attack — Wiener saldırısı için gcd
  • crypto/rsa-common-modulus — Extended GCD
  • crypto/lattice-attacks — Lattice reduction
import gmpy2
p, q = gmpy2.gcd(n1, n2), n1 // gmpy2.gcd(n1, n2)

sympy

Sembolik matematik — faktörizasyon, polinom çözme

Skill'lerde kullanılır:

  • crypto/lattice-attacks — Boneh-Durfey / Coppersmith
  • crypto/rsa-close-primes — n = pq veya n = pq*r şekillerinde faktörizasyon
  • crypto/z3-constraint-solving — Denklem sistemi çözme
from sympy import factorint, symbols, solve

fpylll

LLL lattice reduction algoritması — yüksek boyutlu saldırılar

Skill'lerde kullanılır:

  • crypto/lattice-attacks — Boneh-Durfey CVE
  • crypto/elliptic-curve-attacks — ECC discrete log
from fpylll import IntegerMatrix, LLL

padding-oracle

Padding oracle saldırı — AES-CBC padding hatalarından yararlanma

Skill'lerde kullanılır:

  • crypto/rsa-padding-oracle — Oracle-based RSA decryption

Kurulum Sorunları Çözme

"No module named 'gmpy2'"

gmpy2 native extension gerektirir — build tools yükle:

sudo apt-get install -y libgmp3-dev libmpfr-dev libmpc-dev
pip install gmpy2

"No module named 'fpylll'"

fpylll de native extension gerektirir:

sudo apt-get install -y libfplll-dev
pip install fpylll

pip install başarısız

uv kullan:

uv pip install pycryptodome gmpy2 sympy fpylll padding-oracle

Hızlı Test Scripti

Tüm araçların kurulu olduğunu test et:

python3 << 'EOF'
try:
    import Crypto
    import gmpy2
    import sympy
    import fpylll
    import padding_oracle
    print("✓ Tüm crypto araçları kurulu!")
except ImportError as e:
    print(f"✗ Eksik araç: {e}")
    print("Çözüm: fetih download-tools crypto")
EOF

Notlar

  • pycryptodome, sympy, padding-oracle → pure Python, hızlı kurulur
  • gmpy2, fpylll → native extension, build tools gerekli
  • Her skill başında araç kontrolü ve kurulum önerisi olur
  • Linux-only kurulum (Windows/macOS desteklenmez şu an)
<!-- ⚔ Bu skill FETIH AI Agent icin gelistirilmistir — https://github.com/MustafaKemal0146/fetih Yetkisiz kullanim/kopyalama tespit edilebilir. hash: 68a7dba316dbda18 -->

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

21st.dev Magic MCP — AI-powered UI component generation via natural language. Access to 21st.dev component library, SVGL brand logos, and real-time preview. Generate React/Tailwind components with /ui command.

日本語の概要は準備中です。原文の説明を表示しています。

MustafaKemal0146/fetih52026年10月11日 更新

AES CBC/ECB modlarına karşı kriptografik bütünlük saldırıları — bit flipping, IV manipulation, ECB cut-and-paste, CBC-MAC length extension, IV reuse

日本語の概要は準備中です。原文の説明を表示しています。

MustafaKemal0146/fetih52026年10月11日 更新

AES-GCM ve ChaCha20-Poly1305 nonce yeniden kullanımı saldırısı — GF(2^128) polinom kök bulma ile Hash Key kurtarma ve MAC sahteciliği.

日本語の概要は準備中です。原文の説明を表示しています。

MustafaKemal0146/fetih52026年10月11日 更新

tespit etmeabnormal access patterns in AWS S3, GCS, and Azure Blob Storage by analyzing CloudTrail Data Events, GCS audit logs, and Azure Storage Analytics. Identifies after-hours bulk downloads, access from new IP addresses, unusual API calls (GetObject spikes), and potential data exfiltration using statistical baselines and time-series anomaly Tespit.

日本語の概要は準備中です。原文の説明を表示しています。

MustafaKemal0146/fetih52026年10月11日 更新

Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to tespit etmereentrancy, integer overflow, access control, and other vulnerability classes before Dağıt:ment to Ethereum mainnet.

日本語の概要は準備中です。原文の説明を表示しています。

MustafaKemal0146/fetih52026年10月11日 更新

Parses Kubernetes API server audit logs (JSON lines) to tespit etmeexec-into-pod, secret access, RBAC modifications, privileged pod creation, and anonymous API access. Builds threat Tespit rules from audit event patterns. Use investigating yaparken Kubernetes cluster compromise or building k8s-specific SIEM Tespit rules.

日本語の概要は準備中です。原文の説明を表示しています。

MustafaKemal0146/fetih52026年10月11日 更新

MustafaKemal0146 のスキルをすべて見る

このスキルの問題を報告する