Receber por email
← Voltar para o catálogo

Claude-Red

claude-red é uma biblioteca selecionada de habilidades de segurança ofensiva projetada para o sistema de skills do Claude. Cada skill é um arquivo SKILL.md estruturado que prepara o Claude com metodologia de nível especialista para uma superfície de ataque específica — de SQLi a shellcode, evasão de EDR a desenvolvimento de exploits.

2.4kestrelas
Atualizado há 5 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add SnailSploit/Claude-Red

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/claude-red-mpshm36t/svg)](https://www.skillteca.com.br/skills/claude-red-mpshm36t)

Skills relacionadas

Ver todas de Dados e Análise →

Alerta por categoria

Receba novas skills de Dados e Análise toda segunda

1 email curto, só com as skills novas de Dados e Análise. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

SKILL: Server-Side Request Forgery (SSRF)

Metadata

  • Skill Name: ssrf
  • Folder: offensive-ssrf
  • Source: https://github.com/SnailSploit/offensive-checklist/blob/main/ssrf.md

Description

Server-Side Request Forgery testing checklist: SSRF discovery, blind SSRF with out-of-band, cloud metadata endpoints (AWS/GCP/Azure), SSRF filter bypass techniques (IP encoding, DNS rebinding, redirect chains), and SSRF to RCE escalation. Use for web app SSRF testing and bug bounty.

Trigger Phrases

Use this skill when the conversation involves any of: SSRF, server-side request forgery, blind SSRF, cloud metadata, AWS metadata, GCP metadata, SSRF bypass, DNS rebinding, redirect chain, SSRF RCE, internal port scan

Instructions for Claude

When this skill is active:

  1. Load and apply the full methodology below as your operational checklist
  2. Follow steps in order unless the user specifies otherwise
  3. For each technique, consider applicability to the current target/context
  4. Track which checklist items have been completed
  5. Suggest next steps based on findings

Full Methodology

Server-Side Request Forgery (SSRF)

Shortcut

  • Spot the features prone to SSRF and take notes for future reference.
  • Set up a callback listener to detect blind SSRF by using an online service, Netcat, or Burp's Collaborator feature.
  • Provide the potentially vulnerable endpoints with common internal addresses or the address of your callback listener.
  • Check if the server responds with information that confirms the SSRF. Or, in the case of a blind SSRF, check your server logs for requests from the target server.
  • In the case of a blind SSRF, check if the server behavior differs when you request different hosts or ports.
  • If SSRF protection is implemented, try to bypass it by using the strategies discussed in this chapter.
  • Pick a tactic to escalate the SSRF.
flowchart LR
    A[Identify SSRF Vectors] --> B[Setup Callback Listener]
    B --> C[Test Internal Addresses]
    C --> D{Response Contains\nInternal Data?}
    D -->|Yes| E[Basic SSRF Confirmed]
    D -->|No| F[Check Callback\nListener Logs]
    F --> G{Callbacks\nReceived?}
    G -->|Yes| H[Blind SSRF Confirmed]
    G -->|No| I[Try Bypass Techniques]
    I --> J[Retest with Bypasses]
    E --> K[Escalate SSRF]
    H --> K
    J --> D

Mechanisms

Server-Side Request Forgery (SSRF) is a vulnerability that allows attackers to induce a server-side application to make requests to an unintended location. In a successful SSRF attack, the attacker can force the server to connect to:

  • Internal services within the organization's infrastructure
  • External systems on the internet
  • Services on the same server (localhost)
  • Cloud service provider metadata endpoints
graph TD
    A[Attacker] -->|Sends crafted request| B[Vulnerable Web App]
    B -->|Makes request to| C[Unintended Target]
    C -->|Responds with data| B
    B -->|Includes response data| A

    subgraph "Possible Targets"
        C
        D[Internal Network Services]
        E[Cloud Metadata Service]
        F[External Web Services]
        G[Local Services on Same Server]
    end

    C --- D
    C --- E
    C --- F
    C --- G

Types of SSRF include:

  • Basic SSRF: Direct requests to internal/external resources
  • Blind SSRF: No response returned, but requests still occur
  • Semi-blind SSRF: Limited information returned in responses
  • Time-based SSRF: Detection through response timing differences
  • Out-of-band SSRF: Secondary channel used for data exfiltration

Hunt

Identifying SSRF Vectors

  • URL Input Fields:
  • Website preview generators
  • Document/image imports from URLs
  • API integrations with external services
  • Webhook configurations
  • Export to PDF/screenshot functionality
  • Proxy Functionality:
  • Web proxies
  • Content fetchers
  • API gateways
  • Translation services
  • File Processing:
  • Media conversion tools
  • Document processors
  • XML/JSON processors with external entity support
  • Integration Points:
  • Third-party service connections
  • Cloud storage integrations
  • Monitoring systems
  • Webhook endpoints
mindmap
  root((SSRF Vectors))
    URL Input Fields
      Website Previews
      URL Imports
      API Integrations
      Webhooks
      PDF/Screenshot Export
    Proxy Functionality
      Web Proxies
      Content Fetchers
      API Gateways
      Translation Services
    File Processing
      Media Converters
      Document Processors
      XML/JSON Processors
    Integration Points
      Third-party Services
      Cloud Storage
      Monitoring Systems
      Webhook Endpoints

Test Methodology

  1. Identify Parameters: Find URL or hostname parameters
  2. Setup Listener: Configure a system to detect callbacks
  3. Public server with unique URL
  4. Burp Collaborator
  5. Tools like Interactsh or canarytokens.org
  6. Test Internal Access: Try accessing internal resources

`` http://localhost:port http://127.0.0.1:port http://0.0.0.0:port http://internal-service.local http://169.254.169.254/ (cloud metadata) ``

  1. Observe Responses: Check for:
  2. Response time differences
  3. Error messages
  4. Content leakage
  5. Callbacks to your server
sequenceDiagram
    participant Attacker
    participant WebApp as Vulnerable Web App
    participant Internal as Internal Services
    participant CallbackServer as Attacker's Callback Server

    Note over Attacker,CallbackServer: Phase 1: Basic SSRF Testing

    Attacker->>WebApp: Request with Internal URL<br>(http://localhost:8080)
    WebApp->>Internal: Makes request to internal service
    Internal->>WebApp: Response from internal service
    WebApp->>Attacker: Leaked internal response

    Note over Attacker,CallbackServer: Phase 2: Blind SSRF Testing

    Attacker->>WebApp: Request with Callback URL<br>(http://attacker-server.com/unique-id)
    WebApp->>CallbackServer: Makes request to callback server
    CallbackServer->>Attacker: Log notification of request

    Note over Attacker,CallbackServer: Phase 3: Bypass Testing

    Attacker->>WebApp: Request with Obfuscated URL<br>(http://127.0.0.1.attacker.com)
    WebApp->>CallbackServer: Makes request due to parser confusion
    CallbackServer->>Attacker: Log notification of successful bypass

Bypass Techniques Hunting

  • Look for partial validation or URL parsing issues
  • Test scheme changes (http→https, http→file)
  • Try different IP formats (decimal, octal, hex)
  • Use URL shorteners if allowed
  • Check DNS rebinding possibilities

Bypass Techniques

Allowlist Bypasses

  • Open Redirects: Using allowed domains with redirect parameters

`` https://allowed-domain.com/redirect?url=http://internal-server ``

  • DNS Spoofing: Register expired domains from allowlist
  • Subdomain Takeover: Control subdomains of allowed domains
  • Path Traversal: https://allowed-domain.com@evil.com

Denylist Bypasses

  • Alternate IP Representations:

`` http://127.0.0.1/ http://127.1/ http://0177.0.0.1/ http://0x7f.0.0.1/ http://2130706433/ (decimal representation) ``

  • IPv6 Variations:

`` http://[::1]/ http://[::127.0.0.1]/ http://[0:0:0:0:0:ffff:127.0.0.1]/ ``

  • Domain Resolutions:

`` http://localhost.evil.com/ (when attacker controls evil.com DNS) http://spoofed-domain/ (with modified /etc/hosts) ``

  • URL Encoding Tricks:

`` http://127.0.0.1/ → http://127%2e0%2e0%2e1/ http://localhost/ → http://%6c%6f%63%61%6c%68%6f%73%74/ ``

  • Non-Standard Ports: Accessing standard services on non-standard ports
  • Case Manipulation: http://LoCaLhOsT/
  • URL Schema Confusion: http:////localhost/
flowchart TD
    A[SSRF Protection Bypass] --> B[Allowlist Bypass]
    A --> C[Denylist Bypass]

    B --> B1[Open Redirects]
    B --> B2[DNS Spoofing]
    B --> B3[Subdoma
Compartilhar X LinkedIn