Skip to content
cccskills
FreePublished on GitHub

cryptography

Cryptanalysis techniques — lattice attacks, padding oracles, weak-RNG exploitation, signature forgery, secret-sharing recovery.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595 stars(GitHub 595 + cccskills 0)

Run score Not tested

See how to install

Files included (26)

  • SKILL.md1.8 KB
  • reference/cryptography-principles.md4.9 KB
  • reference/INDEX.md3.7 KB
  • reference/lattice-attacks.md7.2 KB
  • reference/linear-secret-recovery.md3.3 KB
  • reference/scenarios/classical/repeating-key-xor.md2.4 KB
  • reference/scenarios/lattice/agcd-attack.md2.7 KB
  • reference/scenarios/lattice/boneh-durfee-low-d.md2.7 KB
  • reference/scenarios/lattice/coppersmith-known-bits.md3.1 KB
  • reference/scenarios/lattice/lll-basis-reduction.md3.2 KB
  • reference/scenarios/padding-oracle/cbc-padding-oracle.md3.6 KB
  • reference/scenarios/padding-oracle/ecb-prefix-oracle.md3.7 KB
  • reference/scenarios/padding-oracle/pkcs1-v1.5-bleichenbacher.md3.3 KB
  • reference/scenarios/rsa-quirks/common-modulus.md2.4 KB
  • reference/scenarios/rsa-quirks/fermat-close-primes.md2.4 KB
  • reference/scenarios/rsa-quirks/low-public-exponent.md3.0 KB
  • reference/scenarios/rsa-quirks/small-prime-factorization.md3.5 KB
  • reference/scenarios/rsa-quirks/wiener-attack.md2.7 KB
  • reference/scenarios/secret-sharing/shamir-non-prime-modulus.md5.0 KB
  • reference/scenarios/signature-forgery/ecdsa-nonce-reuse.md3.1 KB
  • reference/scenarios/signature-forgery/gcd-transcript-operand-recovery.md9.8 KB
  • reference/scenarios/signature-forgery/jwt-alg-confusion.md4.5 KB
  • reference/scenarios/signature-forgery/rsa-pkcs1-v1.5-bleichenbacher.md3.5 KB
  • reference/scenarios/weak-rng/dual-ec-backdoor.md3.3 KB
  • reference/scenarios/weak-rng/lcg-state-recovery.md3.5 KB
  • reference/scenarios/weak-rng/mt19937-state-recovery.md3.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Cryptography

Scope

Practical cryptanalysis for CTF and pentest engagements: identifying when a cryptographic primitive's structure (custom hash, partial leaks, related primes, bad RNG, weak modes) admits a faster-than-brute-force solver, then implementing that solver in pure Python where possible. Covers RSA-style algebraic factoring, lattice/AGCD recovery, GF(2) linear collapse of "complicated-looking" custom ciphers, smooth-order DLP, differential fault attacks, and Shamir-style secret-sharing recovery over non-prime moduli. Always read source first to detect linearity/algebraic structure before reaching for SageMath or symbolic solvers.

When to use

  • A challenge or target ships custom crypto (custom hash, custom block cipher, hand-rolled key derivation) and you need to look for affine / GF(2)-linear collapse.
  • RSA-style primitives with structured primes (p = a·r + b, phi(n) perfect square, multi-prime hint files, common factors).
  • A service exposes a chosen-ciphertext / chosen-input oracle and you suspect padding-oracle, smooth-order DLP, or Bleichenbacher-style recovery.
  • AES with fault injection (correct + faulty ciphertext for the same key — Piret-Quisquater DFA).
  • Shamir secret sharing or threshold schemes with non-prime moduli (2-adic recovery via Lagrange interpolation with valuation tracking).

References

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Offensive AI security testing and exploitation framework. Systematically tests LLM applications for OWASP Top 10 vulnerabilities including prompt injection, model extraction, data poisoning, and supply chain attacks. Integrates with pentest workflows to discover and exploit AI-specific threats.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

API security testing - GraphQL, REST API, WebSocket, and Web-LLM attack techniques.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

Stitches confirmed single-asset findings into multi-hop attack paths across the organization. Builds a graph where nodes are assets and edges are confirmed exploit hops citing the findings that enable them.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

Acquire an authenticated session THROUGH MFA/OTP on an in-scope target and emit a reusable session artifact (Playwright storageState + Bearer) so executors can test the post-auth attack surface. Use when the highest-value authenticated classes (BOLA/IDOR/mass-assignment/injection on the real data APIs) are blocked because login is gated by SMS-OTP or TOTP MFA. Distinct from the authentication skill (which ATTACKS auth); this one legitimately authenticates and hands the session to the rest of the engagement.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

Authentication security testing - auth bypass, JWT attacks, OAuth flaws, password attacks, 2FA bypass, CAPTCHA bypass, and bot detection evasion.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

Smart contract security testing and blockchain CTF exploitation. Covers Solidity vulnerability analysis, EVM storage manipulation, delegatecall attacks, CREATE/CREATE2 address prediction, and common DeFi exploit patterns. Use when analyzing Solidity contracts, solving blockchain challenges, or testing smart contract security.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

See all skills by transilienceai

Report a problem with this skill