crypto-web-attack

Identify and analyze cryptographic weaknesses in web applications.

1.6k|234|Updated Dec 7, 2019
One-click install
npx skills add https://github.com/wgpsec/AboutSecurity --skill crypto-web-attack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crypto-web-attack
Source: https://github.com/wgpsec/AboutSecurity/tree/main/skills/exploit/crypto-web-attack
Command: npx skills add https://github.com/wgpsec/AboutSecurity --skill crypto-web-attack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Web 应用中的密码学攻击需要理解实现缺陷并在安全研究或评估中复现以改进防护。

Core Features & Use Cases

  • Padding Oracle Attacks: Understand and exploit padding oracle weaknesses in web encryption.
  • CBC Bit-Flip Techniques: Learn how to modify ciphertext to alter plaintext.
  • Hash Length Extension & Session Forgery: Explore and test token signing weaknesses (e.g., Flask session forgery).
  • Use Case: Assess a web application's cryptographic resilience and craft defenses against such flaws.

Quick Start

Analyze a sample cryptographic vulnerability scenario and generate a defense plan.

Frequently Asked Questions about crypto-web-attack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform a padding oracle attack on encrypted web cookies?

A padding oracle attack exploits server-side error responses to decrypt encrypted web cookies byte by byte. You analyze padding validation behaviors to iteratively recover plaintext without knowing the key.

How does CBC bit-flip work to modify plaintext in session tokens?

CBC bit-flip modifies ciphertext bits to alter the corresponding plaintext block in session tokens. By flipping specific bits in the previous ciphertext block, you change the decrypted plaintext to forge desired values.

Can I test hash length extension attacks against Flask session signatures?

Yes, you can test hash length extension attacks against Flask session signatures. This technique appends data to a signed message by exploiting weak MAC constructions to forge valid tokens without the secret key.

What is the best way to assess web application cryptographic resilience?

The best way to assess web application cryptographic resilience is analyzing predictable tokens and encryption flaws using mock targets. This validates vulnerabilities safely while proposing robust defense plans without exposing real secrets.

Why do predictable tokens compromise signature validation in web applications?

Predictable tokens compromise signature validation because attackers can guess or enumerate token values to bypass authentication. Analyzing these cryptographic weaknesses reveals how insufficient randomness allows session forgery and unauthorized access.