Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính35k · #7640

analyzing-office365-audit-logs-for-compromise

Skill này làm gì

Công cụ này phân tích nhật ký hoạt động tài khoản Microsoft 365 của bạn để tìm dấu hiệu tài khoản có thể đã bị hack. Nó tìm các thay đổi đáng ngờ, như quy tắc chuyển tiếp email hoặc truy cập trái phép.

Khi nào nên dùng

  • ✓Khi bạn nghi ngờ tài khoản Microsoft 365 đã bị xâm nhập.
  • ✓Để kiểm tra hoạt động bất thường trong email của bạn.
  • ✓Khi điều tra một sự cố bảo mật của công ty.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-office365-audit-logs-for-compromise/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kiểm tra nhật ký email Microsoft 365 của tôi để tìm hoạt động hack đáng ngờ.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ kết nối với tài khoản Microsoft 365 của bạn bằng một mã bảo mật. Sau đó, nó tìm trong nhật ký hoạt động các hành động bất thường, như tạo quy tắc chuyển tiếp hoặc cấp quyền cho ứng dụng lạ.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

“Audit logs” là gì?

Đây giống như nhật ký ghi lại mọi việc xảy ra trong tài khoản Microsoft 365 của bạn, cho biết ai đã làm gì và khi nào.

“Business Email Compromise” (BEC) là gì?

Đây là kiểu lừa đảo mà tội phạm giả làm người bạn quen để lừa mọi người đưa thông tin hoặc tiền.

Tôi có cần là chuyên gia công nghệ để dùng không?

Không cần. Công cụ được thiết kế để ai cũng dùng được và đơn giản hóa việc phân tích nhật ký bảo mật.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#7640
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự