rev-skills: Skill for Claude Code

.claude/skills/re-tls/SKILL.md

re-tls is a skill for Claude Code from dslsdzc/rev-skills. It costs 50 tokens per session (3,952 once invoked), scanned A, original, Apache-2.0.

A workflow for analysing TLS-encrypted network traffic, including connection fingerprints, certificates, and recovered session keys. TLS is the encryption used by HTTPS and many other network protocols.

In plain words
What is it for?
Use it to decrypt supported TLS captures, inspect ClientHello fingerprints and certificate chains, and investigate encrypted command-and-control or application traffic.
Why use it?
Encrypted captures normally hide the messages inside them. With suitable key material or an interception setup, this workflow can reveal the contents and can also identify unusual TLS patterns when decryption is unavailable.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is dslsdzc/rev-skills's own configuration. It tells Claude Code how to work on rev-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rev-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dslsdzc/rev-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dslsdzc/rev-skills/main/.claude/skills/re-tls/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dslsdzc/rev-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for re-tls

README.md
[![agentmods](https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-tls/github.svg)](https://agentmods.dev/skills/dslsdzc/rev-skills/re-tls)
Your own site
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-tls"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-tls/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for re-tls

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-tls"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-tls.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,952 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.03952
Opus 5 $0.00025 $0.01976
Sonnet 5 $0.00010 $0.00790
Haiku 4.5 $0.00005 $0.00395

Measured today against content hash 4768b968ede3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

re-tls scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- 特征清单: ① 指纹聚类——JA3/JA4 新簇或命中已知恶意库(curl/python requests 原生栈也是常见信号)② 异常证书——自签名/短有效期/SNI 与 IP 不匹配/证书 CN 是 IP ③ 信标节奏——固定间隔短连接(与 [[re-behavior]] 时间线对齐)④ SNI 异常——随机子域名/高熵 SNI/无 SNI(硬编码 IP 直连,[[re-netcap]] DoH 坑同源)⑤ 混合协议——443
.claude/skills/re-tls/SKILL.md · 137 lines

How it starts

The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TLS/加密流量深度分析

何时使用 / 何时不用

  • 用:TLS/HTTPS 流量要"解密看明文"(有 keylog 或中间人)——C2 通信、固件回连、加密应用协议
  • 用:只有密文 pcap 也要做深度——ClientHello/证书指纹聚类、异常 TLS 特征判定
  • 用:证书链验证/证书内容分析(openssl x509)
  • 不用:只抓包不深入(那是 [[re-netcap]])
  • 不用:流量已解密、无 TLS 层(直接 [[re-proto-rev]] 重建状态机)
  • 不用:非标准 TLS 的自定义加密(走 [[re-crypto-id]] → [[re-crypto-keys]] → [[re-crypto-decrypt]])
  • 注意:本技能处理流量与密钥文件,不运行样本,默认可免沙箱;抓包环节按 [[re-netcap]] 在隔离环境进行([[re-analyze/platform-tips]] 最高原则)

工具准备

所有工具先验证再使用。

tshark / wireshark —— 解析、指纹、解密主力(安装见 [[re-netcap]])

  • Linux: apt install wireshark tshark / dnf install wireshark-cli wireshark / pacman -S wireshark-cli wireshark-qt
  • macOS: brew install --cask wireshark(含 tshark CLI);Windows: choco install wireshark
  • 验证: tshark --versiontshark -r out.pcap -Y 'tls.handshake.type == 1' | head -1 能解析 ClientHello
  • JA3 字段(Wireshark 3.6+ 内置)与 JA4 字段(Wireshark 4.2+ 原生,仅客户端): 验证 tshark -r out.pcap -T fields -e tls.handshake.ja4 | head -1 有输出;本机字段存在性以 tshark -G fields | grep -iE 'ja3|ja4' 为准

openssl —— 证书解析与 TLS 交互(跨 OS)

  • Linux: apt install openssl / dnf install openssl / pacman -S openssl(多数预装)
  • macOS: brew install openssl(keg-only,PATH 加 /opt/homebrew/opt/openssl@3/bin(Apple Silicon)或 /usr/local/opt/openssl@3/bin(Intel))
  • Windows: choco install openssl.light(PATH 需手动加,见包说明)或 Git for Windows 自带 openssl.exe
  • 验证: openssl version

python3 —— 指纹聚类/批量分析脚本(可选)

  • 安装与验证见 [[re-proto-rev]] 工具准备(python3)

SSLKEYLOG 环境 —— Chrome/Firefox 密钥导出(非独立工具)

  • Chrome: 启动前设置环境变量 SSLKEYLOGFILE=/tmp/keys.log(Linux/macOS)或 set SSLKEYLOGFILE=C:\keys.log(Windows)
  • Firefox: 同样环境变量(设置后需重启浏览器)
  • Wireshark: 编辑 → 首选项 → Protocols → TLS → (Pre)-Master-Secret log filename 指向该文件;tshark 侧用 -o tls.keylog_file:...
  • 验证: 设置后访问 HTTPS 站点,keys.log 出现 CLIENT_HANDSHAKE_TRAFFIC_SECRET 等行(TLS 1.3)或 CLIENT_RANDOM 行(TLS 1.2)

mitmproxy —— 中间人解密(可选,安装见 [[re-netcap]])

  • 场景: 无 keylog 权限的第三方程序(自实现 TLS 栈、证书固定见坑 4)
  • 验证: mitmdump --version

操作步骤

按顺序执行,每步产物(指纹表/证书/解密流量)存档 sha256 + 路径([[re-ioc]] 证据链要求)。

Read the full file on GitHub · 137 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed 4768b968ede3
  2. 9d ago First seen · 137 lines · 50 tokens per session scan A c1d6c14e14f0

Subscribe to this mod's changes

re-tls is a skill published in the GitHub repository dslsdzc/rev-skills (54 stars, last pushed today), licensed Apache-2.0. It adds 50 tokens to every session and 3,952 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

Youngmaidainon/Agent-Level-Up · 95 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

mukul975/Anthropic-Cybersecurity-Skills · 95 tokens

Reverse Engineering & Binary Analysis

Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering.

Masriyan/Claude-Code-CyberSecurity-Skill · 26 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware using Ghidra with specialized scripts for function recovery, string extraction, and type reconstruction in stripped Go binaries.

plurigrid/asi · 40 tokens

reverse-engineering-arm-binaries

Reverse engineers ARM/AArch64 malware by identifying the architecture and instruction set state (ARM/Thumb), parsing ELF/Mach-O ARM headers, and orienting analysis around the ARM calling convention. Activates for requests to reverse ARM binaries, analyze AArch64 malware, or handle ARM/Thumb instruction-set decoding.

meltedinhex/analyst-ai-pack · 69 tokens

reverse-engineering-binaries-with-ghidra

Uses Ghidra to disassemble and decompile a binary, navigate to key routines via imports and strings, annotate decompiled code, and run headless scripts to automate extraction of C2, crypto, and config. Activates for requests to reverse engineer with Ghidra, decompile a binary, or script Ghidra headless analysis.

meltedinhex/analyst-ai-pack · 80 tokens