本文へスキップ
Skillpedia
分析とスプレッドシート35k · #7640

analyzing-office365-audit-logs-for-compromise

できること

このツールは、Microsoft 365のアカウントのアクティビティログを分析し、ハッキングされた形跡を探します。メールの転送ルールの設定や不正なアクセスなど、不審な変更を見つけ出します。

使う場面

  • ✓Microsoft 365のアカウントが不正利用された疑いがあるとき。
  • ✓メールに通常と異なる動きがないかを確認したいとき。
  • ✓会社のセキュリティインシデントを調査するとき。

スキルのリンク

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-office365-audit-logs-for-compromise/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“Microsoft 365のメールログを確認して、不審なハッキングの活動がないか調べてください。”

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

仕組み

このツールは、安全なコードを使ってMicrosoft 365のアカウントに接続します。その後、アクティビティログを検索し、転送ルールの作成や、不明なアプリへのアクセス権限の付与などの異常な操作を探します。

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

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

Analyzing Office 365 Audit Logs for Compromise

Overview

Business Email Compromise (BEC) attacks often leave traces in Office 365 audit logs: suspicious inbox rule creation, email forwarding to external addresses, mailbox delegation changes, and unauthorized OAuth application consent grants. This skill uses the Microsoft Graph API to query the Unified Audit Log, enumerate inbox rules across mailboxes, detect forwarding configurations, and identify compromised account indicators.

When to Use

  • When investigating security incidents that require analyzing office365 audit logs for compromise
  • 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

  • Azure AD app registration with AuditLog.Read.All, MailboxSettings.Read, Mail.Read (application permissions)
  • Python 3.9+ with msal, requests
  • Client secret or certificate for authentication
  • Global Reader or Security Reader role

Steps

  1. Authenticate to Microsoft Graph using MSAL client credentials flow
  2. Query Unified Audit Log for suspicious operations (Set-Mailbox, New-InboxRule)
  3. Enumerate inbox rules across mailboxes and flag forwarding rules
  4. Detect mailbox delegation changes (Add-MailboxPermission)
  5. Identify OAuth consent grants to suspicious applications
  6. Check for suspicious sign-in patterns from audit logs
  7. Generate compromise indicator report with timeline

Expected Output

  • JSON report listing forwarding rules, delegation changes, OAuth grants, and suspicious audit events with risk scores
  • Timeline of compromise indicators with affected mailboxes
よくある質問

「監査ログ」とは何ですか?

Microsoft 365のアカウントで起きたすべての出来事を記録した日記のようなもので、誰がいつ何をしたかが残ります。

「Business Email Compromise」(BEC)とは何ですか?

犯罪者が知り合いになりすまして、相手をだまし、情報やお金を渡させる詐欺の一種です。

これを使うのに技術の専門家である必要はありますか?

いいえ。誰でも使えるように設計されています。このツールはセキュリティログの分析を簡単にしてくれます。

詳細

作者による元の説明

Parse Office 365 Unified Audit Logs via Microsoft Graph API to detect email forwarding rule creation, inbox delegation, suspicious OAuth app grants, and other indicators of account compromise.

repo: mukul975/Anthropic-Cybersecurity-Skills

人気

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

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

0

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

コメント

  • …

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

似ているスキル