[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EHAA9QJHZXKYSKD2ZH5SNP":3,"skill-same:01M7EHAA9QJHZXKYSKD2ZH5SNP":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M7EHAA9QJHZXKYSKD2ZH5SNP","detecting-entra-offensive-tools-in-graph-logs",null,"Hunt AADGraphActivityLogs and MicrosoftGraphActivityLogs in Microsoft Sentinel\u002FLog Analytics using KQL to fingerprint offensive Entra ID enumeration tools such as ROADtools, AADInternals, and AzureHound, including User-Agent signatures, roadrecon endpoint sweeps, and sign-in correlation. Use when investigating suspicious Microsoft Graph API activity, Entra ID reconnaissance, or building Sentinel analytics rules to detect these tools.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fdetecting-entra-offensive-tools-in-graph-logs\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: detecting-entra-offensive-tools-in-graph-logs\ndescription: Hunt AADGraphActivityLogs and MicrosoftGraphActivityLogs in Microsoft Sentinel\u002FLog Analytics using KQL to fingerprint offensive Entra ID enumeration tools such as ROADtools, AADInternals, and AzureHound, including User-Agent signatures, roadrecon endpoint sweeps, and sign-in correlation. Use when investigating suspicious Microsoft Graph API activity, Entra ID reconnaissance, or building Sentinel analytics rules to detect these tools.\ndomain: cybersecurity\nsubdomain: soc-operations\ntags:\n- threat-hunting\n- entra-id\n- microsoft-graph\n- kql\n- sentinel\n- roadtools\n- aadinternals\n- detection-engineering\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- DE.CM-09\nmitre_attack:\n- T1078.004\n---\n# Detecting Entra Offensive Tools in Graph Logs\n\n## Overview\n\nFor nearly a decade the legacy **Azure AD Graph API** (`graph.windows.net`) was a defender blind spot: requests to it produced no first-class activity log, so tools like ROADtools (`roadrecon`) and AADInternals — which lean heavily on AAD Graph — could enumerate an entire tenant with little trace. That changed when Microsoft shipped **AADGraphActivityLogs** (general availability in 2026), the counterpart to the already-available **MicrosoftGraphActivityLogs** (`graph.microsoft.com`). Together these two tables give SOCs request-level visibility into directory API traffic: the caller identity, app, source IP, HTTP method, request URI, and crucially the **User-Agent**.\n\nThis skill is the defensive complement to offensive Entra tooling. It hunts the two Graph activity tables for the behavioral and string fingerprints those tools leave behind. Many operators forget to spoof the User-Agent, so ROADtools (built on Python's `aiohttp`) emits a User-Agent like `Python\u002F3.12 aiohttp\u002F3.10.4`, and AADInternals frequently leaves `AADInternals` or library strings in the agent. Even when the agent is spoofed, the tools betray themselves through a characteristic **endpoint-sweep pattern**: `roadrecon gather` pulls `users`, `groups`, `applications`, `serviceprincipals`, `devices`, `directoryroles`, `roledefinitions`, `oauth2permissiongrants`, and more within a tight time window — a signature that survives header spoofing.\n\nThe activity being detected maps to MITRE ATT&CK **T1078.004 – Valid Accounts: Cloud Accounts**: an adversary using legitimate (often phished or token-stolen) cloud credentials to enumerate and operate against the tenant via the Graph APIs. These detections both surface live intrusions and validate that the offensive techniques in the companion red-team skills are observable.\n\n## When to Use\n\n- Building or tuning detections for Microsoft Sentinel \u002F Log Analytics covering Entra ID\n- Threat hunting after suspected credential theft, device-code phishing, or OAuth consent abuse\n- Purple-team exercises validating that ROADtools\u002FAADInternals\u002FAzureHound activity is detectable\n- Investigating an alert and needing to correlate Graph API calls back to a sign-in\u002Fsession\n- Closing the legacy Azure AD Graph visibility gap after enabling AADGraphActivityLogs\n\n## Prerequisites\n\n- A Microsoft Sentinel workspace (or Log Analytics) ingesting:\n  - **MicrosoftGraphActivityLogs** (diagnostic setting on Microsoft Entra ID -> graph.microsoft.com)\n  - **AADGraphActivityLogs** (diagnostic setting on Microsoft Entra ID -> legacy Azure AD Graph)\n- `SigninLogs` and `AADNonInteractiveUserSignInLogs` for correlation\n- Microsoft Sentinel Reader\u002FResponder (or Log Analytics Reader) RBAC to run KQL\n- Familiarity with Kusto Query Language (KQL)\n- Enable the diagnostic settings (Azure Portal -> Microsoft Entra ID -> Diagnostic settings -> send `MicrosoftGraphActivityLogs` and `AADGraphActivityLogs` to your workspace), or via CLI:\n  ```bash\n  az monitor diagnostic-settings create \\\n    --name \"entra-graph-logs\" \\\n    --resource \"\u002Fproviders\u002Fmicrosoft.aadiam\u002FdiagnosticSettings\" \\\n    --logs '[{\"category\":\"MicrosoftGraphActivityLogs\",\"enabled\":true},{\"category\":\"AADGraphActivityLogs\",\"enabled\":true}]' \\\n    --workspace \"\u003Clog-analytics-workspace-id>\"\n  ```\n\n## Objectives\n\n- Confirm both Graph activity tables are flowing into the workspace\n- Detect User-Agent string fingerprints of ROADtools, AADInternals, and AzureHound\n- Detect the endpoint-sweep behavioral fingerprint that survives User-Agent spoofing\n- Correlate suspicious Graph activity back to a sign-in\u002Fsession and source identity\n- Operationalize the best queries as scheduled analytics rules\n\n## MITRE ATT&CK Mapping\n\n| ID | Technique | Application in this skill |\n|----|-----------|---------------------------|\n| T1078.004 | Valid Accounts: Cloud Accounts | Detecting adversaries using valid cloud credentials\u002Ftokens to enumerate the tenant via the Microsoft Graph and legacy Azure AD Graph APIs |\n\nRelated techniques surfaced by these hunts: **T1087.004** Account Discovery: Cloud Account, **T1069.003** Permission Groups Discovery: Cloud Groups, **T1526** Cloud Service Discovery.\n\n## Workflow\n\n### Step 1: Confirm both tables are ingesting\nBefore hunting, verify the data exists and inspect the schema fields you will pivot on.\n\n```kusto\nunion withsource=Tbl MicrosoftGraphActivityLogs, AADGraphActivityLogs\n| where TimeGenerated > ago(1d)\n| summarize Records=count(), LastSeen=max(TimeGenerated) by Tbl\n```\n\n### Step 2: Hunt User-Agent fingerprints (ROADtools \u002F aiohttp)\nROADtools uses `aiohttp`; an un-spoofed run shows `python` + `aiohttp` in the User-Agent.\n\n```kusto\nAADGraphActivityLogs\n| where TimeGenerated > ago(7d)\n| where RequestMethod == \"GET\"\n| where UserAgent contains \"python\" and UserAgent contains \"aiohttp\"\n| summarize RequestCount = count() by CallerIpAddress, AppId, UserAgent, UserId\n| sort by RequestCount desc\n```\n\n### Step 3: Hunt AADInternals and AzureHound agents\nAADInternals leaves toolkit\u002Flibrary strings; AzureHound's Go HTTP client and BloodHound tooling have distinctive agents.\n\n```kusto\nunion MicrosoftGraphActivityLogs, AADGraphActivityLogs\n| where TimeGenerated > ago(7d)\n| where UserAgent has_any (\"AADInternals\", \"aad-internals\", \"azurehound\",\n                           \"BloodHound\", \"python-requests\", \"Go-http-client\")\n| project TimeGenerated, UserAgent, CallerIpAddress, AppId, UserId, RequestUri\n| sort by TimeGenerated desc\n```\n\n### Step 4: Behavioral hunt — the roadrecon endpoint sweep (spoof-resistant)\nEven with a spoofed agent, `roadrecon gather` touches a recognizable set of directory resources in a short window. Bucket by user and 5 minutes; alert when one identity hits the full sweep.\n\n```kusto\nAADGraphActivityLogs\n| where TimeGenerated > ago(1d)\n| where RequestMethod == \"GET\"\n| extend TopLevelResource = tolower(tostring(split(split(RequestUri, \"?\")[0], \"\u002F\")[3]))\n| summarize\n    TopLevelResources = make_set(TopLevelResource),\n    AppIds = make_set(AppId),\n    CallerIPs = make_set(CallerIpAddress),\n    UserAgents = make_set(UserAgent),\n    StartTime = min(TimeGenerated),\n    EndTime = max(TimeGenerated)\n    by UserId, bin(TimeGenerated, 5m)\n| where TopLevelResources has_all (\"users\", \"tenantdetails\", \"groups\", \"applications\",\n    \"serviceprincipals\", \"devices\", \"directoryroles\", \"roledefinitions\", \"contacts\",\n    \"oauth2permissiongrants\", \"authorizationpolicy\")\n| project StartTime, EndTime, UserId, AppIds, CallerIPs, UserAgents\n```\n\n### Step 5: High-volume enumeration outliers\nCatch tooling that simply makes far more directory reads than a human in a short window.\n\n```kusto\nMicrosoftGraphActivityLogs\n| where TimeGenerated > ago(1d)\n| where RequestMethod == \"GET\"\n| where RequestUri has_any (\"\u002Fusers\", \"\u002Fgroups\", \"\u002FservicePrincipals\", \"\u002Fapplications\",\n                            \"\u002FdirectoryRoles\", \"\u002FroleManagement\")\n| summarize Reads=count(), Resources=dcount(RequestUri) by UserId, AppId, CallerIpAddress, bin(TimeGenerated, 10m)\n| where Reads > 200\n| sort by Reads desc\n```\n\n### Step 6: Correlate Graph activity to the originating sign-in\nPivot a suspicious Graph caller back to the sign-in to recover device, location, MFA, and conditional-access result. Note the `SignInActivityId` in AADGraphActivityLogs may carry `==` padding versus `SigninLogs.UniqueTokenIdentifier`.\n\n```kusto\nAADGraphActivityLogs\n| where TimeGenerated > ago(1d)\n| where UserAgent contains \"aiohttp\"\n| extend TokenId = trim_end(\"=\", tostring(SignInActivityId))\n| join kind=leftouter (\n    SigninLogs\n    | extend TokenId = tostring(UniqueTokenIdentifier)\n    | project TokenId, UserPrincipalName, IPAddress, AppDisplayName, ConditionalAccessStatus, DeviceDetail\n) on TokenId\n| project TimeGenerated, UserId, UserPrincipalName, CallerIpAddress, IPAddress,\n          AppDisplayName, ConditionalAccessStatus, UserAgent\n```\n\n### Step 7: Operationalize as analytics rules\nPromote the highest-fidelity queries (Steps 2-4) to scheduled analytics rules. Set a query period\u002Ffrequency (e.g., run every 1h over 1d), map the rule to T1078.004, and configure entity mappings (Account = UserId, IP = CallerIpAddress, Host\u002FApp = AppId) so incidents enrich automatically. Tune out known automation\u002Fservice-principal App IDs and approved scanner IPs via a watchlist before enabling.\n\n## Tools and Resources\n\n| Resource | Purpose | Source |\n|----------|---------|--------|\n| AADGraphActivityLogs reference | Schema and field meaning | https:\u002F\u002Flearn.microsoft.com\u002Fentra\u002Fidentity\u002Fmonitoring-health\u002Fconcept-aad-graph-activity-logs |\n| MicrosoftGraphActivityLogs | Graph API activity schema | https:\u002F\u002Flearn.microsoft.com\u002Fgraph\u002Fmicrosoft-graph-activity-logs-overview |\n| Invictus-IR writeup | AADGraphActivityLogs hunting queries | https:\u002F\u002Fwww.invictus-ir.com\u002Fnews\u002Fthe-missing-link-aadgraphactivitylogs-finally-arrives |\n| Cloudbrothers analysis | Behavioral fingerprinting of ROADtools | https:\u002F\u002Fcloudbrothers.info\u002Fen\u002Faadgraphactivitylogs\u002F |\n| ROADtools | The offensive tool being detected | https:\u002F\u002Fgithub.com\u002Fdirkjanm\u002FROADtools |\n| MITRE T1078.004 | Valid Accounts: Cloud Accounts | https:\u002F\u002Fattack.mitre.org\u002Ftechniques\u002FT1078\u002F004\u002F |\n\n## Detection Fingerprint Reference\n\n| Tool | Primary fingerprint | Table |\n|------|---------------------|-------|\n| ROADtools (roadrecon) | `python` + `aiohttp` UA; full directory endpoint sweep in 5 min | AADGraphActivityLogs |\n| AADInternals | `AADInternals` \u002F toolkit strings in UA; AAD Graph reads | AADGraphActivityLogs |\n| AzureHound | Go HTTP client UA; broad MS Graph enumeration | MicrosoftGraphActivityLogs |\n| Generic recon | High GET volume across users\u002Fgroups\u002Fapps\u002FSPs in short window | both |\n\n## Validation Criteria\n\n- [ ] Both MicrosoftGraphActivityLogs and AADGraphActivityLogs confirmed ingesting\n- [ ] User-Agent fingerprint hunt for ROADtools\u002Faiohttp executed\n- [ ] AADInternals\u002FAzureHound agent hunt executed\n- [ ] Behavioral endpoint-sweep hunt executed and tuned for false positives\n- [ ] High-volume enumeration outlier query executed\n- [ ] At least one finding correlated back to a sign-in\u002Fsession and source identity\n- [ ] Best queries promoted to scheduled analytics rules with T1078.004 mapping and entity mappings\n- [ ] Known-good service principals\u002FIPs excluded via watchlist to control false positives\n","# Detecting Entra Offensive Tools in Graph Logs\n\n## Overview\n\nFor nearly a decade the legacy **Azure AD Graph API** (`graph.windows.net`) was a defender blind spot: requests to it produced no first-class activity log, so tools like ROADtools (`roadrecon`) and AADInternals — which lean heavily on AAD Graph — could enumerate an entire tenant with little trace. That changed when Microsoft shipped **AADGraphActivityLogs** (general availability in 2026), the counterpart to the already-available **MicrosoftGraphActivityLogs** (`graph.microsoft.com`). Together these two tables give SOCs request-level visibility into directory API traffic: the caller identity, app, source IP, HTTP method, request URI, and crucially the **User-Agent**.\n\nThis skill is the defensive complement to offensive Entra tooling. It hunts the two Graph activity tables for the behavioral and string fingerprints those tools leave behind. Many operators forget to spoof the User-Agent, so ROADtools (built on Python's `aiohttp`) emits a User-Agent like `Python\u002F3.12 aiohttp\u002F3.10.4`, and AADInternals frequently leaves `AADInternals` or library strings in the agent. Even when the agent is spoofed, the tools betray themselves through a characteristic **endpoint-sweep pattern**: `roadrecon gather` pulls `users`, `groups`, `applications`, `serviceprincipals`, `devices`, `directoryroles`, `roledefinitions`, `oauth2permissiongrants`, and more within a tight time window — a signature that survives header spoofing.\n\nThe activity being detected maps to MITRE ATT&CK **T1078.004 – Valid Accounts: Cloud Accounts**: an adversary using legitimate (often phished or token-stolen) cloud credentials to enumerate and operate against the tenant via the Graph APIs. These detections both surface live intrusions and validate that the offensive techniques in the companion red-team skills are observable.\n\n## When to Use\n\n- Building or tuning detections for Microsoft Sentinel \u002F Log Analytics covering Entra ID\n- Threat hunting after suspected credential theft, device-code phishing, or OAuth consent abuse\n- Purple-team exercises validating that ROADtools\u002FAADInternals\u002FAzureHound activity is detectable\n- Investigating an alert and needing to correlate Graph API calls back to a sign-in\u002Fsession\n- Closing the legacy Azure AD Graph visibility gap after enabling AADGraphActivityLogs\n\n## Prerequisites\n\n- A Microsoft Sentinel workspace (or Log Analytics) ingesting:\n  - **MicrosoftGraphActivityLogs** (diagnostic setting on Microsoft Entra ID -> graph.microsoft.com)\n  - **AADGraphActivityLogs** (diagnostic setting on Microsoft Entra ID -> legacy Azure AD Graph)\n- `SigninLogs` and `AADNonInteractiveUserSignInLogs` for correlation\n- Microsoft Sentinel Reader\u002FResponder (or Log Analytics Reader) RBAC to run KQL\n- Familiarity with Kusto Query Language (KQL)\n- Enable the diagnostic settings (Azure Portal -> Microsoft Entra ID -> Diagnostic settings -> send `MicrosoftGraphActivityLogs` and `AADGraphActivityLogs` to your workspace), or via CLI:\n  ```bash\n  az monitor diagnostic-settings create \\\n    --name \"entra-graph-logs\" \\\n    --resource \"\u002Fproviders\u002Fmicrosoft.aadiam\u002FdiagnosticSettings\" \\\n    --logs '[{\"category\":\"MicrosoftGraphActivityLogs\",\"enabled\":true},{\"category\":\"AADGraphActivityLogs\",\"enabled\":true}]' \\\n    --workspace \"\u003Clog-analytics-workspace-id>\"\n  ```\n\n## Objectives\n\n- Confirm both Graph activity tables are flowing into the workspace\n- Detect User-Agent string fingerprints of ROADtools, AADInternals, and AzureHound\n- Detect the endpoint-sweep behavioral fingerprint that survives User-Agent spoofing\n- Correlate suspicious Graph activity back to a sign-in\u002Fsession and source identity\n- Operationalize the best queries as scheduled analytics rules\n\n## MITRE ATT&CK Mapping\n\n| ID | Technique | Application in this skill |\n|----|-----------|---------------------------|\n| T1078.004 | Valid Accounts: Cloud Accounts | Detecting adversaries using valid cloud credentials\u002Ftokens to enumerate the tenant via the Microsoft Graph and legacy Azure AD Graph APIs |\n\nRelated techniques surfaced by these hunts: **T1087.004** Account Discovery: Cloud Account, **T1069.003** Permission Groups Discovery: Cloud Groups, **T1526** Cloud Service Discovery.\n\n## Workflow\n\n### Step 1: Confirm both tables are ingesting\nBefore hunting, verify the data exists and inspect the schema fields you will pivot on.\n\n```kusto\nunion withsource=Tbl MicrosoftGraphActivityLogs, AADGraphActivityLogs\n| where TimeGenerated > ago(1d)\n| summarize Records=count(), LastSeen=max(TimeGenerated) by Tbl\n```\n\n### Step 2: Hunt User-Agent fingerprints (ROADtools \u002F aiohttp)\nROADtools uses `aiohttp`; an un-spoofed run shows `python` + `aiohttp` in the User-Agent.\n\n```kusto\nAADGraphActivityLogs\n| where TimeGenerated > ago(7d)\n| where RequestMethod == \"GET\"\n| where UserAgent contains \"python\" and UserAgent contains \"aiohttp\"\n| summarize RequestCount = count() by CallerIpAddress, AppId, UserAgent, UserId\n| sort by RequestCount desc\n```\n\n### Step 3: Hunt AADInternals and AzureHound agents\nAADInternals leaves toolkit\u002Flibrary strings; AzureHound's Go HTTP client and BloodHound tooling have distinctive agents.\n\n```kusto\nunion MicrosoftGraphActivityLogs, AADGraphActivityLogs\n| where TimeGenerated > ago(7d)\n| where UserAgent has_any (\"AADInternals\", \"aad-internals\", \"azurehound\",\n                           \"BloodHound\", \"python-requests\", \"Go-http-client\")\n| project TimeGenerated, UserAgent, CallerIpAddress, AppId, UserId, RequestUri\n| sort by TimeGenerated desc\n```\n\n### Step 4: Behavioral hunt — the roadrecon endpoint sweep (spoof-resistant)\nEven with a spoofed agent, `roadrecon gather` touches a recognizable set of directory resources in a short window. Bucket by user and 5 minutes; alert when one identity hits the full sweep.\n\n```kusto\nAADGraphActivityLogs\n| where TimeGenerated > ago(1d)\n| where RequestMethod == \"GET\"\n| extend TopLevelResource = tolower(tostring(split(split(RequestUri, \"?\")[0], \"\u002F\")[3]))\n| summarize\n    TopLevelResources = make_set(TopLevelResource),\n    AppIds = make_set(AppId),\n    CallerIPs = make_set(CallerIpAddress),\n    UserAgents = make_set(UserAgent),\n    StartTime = min(TimeGenerated),\n    EndTime = max(TimeGenerated)\n    by UserId, bin(TimeGenerated, 5m)\n| where TopLevelResources has_all (\"users\", \"tenantdetails\", \"groups\", \"applications\",\n    \"serviceprincipals\", \"devices\", \"directoryroles\", \"roledefinitions\", \"contacts\",\n    \"oauth2permissiongrants\", \"authorizationpolicy\")\n| project StartTime, EndTime, UserId, AppIds, CallerIPs, UserAgents\n```\n\n### Step 5: High-volume enumeration outliers\nCatch tooling that simply makes far more directory reads than a human in a short window.\n\n```kusto\nMicrosoftGraphActivityLogs\n| where TimeGenerated > ago(1d)\n| where RequestMethod == \"GET\"\n| where RequestUri has_any (\"\u002Fusers\", \"\u002Fgroups\", \"\u002FservicePrincipals\", \"\u002Fapplications\",\n                            \"\u002FdirectoryRoles\", \"\u002FroleManagement\")\n| summarize Reads=count(), Resources=dcount(RequestUri) by UserId, AppId, CallerIpAddress, bin(TimeGenerated, 10m)\n| where Reads > 200\n| sort by Reads desc\n```\n\n### Step 6: Correlate Graph activity to the originating sign-in\nPivot a suspicious Graph caller back to the sign-in to recover device, location, MFA, and conditional-access result. Note the `SignInActivityId` in AADGraphActivityLogs may carry `==` padding versus `SigninLogs.UniqueTokenIdentifier`.\n\n```kusto\nAADGraphActivityLogs\n| where TimeGenerated > ago(1d)\n| where UserAgent contains \"aiohttp\"\n| extend TokenId = trim_end(\"=\", tostring(SignInActivityId))\n| join kind=leftouter (\n    SigninLogs\n    | extend TokenId = tostring(UniqueTokenIdentifier)\n    | project TokenId, UserPrincipalName, IPAddress, AppDisplayName, ConditionalAccessStatus, DeviceDetail\n) on TokenId\n| project TimeGenerated, UserId, UserPrincipalName, CallerIpAddress, IPAddress,\n          AppDisplayName, ConditionalAccessStatus, UserAgent\n```\n\n### Step 7: Operationalize as analytics rules\nPromote the highest-fidelity queries (Steps 2-4) to scheduled analytics rules. Set a query period\u002Ffrequency (e.g., run every 1h over 1d), map the rule to T1078.004, and configure entity mappings (Account = UserId, IP = CallerIpAddress, Host\u002FApp = AppId) so incidents enrich automatically. Tune out known automation\u002Fservice-principal App IDs and approved scanner IPs via a watchlist before enabling.\n\n## Tools and Resources\n\n| Resource | Purpose | Source |\n|----------|---------|--------|\n| AADGraphActivityLogs reference | Schema and field meaning | https:\u002F\u002Flearn.microsoft.com\u002Fentra\u002Fidentity\u002Fmonitoring-health\u002Fconcept-aad-graph-activity-logs |\n| MicrosoftGraphActivityLogs | Graph API activity schema | https:\u002F\u002Flearn.microsoft.com\u002Fgraph\u002Fmicrosoft-graph-activity-logs-overview |\n| Invictus-IR writeup | AADGraphActivityLogs hunting queries | https:\u002F\u002Fwww.invictus-ir.com\u002Fnews\u002Fthe-missing-link-aadgraphactivitylogs-finally-arrives |\n| Cloudbrothers analysis | Behavioral fingerprinting of ROADtools | https:\u002F\u002Fcloudbrothers.info\u002Fen\u002Faadgraphactivitylogs\u002F |\n| ROADtools | The offensive tool being detected | https:\u002F\u002Fgithub.com\u002Fdirkjanm\u002FROADtools |\n| MITRE T1078.004 | Valid Accounts: Cloud Accounts | https:\u002F\u002Fattack.mitre.org\u002Ftechniques\u002FT1078\u002F004\u002F |\n\n## Detection Fingerprint Reference\n\n| Tool | Primary fingerprint | Table |\n|------|---------------------|-------|\n| ROADtools (roadrecon) | `python` + `aiohttp` UA; full directory endpoint sweep in 5 min | AADGraphActivityLogs |\n| AADInternals | `AADInternals` \u002F toolkit strings in UA; AAD Graph reads | AADGraphActivityLogs |\n| AzureHound | Go HTTP client UA; broad MS Graph enumeration | MicrosoftGraphActivityLogs |\n| Generic recon | High GET volume across users\u002Fgroups\u002Fapps\u002FSPs in short window | both |\n\n## Validation Criteria\n\n- [ ] Both MicrosoftGraphActivityLogs and AADGraphActivityLogs confirmed ingesting\n- [ ] User-Agent fingerprint hunt for ROADtools\u002Faiohttp executed\n- [ ] AADInternals\u002FAzureHound agent hunt executed\n- [ ] Behavioral endpoint-sweep hunt executed and tuned for false positives\n- [ ] High-volume enumeration outlier query executed\n- [ ] At least one finding correlated back to a sign-in\u002Fsession and source identity\n- [ ] Best queries promoted to scheduled analytics rules with T1078.004 mapping and entity mappings\n- [ ] Known-good service principals\u002FIPs excluded via watchlist to control false positives\n",{"name":5,"tags":24,"author":33,"domain":34,"license":15,"version":35,"nist_csf":36,"subdomain":38,"description":7,"mitre_attack":39},[25,26,27,28,29,30,31,32],"threat-hunting","entra-id","microsoft-graph","kql","sentinel","roadtools","aadinternals","detection-engineering","mahipal","cybersecurity","1.0",[37],"DE.CM-09","soc-operations",[40],"T1078.004","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fdetecting-entra-offensive-tools-in-graph-logs",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill detecting-entra-offensive-tools-in-graph-logs",{"tool":55,"command":56},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill detecting-entra-offensive-tools-in-graph-logs",{"tool":58,"command":59},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill detecting-entra-offensive-tools-in-graph-logs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fdetecting-entra-offensive-tools-in-graph-logs\u002FSKILL.md",true,[63,69],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fapi-reference.md","REFERENCE","参考文档",2525,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fdetecting-entra-offensive-tools-in-graph-logs\u002Freferences\u002Fapi-reference.md",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fstandards.md",1353,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fdetecting-entra-offensive-tools-in-graph-logs\u002Freferences\u002Fstandards.md",[74,83,88,95,102,109],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":84,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":82},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":82},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":82},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":82},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":82},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]