AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Analyzing Office365 Audit Logs For Compromise

skill-killvxk-cybersecurity-skills-zh-analyzing-office365-audit-logs-for-compromise · by killvxk

通过 Microsoft Graph API 解析 Office 365 统一审计日志,检测邮件转发规则创建、收件箱委托、可疑 OAuth 应用授权以及其他账户失陷指标。

No reviews yet
0 installs
5 views
0.0% view→install

Install

$ agentstack add skill-killvxk-cybersecurity-skills-zh-analyzing-office365-audit-logs-for-compromise

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-killvxk-cybersecurity-skills-zh-analyzing-office365-audit-logs-for-compromise)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Analyzing Office365 Audit Logs For Compromise? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

分析 Office 365 审计日志以检测账户失陷

概述

商业邮件欺诈(Business Email Compromise,BEC)攻击通常会在 Office 365 审计日志中留下痕迹:可疑的收件箱规则创建、将邮件转发到外部地址、邮箱委托更改以及未经授权的 OAuth 应用授权。本 skill 使用 Microsoft Graph API 查询统一审计日志,枚举各邮箱的收件箱规则,检测转发配置,并识别账户失陷指标。

前置条件

  • Azure AD 应用注册,具备 AuditLog.Read.AllMailboxSettings.ReadMail.Read(应用权限)
  • Python 3.9+ 及 msalrequests
  • 用于认证的客户端密钥或证书
  • 全局读取者(Global Reader)或安全读取者(Security Reader)角色

步骤

  1. 使用 MSAL 客户端凭据流向 Microsoft Graph 进行身份认证
  2. 查询统一审计日志中的可疑操作(Set-Mailbox、New-InboxRule)
  3. 枚举各邮箱的收件箱规则并标记转发规则
  4. 检测邮箱委托更改(Add-MailboxPermission)
  5. 识别向可疑应用程序的 OAuth 授权
  6. 检查审计日志中的可疑登录模式
  7. 生成包含时间线的失陷指标报告

预期输出

  • JSON 报告,列出转发规则、委托更改、OAuth 授权以及带有风险评分的可疑审计事件
  • 失陷指标及受影响邮箱的时间线

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.