本文へスキップ
Skillpedia
エージェント35k · #7866

detecting-ransomware-precursors-in-network

できること

このツールは、ファイルが暗号化される前のネットワーク通信を調べて、ランサムウェア攻撃が起きようとしている兆候を見つけるのに役立ちます。攻撃者が攻撃を始める前によく行う、不審な動きを探します。

使う場面

  • ✓ランサムウェア攻撃の前触れとなるネットワーク活動を検知するルールを作りたいとき。
  • ✓攻撃者がネットワークに侵入しようとしている兆候を監視したいとき。
  • ✓攻撃が始まっている可能性がある、普段と異なるネットワークの動きを調べるとき。

スキルのリンク

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-ransomware-precursors-in-network/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-ransomware-precursors-in-network/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ランサムウェア攻撃が差し迫っている可能性を示す、不審なネットワーク活動がないか調べてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

Zeek や Suricata などのネットワーク監視ツールと、SIEM と呼ばれるセキュリティ分析システムを設定します。そのうえで、攻撃者がランサムウェアを実行する前に使うことが知られている通信パターンを特定します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Detecting Ransomware Precursors in Network Traffic

When to Use

  • Building detection rules for pre-ransomware network activity (the average time from Cobalt Strike deployment to encryption is 17 minutes)
  • Monitoring for initial access broker (IAB) indicators that precede ransomware deployment
  • Creating SIEM correlation rules that chain multiple precursor events into high-confidence alerts
  • Tuning network detection systems to distinguish ransomware staging from normal administrative activity
  • Investigating suspicious network patterns that may indicate ransomware operators have established a foothold

Do not use for post-encryption response (see recovering-from-ransomware-attack). This skill focuses on the pre-encryption detection window where containment can prevent data loss.

Prerequisites

  • Network detection platform (Zeek/Bro, Suricata, or Arkime/Moloch) deployed on network TAP or SPAN ports
  • SIEM platform (Splunk, Elastic Security, Microsoft Sentinel, or QRadar) ingesting network logs
  • Threat intelligence feeds covering ransomware IOCs (CISA, abuse.ch, OTX, MISP)
  • Network flow data (NetFlow/IPFIX) from core routers and firewalls
  • DNS query logging from internal resolvers
  • Full packet capture capability for incident investigation

Workflow

Step 1: Identify Ransomware Kill Chain Phases in Network Traffic

Map network-observable indicators to each pre-encryption phase:

Kill Chain Phase Network Indicators Detection Source
Initial Access RDP brute force, VPN credential stuffing, phishing callback Firewall logs, IDS, proxy logs
C2 Establishment Cobalt Strike beacons (HTTPS/DNS), Sliver/Brute Ratel callbacks Zeek SSL/HTTP logs, DNS logs
Credential Harvesting NTLM relay, Kerberoasting, DCSync traffic Zeek Kerberos/NTLM logs, DC logs
Reconnaissance Internal port scanning, AD enumeration (LDAP/SMB) Zeek conn.log, flow data
Lateral Movement PsExec/WMI/WinRM traffic, RDP pivoting, SMB file copies Zeek SMB/DCE-RPC logs
Staging Data aggregation, archive creation, cloud upload prep Proxy logs, DNS logs, DLP

Step 2: Deploy Network Detection Rules

Suricata rules for common ransomware precursors:

# Cobalt Strike default HTTPS beacon profile detection
alert tls $HOME_NET any -> $EXTERNAL_NET any (msg:"RANSOMWARE PRECURSOR - Cobalt Strike Default TLS Certificate"; tls.cert_subject; content:"Major Cobalt Strike"; sid:3000001; rev:1;)

# Cobalt Strike DNS beacon
alert dns $HOME_NET any -> any 53 (msg:"RANSOMWARE PRECURSOR - Cobalt Strike DNS Beacon Pattern"; dns.query; pcre:"/^[a-z0-9]{3}\.[a-z]{4,8}\./"; threshold:type both, track by_src, count 50, seconds 60; sid:3000002; rev:1;)

# Mimikatz network signature (DCSync - DRS GetNCChanges)
alert tcp $HOME_NET any -> $HOME_NET 135 (msg:"RANSOMWARE PRECURSOR - Possible DCSync/Mimikatz"; content:"|05 00 0b|"; offset:0; depth:3; content:"|e3 51 4d 2b 4b 47 15 d2|"; sid:3000003; rev:1;)

# Internal network scanning (many connections, few bytes)
alert tcp $HOME_NET any -> $HOME_NET any (msg:"RANSOMWARE PRECURSOR - Internal Port Scan"; flags:S; threshold:type both, track by_src, count 100, seconds 10; sid:3000004; rev:1;)

# PsExec service installation over SMB
alert tcp $HOME_NET any -> $HOME_NET 445 (msg:"RANSOMWARE PRECURSOR - PsExec Service Install"; content:"|ff|SMB"; content:"PSEXESVC"; nocase; sid:3000005; rev:1;)

# RDP brute force from internal host (lateral movement)
alert tcp $HOME_NET any -> $HOME_NET 3389 (msg:"RANSOMWARE PRECURSOR - Internal RDP Brute Force"; flow:to_server,established; threshold:type both, track by_src, count 20, seconds 60; sid:3000006; rev:1;)

# Large SMB file transfer (data staging)
alert tcp $HOME_NET any -> $HOME_NET 445 (msg:"RANSOMWARE PRECURSOR - Large SMB Transfer Possible Staging"; flow:to_server,established; dsize:>60000; threshold:type both, track by_src, count 100, seconds 300; sid:3000007; rev:1;)

Zeek scripts for behavioral detection:

# detect_ransomware_precursors.zeek
# Detect high volume of failed SMB connections (credential testing)

@load base/protocols/smb

module RansomwarePrecursor;

export {
    redef enum Notice::Type += {
        SMB_Brute_Force,
        Suspicious_Internal_Scan,
        Excessive_DNS_Queries,
        SMB_Admin_Share_Access,
    };

    const smb_fail_threshold = 10 &redef;
    const scan_threshold = 50 &redef;

…
よくある質問

「ランサムウェアの前兆」とは何ですか?

攻撃者がランサムウェアでファイルの暗号化を始める前に行う動作やネットワーク通信のパターンのことです。これらを検知できれば、攻撃を止めることができます。

このツールを使うにはネットワークの専門家である必要がありますか?

専門家である必要はありませんが、説明に挙げられているネットワーク監視ツールやセキュリティ監視ツールを利用でき、ある程度使い慣れていると、このスキルを効果的に設定して使うのに役立ちます。

このツールはファイルの暗号化を止められますか?

目的は暗号化の前に兆候を検知することです。検知できれば、攻撃を止める対策を取ることができ、ファイルが暗号化されるのを防げます。

詳細

作者による元の説明

Detects early-stage ransomware indicators in network traffic before encryption begins, including initial access broker activity, command-and-control beaconing, credential harvesting, reconnaissance scanning, and staging behavior. Uses network detection tools (Zeek, Suricata, Arkime), SIEM correlation rules, and threat intelligence feeds to identify ransomware precursor patterns such as Cobalt Stri

repo: mukul975/Anthropic-Cybersecurity-Skills

人気

GitHubのスター
35k
ランキング
#7866
ライセンス
Apache-2.0
更新日
2026/8/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル