Chuyển đến nội dung
Skillpedia
Tài liệu kỹ thuật35k · #8312

performing-ssl-tls-inspection-configuration

Skill này làm gì

Skill này giúp cấu hình việc kiểm tra lưu lượng mã hóa (như HTTPS) trên thiết bị bảo mật mạng. Nó cho phép mạng nhìn thấy nội dung của lưu lượng này để phát hiện mối đe dọa, đóng vai trò như một bên trung gian đáng tin cậy.

Khi nào nên dùng

  • ✓Khi thiết lập bảo mật mạng để giám sát lưu lượng mã hóa.
  • ✓Khi kiểm toán cấu hình bảo mật để đảm bảo lưu lượng độc hại được phát hiện.
  • ✓Khi phản ứng với sự cố bảo mật có thể liên quan đến lưu lượng ẩn.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ssl-tls-inspection-configuration/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ssl-tls-inspection-configuration/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Cấu hình kiểm tra SSL/TLS trên tường lửa của tôi để tôi có thể xem lưu lượng HTTPS.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill cấu hình các thiết bị mạng để chặn và giải mã lưu lượng mã hóa. Điều này bao gồm tạo chứng chỉ đáng tin cậy và thiết lập các quy tắc để kiểm tra nội dung trước khi mã hóa lại.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Performing SSL/TLS Inspection Configuration

Overview

SSL/TLS inspection (also called SSL decryption, HTTPS inspection, or TLS break-and-inspect) intercepts encrypted traffic between clients and servers to inspect the cleartext content for malware, data exfiltration, policy violations, and command-and-control communications. The inspection device acts as a trusted man-in-the-middle, terminating the TLS session from the client, inspecting the plaintext content, and establishing a new TLS session to the destination server. With over 95% of web traffic now encrypted, organizations without TLS inspection have a massive blind spot. This skill covers configuring TLS inspection on next-generation firewalls, deploying trusted CA certificates, managing exemptions for certificate-pinned applications, and ensuring compliance with privacy regulations.

When to Use

  • When conducting security assessments that involve performing ssl tls inspection configuration
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Next-generation firewall or secure web gateway with TLS inspection capability
  • Internal Certificate Authority (CA) for signing inspection certificates
  • Endpoint certificate management (GPO, MDM, or manual deployment)
  • Privacy and legal review for TLS inspection scope
  • Understanding of PKI, X.509 certificates, and TLS handshake

Core Concepts

SSL/TLS Inspection Modes

Mode Direction Description
SSL Forward Proxy Outbound Intercepts client-to-internet HTTPS connections
SSL Inbound Inspection Inbound Decrypts traffic destined for internal servers
SSH Proxy Both Inspects SSH tunneled traffic

Forward Proxy Process

Client                  Firewall/Proxy              Web Server
  │                         │                          │
  │──TLS ClientHello──────→│                          │
  │                         │──TLS ClientHello───────→│
  │                         │←─TLS ServerHello────────│
  │                         │  (real server cert)      │
  │                         │                          │
  │                         │  [Validates server cert]  │
  │                         │  [Generates proxy cert   │
  │                         │   signed by internal CA]  │
  │                         │                          │
  │←─TLS ServerHello───────│                          │
  │  (proxy-signed cert)    │                          │
  │                         │                          │
  │──Encrypted data────────→│  [Decrypt, Inspect]      │
  │                         │──Encrypted data────────→│
  │←─Encrypted data─────────│  [Decrypt, Inspect]      │
  │                         │←─Encrypted data─────────│

Certificate Trust Chain

Enterprise Root CA
  └── Subordinate CA (SSL Inspection)
        └── Dynamically Generated Server Certificates
             (CN matches requested server)

Workflow

Step 1: Generate Internal CA for SSL Inspection

# Create private key for SSL Inspection CA
openssl genrsa -aes256 -out ssl-inspect-ca.key 4096

# Create CA certificate (5 year validity)
openssl req -new -x509 -key ssl-inspect-ca.key \
  -sha256 -days 1825 \
  -out ssl-inspect-ca.crt \
  -subj "/C=US/ST=California/O=Corp Inc/OU=Network Security/CN=Corp SSL Inspection CA" \
  -extensions v3_ca \
  -config <(cat <<EOF
[req]
distinguished_name = req_dn
x509_extensions = v3_ca

[req_dn]

[v3_ca]
basicConstraints = critical,CA:TRUE,pathlen:0
keyUsage = critical,digitalSignature,keyCertSign,cRLSign
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid:always
EOF
)

# Verify certificate
openssl x509 -in ssl-inspect-ca.crt -text -noout

Step 2: Deploy CA Certificate to Endpoints

Windows (Group Policy):

# Import CA cert to trusted root store via GPO
# Computer Configuration > Policies > Windows Settings >
# Security Settings > Public Key Policies > Trusted Root CAs

# Or deploy via PowerShell
Import-Certificate -FilePath "\\server\share\ssl-inspect-ca.crt" `
  -CertStoreLocation "Cert:\LocalMachine\Root"

# Verify deployment
Get-ChildItem Cert:\LocalMachine\Root | Where-Object {
    $_.Subject -like "*SSL Inspection CA*"
}

macOS (MDM profile or manual):


…
Câu hỏi thường gặp

Kiểm tra SSL/TLS là gì?

Đây là quá trình thiết bị bảo mật chặn lưu lượng mã hóa (như HTTPS), giải mã để kiểm tra nội dung có mối đe dọa không, rồi mã hóa lại trước khi gửi đến đích.

Vì sao kiểm tra SSL/TLS quan trọng?

Phần lớn lưu lượng internet được mã hóa. Nếu không kiểm tra, các mối đe dọa ẩn trong lưu lượng mã hóa có thể không bị hệ thống bảo mật phát hiện.

Điều kiện cần để thiết lập kiểm tra SSL/TLS là gì?

Bạn cần tường lửa hoặc cổng bảo mật có khả năng kiểm tra SSL/TLS, một certificate authority nội bộ để tạo chứng chỉ kiểm tra, và khả năng triển khai các chứng chỉ này lên thiết bị người dùng.

Chi tiết

Mô tả gốc của tác giả

Configure SSL/TLS break-and-inspect on next-generation firewalls and forward proxies to decrypt, inspect, and re-encrypt HTTPS traffic for malware and exfiltration detection, including deploying trusted CA certificates, managing exemptions for certificate-pinned apps, and privacy compliance. Use when setting up or auditing TLS inspection on network security devices to close the encrypted-traffic b

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8312
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự