hunting-for-cobalt-strike-beacons
它能做什么
这个工具可以帮你找出可能来自恶意程序 Cobalt Strike 的网络流量。它会查看计算机通信中的一些特征,比如数字证书和响应时间,从而识别可疑活动。
适用场景
- ✓怀疑某台电脑可能已感染,并想检查它是否与恶意服务器通信时。
- ✓编写用于提醒可疑网络活动的安全规则时。
- ✓分析网络流量中是否存在攻击迹象时。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-cobalt-strike-beacons/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在网络日志中搜索可疑的 Cobalt Strike 流量。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会检查网络连接的细节,比如使用的数字证书以及通信之间的时间间隔。然后将这些细节与已知恶意程序的特征进行比对,找出可疑活动。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Hunting for Cobalt Strike Beacons
Overview
Cobalt Strike is the most prevalent command-and-control framework used by both red teams and threat actors. Beacon, its primary payload, communicates with team servers using configurable HTTP/HTTPS/DNS profiles that can mimic legitimate traffic. However, default configurations and behavioral patterns remain detectable through TLS certificate analysis (default serial 8BB00EE), JA3/JA3S fingerprinting, beacon interval jitter analysis, and HTTP malleable profile pattern matching. This skill covers building detection capabilities using Zeek network logs, Suricata IDS rules, and Python-based PCAP analysis to identify beacon callbacks in network traffic.
When to Use
- When investigating security incidents that require hunting for cobalt strike beacons
- When building detection rules or threat hunting queries for this domain
- When SOC analysts need structured procedures for this analysis type
- When validating security monitoring coverage for related attack techniques
Prerequisites
- Zeek 6.0+ with JA3 and HASSH packages installed
- Suricata 7.0+ with Emerging Threats ruleset
- Python 3.9+ with scapy and dpkt libraries
- Network traffic captures (PCAP) or live Zeek logs
- RITA (Real Intelligence Threat Analytics) for beacon scoring
- Threat intelligence feeds with known Cobalt Strike IOCs
Steps
Step 1: TLS Certificate Analysis
Detect default Cobalt Strike certificates using JA3S fingerprints, certificate serial numbers, and JARM fingerprints in Zeek ssl.log.
Step 2: Beacon Interval Analysis
Analyze connection timing patterns to identify regular callback intervals with configurable jitter, characteristic of beacon behavior.
Step 3: HTTP Profile Detection
Match HTTP request patterns (URI paths, headers, user-agents) against known malleable C2 profiles.
Step 4: Correlate and Score
Combine multiple indicators (TLS + timing + HTTP profile) into a composite beacon confidence score.
Expected Output
JSON report containing detected beacon candidates with confidence scores, TLS fingerprints, timing analysis, HTTP profile matches, and recommended response actions.
常见问题
什么是 Cobalt Strike?
Cobalt Strike 是一款既被安全团队(用来测试防御能力)使用,也被犯罪分子(用来攻击系统)使用的程序。它可以远程控制被感染的电脑。
什么是“beacon”(信标)?
Beacon 是 Cobalt Strike 用来连接回其控制服务器的通信。它们被设计成看起来像正常流量,但仍然存在可被检测的特征。
什么是“指纹”(fingerprints)?
指纹是根据连接的技术特征生成的唯一标识,比如数字证书的细节(JA3/JA3S)或通信模式(JARM)。它们可以帮助识别特定类型的软件。
详情
作者的原始描述
Detect Cobalt Strike beacon command-and-control traffic using default TLS certificate signatures (serial 8BB00EE), JA3/JA3S/JARM fingerprints, HTTP malleable C2 profile pattern matching, and beacon jitter/interval analysis, built with Zeek network logs, Suricata IDS rules, and Python PCAP analysis. Use when hunting for Cobalt Strike beacon callbacks in network traffic or building detection rules f
热度
- GitHub 星标
- 35k
- 排名
- #7950
- 许可证
- Apache-2.0
- 更新时间
- 2026/8/31
评论
- …
同一仓库的更多技能
abusing-dpapi-for-credential-access
35k为你的 AI 智能体提供针对特定任务的现成指令,让它完成得更好、更快。
abusing-shadow-credentials-for-privesc
35k教你的 AI 智能体写出清晰、结构良好的文本。
achieving-cmmc-level-2-compliance
35k帮助你的智能体搭建符合 CMMC Level 2 合规要求的环境。它会落实安全要求,并管理必要的文档。
acquiring-disk-image-with-dd-and-dcfldd
35k帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。