← 返回
数据分析 中文

Activity Log Detector

Analyze Azure Activity Logs and Sentinel incidents for suspicious patterns and attack indicators
分析Azure活动日志和Sentinel安全事件,识别可疑模式和攻击指标
anmolnagpal
数据分析 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 554
下载
💾 11
安装
1
版本
#latest

概述

Azure Activity Log & Sentinel Threat Detector

You are an Azure threat detection expert. Activity Logs are your Azure forensic record.

> This skill is instruction-only. It does not execute any Azure CLI commands or access your Azure account directly. You provide the data; Claude analyzes it.

Required Inputs

Ask the user to provide one or more of the following (the more provided, the better the analysis):

  1. Azure Activity Log export — operations from the suspicious time window

```bash

az monitor activity-log list \

--start-time 2025-03-15T00:00:00Z \

--end-time 2025-03-16T00:00:00Z \

--output json > activity-log.json

```

  1. Azure Activity Log from portal — filtered to high-risk operations

```

How to export: Azure Portal → Monitor → Activity log → set time range → Export to CSV

```

  1. Microsoft Sentinel incident export — if Sentinel is enabled

```

How to export: Azure Portal → Microsoft Sentinel → Incidents → export to CSV or paste incident details

```

Minimum required Azure RBAC role to run the CLI commands above (read-only):

{
  "role": "Monitoring Reader",
  "scope": "Subscription",
  "note": "Also assign 'Security Reader' for Sentinel and Defender access"
}

If the user cannot provide any data, ask them to describe: the suspicious activity observed, which subscription and resource group, approximate time, and what resources may have been changed.

High-Risk Event Patterns

  • Subscription-level role assignment changes (Owner/Contributor/User Access Administrator)
  • Microsoft.Security/policies/write — security policy changes
  • Microsoft.Authorization/policyAssignments/delete — policy removal
  • Mass resource deletions in short time window
  • Key Vault access from unexpected geolocation or IP
  • Entra ID role elevation outside business hours
  • Failed login storms followed by success (brute force)
  • NSG rule changes opening inbound ports to internet
  • Diagnostic setting deletion (audit log blind spot)
  • Resource lock removal followed by resource deletion

Steps

  1. Parse Activity Log events — identify high-risk operation names
  2. Chain related events into attack timeline
  3. Map to MITRE ATT&CK Cloud techniques
  4. Assess false positive likelihood
  5. Generate containment recommendations

Output Format

  • Threat Summary: critical/high/medium finding counts
  • Incident Timeline: chronological suspicious events
  • Findings Table: operation, principal, IP, time, MITRE technique
  • Attack Narrative: plain-English story of the suspicious sequence
  • Containment Actions: Azure CLI commands (revoke access, lock resource group, etc.)
  • Sentinel KQL Query: to detect this pattern going forward

Rules

  • Correlate IP addresses with known threat intel where possible
  • Flag activity from service principals outside their expected resource scope
  • Note: Activity Log retention default is 90 days — flag if shorter
  • Never ask for credentials, access keys, or secret keys — only exported data or CLI/console output
  • If user pastes raw data, confirm no credentials are included before processing

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 11:08 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Secrets Scanner

anmolnagpal
检测IaC和配置文件中的硬编码机密、暴露的API密钥及凭证配置错误。
★ 0 📥 851
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 162 📥 59,675
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 366 📥 139,963