offensive-tls-attacks
하는 일
이 스킬은 네트워크 서비스와 모바일 앱의 TLS 및 SSL 설정을 감사하는 방법론입니다. 오래된 프로토콜, 약한 암호 스위트, 인증서 확인, 알려진 TLS 취약점을 다룹니다. 허가를 받고 전송 중 암호화를 검토하는 보안 전문가를 위한 스킬입니다.
사용하는 경우
- ✓서버에 오래된 SSL이나 TLS 버전과 약한 암호 스위트가 있는지 확인하고 싶을 때.
- ✓모바일 앱이 인증서를 올바르게 검증하는지 테스트해야 할 때.
- ✓서버의 인증서 체인과 호스트 이름 확인이 제대로 설정되었는지 확인하고 싶을 때.
스킬 링크
https://github.com/SnailSploit/Claude-Red/blob/main/Skills/crypto/offensive-tls-attacks/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“웹 서버의 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
- 업데이트
- 2026. 10. 12.
댓글
- …
이 저장소의 다른 스킬
offensive-active-directory
10k에이전트가 승인된 Active Directory 보안 테스트를 계획하도록 돕습니다. 네트워크 매핑부터 Domain Admin까지 가는 공격 경로 찾기까지 포함합니다.
offensive-netexec
10k에이전트가 승인된 네트워크 테스트에 NetExec(nxc) 도구를 사용하도록 돕습니다. 프로토콜, 인증, 자격 증명 점검을 다룹니다.
offensive-api-abuse
10k에이전트가 비즈니스 로직 악용, GraphQL 위험, 경쟁 상태를 찾는 승인된 API 보안 테스트를 계획하도록 돕습니다.
offensive-api-security
10k에이전트가 OWASP API Top 10을 기준으로 REST, gRPC, WebSocket API에 대한 승인된 보안 테스트를 실행하도록 돕습니다.