offensive-tls-attacks
Что он делает
Этот скилл представляет собой методику аудита настроек TLS и SSL сетевых служб и мобильных приложений. Он охватывает старые протоколы, слабые наборы шифров, проверку сертификатов и известные уязвимости TLS. Он нужен специалистам по безопасности, которые с разрешения проверяют шифрование при передаче данных.
Когда использовать
- ✓Когда вы хотите проверить сервер на старые версии SSL или TLS и слабые наборы шифров.
- ✓Когда нужно проверить, правильно ли мобильное приложение проверяет сертификаты.
- ✓Когда вы хотите убедиться, что цепочка сертификатов сервера и проверки имени хоста настроены правильно.
Ссылка на скилл
https://github.com/SnailSploit/Claude-Red/blob/main/Skills/crypto/offensive-tls-attacks/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“У нас есть разрешение на аудит настройки TLS нашего веб-сервера. Проверь старые протоколы и слабые шифры.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл начинает с перечисления поддерживаемых сервером протоколов, наборов шифров и цепочки сертификатов. Затем он проверяет устаревшие версии и известные уязвимости и записывает находки вместе с исправлениями в порядке приоритета.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
TLS/SSL Attacks and Misconfiguration Exploitation
You are performing offensive TLS/SSL analysis against target infrastructure. This skill covers the full attack surface of transport layer security -- from protocol-level cryptographic weaknesses to implementation bugs, certificate validation failures, and deployment misconfigurations. You treat every TLS handshake as an opportunity for enumeration and every certificate chain as a trust boundary to probe.
Quick Workflow
- Enumerate the target's TLS configuration -- supported protocols, cipher suites, certificate chain, extensions.
- Identify deprecated protocols (SSLv2, SSLv3, TLS 1.0, TLS 1.1) and weak cipher suites (export, NULL, RC4, DES, 3DES).
- Check for known protocol vulnerabilities -- POODLE, DROWN, FREAK, BEAST, Heartbleed.
- Test compression oracle exposure -- CRIME at the TLS layer, BREACH at the HTTP layer.
- Validate certificate handling -- chain verification, hostname matching, pinning enforcement, revocation checking.
- Assess TLS 1.3 features -- 0-RTT replay, downgrade sentinel presence, supported groups.
- For mobile targets, bypass certificate pinning and intercept traffic.
- Document findings with protocol evidence and remediation priorities.
TLS Enumeration and Scanning
Begin every TLS engagement with comprehensive enumeration. Use testssl.sh as the primary tool -- it requires no dependencies beyond bash and OpenSSL and produces detailed output covering protocols, ciphers, vulnerabilities, and certificate details.
# Full scan with all checks, output to JSON and HTML
testssl.sh --jsonfile results.json --htmlfile results.html \
--ip one --sneaky --warnings batch \
target.com:443
# Quick protocol and cipher check
testssl.sh --protocols --ciphers target.com:443
# Check only for specific vulnerabilities
testssl.sh --heartbleed --ccs-injection --ticketbleed \
--robot --poodle --beast --crime --breach --drown --freak \
--logjam --sweet32 target.com:443
# Scan multiple targets from a file
testssl.sh --file targets.txt --parallel 10 --jsonfile bulk_results.json
Use sslyze for Python-integrated scanning and CI/CD pipeline integration:
# Standard scan with all plugins
sslyze --regular target.com
# JSON output for programmatic processing
sslyze --json_out results.json target.com
# Check specific vulnerability classes
sslyze --heartbleed --openssl_ccs --robot target.com
# Scan with client certificate authentication
sslyze --cert /path/to/client.pem --key /path/to/client.key target.com
Use sslscan for rapid cipher enumeration and tlsx for high-speed probing at scale:
# sslscan quick enumeration
sslscan --no-fallback target.com:443
# tlsx high-speed probing across many hosts
cat hosts.txt | tlsx -p 443,8443,9443 -json -o tls_results.json
# tlsx specific checks
cat hosts.txt | tlsx -san -cn -so -json # Extract SANs, CNs, server orgs
cat hosts.txt | tlsx -tls-version tls10 # Find hosts still accepting TLS 1.0
cat hosts.txt | tlsx -expired -self-signed -mismatched # Certificate issues
Protocol Downgrade Attacks
Protocol downgrade attacks force a TLS connection to negotiate a weaker protocol version that has known vulnerabilities. These attacks exploit the backward-compatible fallback mechanisms built into TLS.
POODLE (CVE-2014-3566) exploits the non-deterministic padding in SSLv3 CBC mode. Unlike TLS, SSLv3 does not specify the padding byte values, and the receiver does not verify them -- only the padding length byte matters. This allows an active attacker to decrypt one byte of plaintext per 256 requests on average.
# Check if the target supports SSLv3
testssl.sh --poodle target.com:443
openssl s_client -ssl3 -connect target.com:443
# TLS POODLE variant: check for CBC padding oracle in TLS implementations
testssl.sh --poodle target.com:443
# Look for "POODLE, TLS" in output -- indicates vulnerable TLS implementation
DROWN (CVE-2016-0800) is a cross-protocol attack. If a server (or any server sharing the same RSA key) supports SSLv2, an attacker can decrypt passively captured TLS sessions. The attack adapts Bleichenbacher's RSA padding oracle using SSLv2 export cipher handshakes.
# Check for SSLv2 support (direct DROWN)
testssl.sh --drown target.com:443
# Check with OpenSSL (requires a build with SSLv2 enabled)
openssl s_client -ssl2 -connect target.com:443
# General DROWN also applies when another server shares the same RSA key
# Extra
Частые вопросы
Какой инструмент он использует для сканирования?
Основным инструментом сканирования он использует testssl.sh, который не требует зависимостей.
Охватывает ли он мобильные приложения?
Да. Он охватывает проверку закрепления сертификатов и перехват трафика для мобильных целей.
Это только для авторизованных тестов?
Да. Он написан для оценок с письменным разрешением.
Подробности
Оригинальное описание автора
Comprehensive methodology for auditing and exploiting TLS/SSL implementations and misconfigurations across network services and mobile applications. Covers protocol downgrade attacks including POODLE (CVE-2014-3566) against SSLv3 CBC padding, DROWN (CVE-2016-0800) cross-protocol attack leveraging SSLv2 export ciphers to decrypt TLS sessions, and FREAK (CVE-2015-0204) forcing RSA export-grade key exchange. Addresses BEAST (CVE-2011-3389) exploiting CBC IV predictability in TLS 1.0, CRIME (CVE-2012-4929) and BREACH targeting TLS-level and HTTP-level compression oracles respectively, and Heartble
repo: SnailSploit/Claude-Red
Популярность
- Звёзды на GitHub
- 10k
- Место в рейтинге
- #11954
- Лицензия
- MIT
- Обновлён
- 12.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
offensive-active-directory
10kПомогает агенту спланировать авторизованный тест безопасности Active Directory: от карты сети до поиска путей атаки к Domain Admin.
offensive-netexec
10kПомогает агенту использовать инструмент NetExec (nxc) для авторизованного тестирования сети: протоколы, аутентификация и проверка учетных данных.
offensive-api-abuse
10kПомогает агенту планировать авторизованные тесты безопасности API, которые ищут злоупотребление бизнес-логикой, риски GraphQL и гонки состояний.
offensive-api-security
10kПомогает агенту проводить авторизованные тесты безопасности REST, gRPC и WebSocket API по списку OWASP API Top 10.
Похожие скиллы
reverse-engineer-anything
422kПомогает агенту изучить готовые приложения и пакеты, объяснить их функции, сравнить версии или помочь с пересборкой через REA.
1password
394kПомогает агенту настроить командную строку 1Password, войти в нее и читать или подставлять секреты, не выводя их значения в чат.
healthcheck
394kПомогает агенту проверить компьютер или сервер, на котором работает OpenClaw, на риски безопасности, такие как SSH, файрвол, обновления и резервные копии, а затем предложить безопасные исправления.