본문으로 건너뛰기
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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-office365-audit-logs-for-compromise/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 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 계정에서 일어난 모든 일을 누가, 언제, 무엇을 했는지 기록한 일기장과 같습니다.

'비즈니스 이메일 침해(BEC)'란 무엇인가요?

범죄자가 아는 사람인 척하며 사람들을 속여 정보나 돈을 건네게 만드는 사기 유형입니다.

사용하려면 IT 전문가여야 하나요?

아니요, 누구나 쓸 수 있도록 설계되었습니다. 보안 로그 분석을 간단하게 해 줍니다.

상세 정보

작성자의 원본 설명

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

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬