/configuring-tls-1-3-for-secure-communications
Configures TLS 1.3 (RFC 8446) on servers, covering cipher suite and
$ npx -y skills add mukul975/Anthropic-Cybersecurity-Skills --skill configuring-tls-1-3-for-secure-communications --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/configuring-tls-1-3-for-secure-communications
Context preview
The summary Claude sees to decide when to auto-load this skill.
Configures TLS 1.3 (RFC 8446) on servers, covering cipher suite and
SKILL.md
configuring-tls-1-3-for-secure-communications.SKILL.mdname: configuring-tls-1-3-for-secure-communications
description: Configures TLS 1.3 (RFC 8446) on servers, covering cipher suite and
key-exchange group selection, and validates the resulting configuration with openssl
s_client and testssl.sh. Use when deploying or hardening TLS 1.3 for secure communications,
or when testing a server for common TLS misconfigurations and vulnerabilities.
domain: cybersecurity
subdomain: cryptography
tags:
- cryptography
- tls
- ssl
- transport-security
- network-security
version: '1.0'
author: mahipal
license: Apache-2.0
nist_csf:
- PR.DS-01
- PR.DS-02
- PR.DS-10
mitre_attack:
- T1557
- T1040
- T1573.002
- T1539
- T1556.004
Configuring TLS 1.3 for Secure Communications
Overview
TLS 1.3 (RFC 8446) is the latest version of the Transport Layer Security protocol, providing significant improvements over TLS 1.2 in both security and performance. It reduces handshake latency to 1-RTT (and 0-RTT for resumed sessions), removes obsolete cipher suites, and mandates perfect forward secrecy. This skill covers configuring TLS 1.3 on servers, validating configurations, and testing for common misconfigurations.
When to Use
- When deploying or configuring configuring tls 1 3 for secure communications capabilities in your environment
- When establishing security controls aligned to compliance requirements
- When building or improving security architecture for this domain
- When conducting security assessments that require this implementation
Prerequisites
- Familiarity with cryptography concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
Objectives
- Configure TLS 1.3 on nginx and Apache web servers
- Implement TLS 1.3 in Python applications using the ssl module
- Validate TLS configurations with openssl and testssl.sh
- Understand TLS 1.3 cipher suites and key exchange mechanisms
- Configure 0-RTT early data with appropriate protections
- Disable legacy TLS versions (1.0, 1.1) and weak cipher suites
Key Concepts
TLS 1.3 Cipher Suites
| Cipher Suite | Key Exchange | Authentication | Encryption | Hash | |-------------|-------------|----------------|------------|------| | TLS_AES_256_GCM_SHA384 | ECDHE/DHE | Certificate | AES-256-GCM | SHA-384 | | TLS_AES_128_GCM_SHA256 | ECDHE/DHE | Certificate | AES-128-GCM | SHA-256 | | TLS_CHACHA20_POLY1305_SHA256 | ECDHE/DHE | Certificate | ChaCha20-Poly1305 | SHA-256 |
TLS 1.3 vs 1.2 Improvements
- **1-RTT Handshake**: Full handshake completes in one round trip (vs 2 in TLS 1.2)
- **0-RTT Resumption**: Resumed connections can send data immediately
- **No RSA Key Exchange**: Only ephemeral Diffie-Hellman (mandatory PFS)
- **Simplified Cipher Suites**: Removed CBC, RC4, 3DES, static RSA, SHA-1
- **Encrypted Handshake**: Server certificate is encrypted after ServerHello
Key Exchange Groups
- **x25519**: Curve25519 ECDH (preferred, fast)
- **secp256r1**: NIST P-256 ECDH (widely supported)
- **secp384r1**: NIST P-384 ECDH (higher security margin)
- **x448**: Curve448 ECDH (highest security)
Workflow
1. Verify OpenSSL version supports TLS 1.3 (1.1.1+) 2. Generate or obtain TLS certificate and private key 3. Configure server to use TLS 1.3 cipher suites 4. Disable TLS 1.0 and 1.1 (optionally keep 1.2 for compatibility) 5. Set preferred key exchange groups 6. Enable OCSP stapling for certificate validation 7. Test configuration with openssl s_client and testssl.sh 8. Configure HSTS header for HTTP Strict Transport Security
Security Considerations
- 0-RTT data is vulnerable to replay attacks; limit to idempotent requests
- Always include TLS 1.2 fallback if legacy client support is required
- Use ECDSA certificates for better performance (vs RSA)
- Enable OCSP stapling to improve client certificate validation
- Set HSTS header with long max-age and includeSubDomains
- Monitor for certificate transparency logs
Validation Criteria
- [ ] TLS 1.3 handshake completes successfully
- [ ] Only approved cipher suites are offered
- [ ] Perfect forward secrecy is enforced
- [ ] TLS 1.0 and 1.1 are rejected
- [ ] OCSP stapling is functional
- [ ] Certificate chain is valid and complete
- [ ] testssl.sh reports no vulnerabilities
Read more
name: configuring-tls-1-3-for-secure-communications description: Configures TLS 1.3 (RFC 8446) on servers, covering cipher suite and key-exchange group selection, and validates the resulting configuration with openssl s_client and testssl.sh. Use when deploying or hardening TLS 1.3 for secure communications, or when testing a server for common TLS misconfigurations and vulnerabilities. domain: cybersecurity subdomain: cryptography tags: - cryptography - tls - ssl - transport-security - network-security version: '1.0' author: mahipal license: Apache-2.0 nist_csf: - PR.DS-01 - PR.DS-02 - PR.DS-10 mitre_attack: - T1557 - T1040 - T1573.002 - T1539 - T1556.004
Configuring TLS 1.3 for Secure Communications
Overview
TLS 1.3 (RFC 8446) is the latest version of the Transport Layer Security protocol, providing significant improvements over TLS 1.2 in both security and performance. It reduces handshake latency to 1-RTT (and 0-RTT for resumed sessions), removes obsolete cipher suites, and mandates perfect forward secrecy. This skill covers configuring TLS 1.3 on servers, validating configurations, and testing for common misconfigurations.
When to Use
- When deploying or configuring configuring tls 1 3 for secure communications capabilities in your environment
- When establishing security controls aligned to compliance requirements
- When building or improving security architecture for this domain
- When conducting security assessments that require this implementation
Prerequisites
- Familiarity with cryptography concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
Objectives
- Configure TLS 1.3 on nginx and Apache web servers
- Implement TLS 1.3 in Python applications using the ssl module
- Validate TLS configurations with openssl and testssl.sh
- Understand TLS 1.3 cipher suites and key exchange mechanisms
- Configure 0-RTT early data with appropriate protections
- Disable legacy TLS versions (1.0, 1.1) and weak cipher suites
Key Concepts
TLS 1.3 Cipher Suites
| Cipher Suite | Key Exchange | Authentication | Encryption | Hash | |-------------|-------------|----------------|------------|------| | TLS_AES_256_GCM_SHA384 | ECDHE/DHE | Certificate | AES-256-GCM | SHA-384 | | TLS_AES_128_GCM_SHA256 | ECDHE/DHE | Certificate | AES-128-GCM | SHA-256 | | TLS_CHACHA20_POLY1305_SHA256 | ECDHE/DHE | Certificate | ChaCha20-Poly1305 | SHA-256 |
TLS 1.3 vs 1.2 Improvements
- **1-RTT Handshake**: Full handshake completes in one round trip (vs 2 in TLS 1.2)
- **0-RTT Resumption**: Resumed connections can send data immediately
- **No RSA Key Exchange**: Only ephemeral Diffie-Hellman (mandatory PFS)
- **Simplified Cipher Suites**: Removed CBC, RC4, 3DES, static RSA, SHA-1
- **Encrypted Handshake**: Server certificate is encrypted after ServerHello
Key Exchange Groups
- **x25519**: Curve25519 ECDH (preferred, fast)
- **secp256r1**: NIST P-256 ECDH (widely supported)
- **secp384r1**: NIST P-384 ECDH (higher security margin)
- **x448**: Curve448 ECDH (highest security)
Workflow
1. Verify OpenSSL version supports TLS 1.3 (1.1.1+) 2. Generate or obtain TLS certificate and private key 3. Configure server to use TLS 1.3 cipher suites 4. Disable TLS 1.0 and 1.1 (optionally keep 1.2 for compatibility) 5. Set preferred key exchange groups 6. Enable OCSP stapling for certificate validation 7. Test configuration with openssl s_client and testssl.sh 8. Configure HSTS header for HTTP Strict Transport Security
Security Considerations
- 0-RTT data is vulnerable to replay attacks; limit to idempotent requests
- Always include TLS 1.2 fallback if legacy client support is required
- Use ECDSA certificates for better performance (vs RSA)
- Enable OCSP stapling to improve client certificate validation
- Set HSTS header with long max-age and includeSubDomains
- Monitor for certificate transparency logs
Validation Criteria
- [ ] TLS 1.3 handshake completes successfully
- [ ] Only approved cipher suites are offered
- [ ] Perfect forward secrecy is enforced
- [ ] TLS 1.0 and 1.1 are rejected
- [ ] OCSP stapling is functional
- [ ] Certificate chain is valid and complete
- [ ] testssl.sh reports no vulnerabilities
817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
Repo: mukul975/Anthropic-Cybersecurity-Skills
Other skills on cybersecurity-skills.
- /abusing-dpapi-for-credential-access
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys) online or offline using SharpDPAPI, SharpChrome, Mimikatz, or Impacket's dpapi.py, including domain-wide decryption via the DPAPI backup key. Use
Open skill - /abusing-shadow-credentials-for-privesc
Take over Active Directory accounts by writing attacker-controlled public keys to msDS-KeyCredentialLink (Shadow Credentials) with pyWhisker, Whisker, or Certipy, then authenticate via PKINIT to recover the target's NT hash without a password reset. Use when BloodHound shows
Open skill - /achieving-cmmc-level-2-compliance
Prepare a defense-contractor environment for CMMC Level 2 certification: scope CUI and FCI, implement the 110 NIST SP 800-171 Rev 2 security requirements across 14 families, compute the SPRS score with the DoD Assessment Methodology, manage a compliant POA&M, and ready the
Open skill - /acquiring-disk-image-with-dd-and-dcfldd
Create forensically sound bit-for-bit disk images with dd or dcfldd on a Linux forensic workstation, preserving evidence integrity through hash verification (MD5/SHA) during acquisition. Use when imaging a suspect drive, USB device, or memory card for investigation, preserving
Open skill - /analyzing-active-directory-acl-abuse
Detect dangerous ACL misconfigurations in Active Directory using ldap3
Open skill - /analyzing-android-malware-with-apktool
Perform static analysis of Android APK malware using apktool for resource decompilation, jadx for Java source recovery, and androguard for manifest inspection, dangerous permission-combination detection, and identification of obfuscated code, dynamic code loading, and
Open skill

