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
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →About
分析 Office 365 审计日志以检测账户失陷
概述
商业邮件欺诈(Business Email Compromise,BEC)攻击通常会在 Office 365 审计日志中留下痕迹:可疑的收件箱规则创建、将邮件转发到外部地址、邮箱委托更改以及未经授权的 OAuth 应用授权。本 skill 使用 Microsoft Graph API 查询统一审计日志,枚举各邮箱的收件箱规则,检测转发配置,并识别账户失陷指标。
前置条件
- Azure AD 应用注册,具备
AuditLog.Read.All、MailboxSettings.Read、Mail.Read(应用权限) - Python 3.9+ 及
msal、requests库 - 用于认证的客户端密钥或证书
- 全局读取者(Global Reader)或安全读取者(Security Reader)角色
步骤
- 使用 MSAL 客户端凭据流向 Microsoft Graph 进行身份认证
- 查询统一审计日志中的可疑操作(Set-Mailbox、New-InboxRule)
- 枚举各邮箱的收件箱规则并标记转发规则
- 检测邮箱委托更改(Add-MailboxPermission)
- 识别向可疑应用程序的 OAuth 授权
- 检查审计日志中的可疑登录模式
- 生成包含时间线的失陷指标报告
预期输出
- JSON 报告,列出转发规则、委托更改、OAuth 授权以及带有风险评分的可疑审计事件
- 失陷指标及受影响邮箱的时间线
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: killvxk
- Source: killvxk/cybersecurity-skills-zh
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.