本文へスキップ
Skillpedia
セキュリティ35k · #7599

analyzing-azure-activity-logs-for-threats

できること

このツールは、Microsoft Azureアカウントのセキュリティログから疑わしい活動を検索するのに役立ちます。不正侵入の試み、権限のない変更、その他の悪意ある行為を特定できます。

使う場面

  • ✓Azureアカウントが侵害された可能性があるとき。
  • ✓管理者による通常と異なる操作を調査するとき。
  • ✓クラウドの脅威検知ルールを作成するとき。

スキルのリンク

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-azure-activity-logs-for-threats/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“Azureのアクティビティログから、疑わしい変更を検索してください。”

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

仕組み

このツールは`azure-monitor-query`というプログラムを使い、Azureのセキュリティログに対して具体的な問い合わせを行います。これらの問い合わせは、危険な活動のパターンを見つけるように設計されています。

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

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

Analyzing Azure Activity Logs for Threats

When to Use

  • When investigating security incidents that require analyzing azure activity logs for threats
  • 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

  • Familiarity with security operations 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

Instructions

Use azure-monitor-query to execute KQL queries against Azure Log Analytics workspaces, detecting suspicious admin operations and sign-in anomalies.

from azure.identity import DefaultAzureCredential
from azure.monitor.query import LogsQueryClient
from datetime import timedelta

credential = DefaultAzureCredential()
client = LogsQueryClient(credential)

response = client.query_workspace(
    workspace_id="WORKSPACE_ID",
    query="AzureActivity | where OperationNameValue has 'MICROSOFT.AUTHORIZATION/ROLEASSIGNMENTS/WRITE' | take 10",
    timespan=timedelta(hours=24),
)

Key detection queries:

  1. Role assignment changes (privilege escalation)
  2. Resource group and subscription modifications
  3. Key vault secret access from new IPs
  4. Network security group rule changes
  5. Conditional access policy modifications

Examples

# Detect new Global Admin role assignments
query = '''
AuditLogs
| where OperationName == "Add member to role"
| where TargetResources[0].modifiedProperties[0].newValue has "Global Administrator"
'''
よくある質問

「アクティビティログ」とは何ですか?

Azureアカウントで起きたことを記録した日記のようなものです。誰が、いつ、何をしたかがわかります。

「KQLクエリ」とは何ですか?

Azureのログデータに対して具体的な問い合わせを行うために使われる言語です。

このツールを使うのにセキュリティの専門家である必要はありますか?

セキュリティに関する基礎知識があると役立ちますが、このツールは分析を簡単にするように設計されています。

詳細

作者による元の説明

Queries Azure Monitor activity logs and sign-in logs via azure-monitor-query to detect suspicious administrative operations, impossible travel, privilege escalation, and resource modifications. Builds KQL queries for threat hunting in Azure environments. Use when investigating suspicious Azure tenant activity or building cloud SIEM detections. '

repo: mukul975/Anthropic-Cybersecurity-Skills

人気

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

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

0

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

コメント

  • …

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

似ているスキル