[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B60FP7VW1BHY7Z79YZP6Z4":3,"skill-same:01M7B60FP7VW1BHY7Z79YZP6Z4":81},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":13,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M7B60FP7VW1BHY7Z79YZP6Z4","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.","vikasvardhanv\u002Fjerry_skills","vikasvardhanv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99010657?v=4","01M7B2B0VN78W7529RQX5BR6DZ","01M7B2B0WDNTXJHRK3QNPNWRP6",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-entra-offensive-tools-in-graph-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\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":14,"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","1eb986d0b0ecc180291597e08eb5a58288843536","skills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-entra-offensive-tools-in-graph-logs","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv","2026-08-25 13:16:33",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add vikasvardhanv\u002Fjerry_skills --skill detecting-entra-offensive-tools-in-graph-logs",{"tool":53,"command":54},"bunx","bunx skills add vikasvardhanv\u002Fjerry_skills --skill detecting-entra-offensive-tools-in-graph-logs",{"tool":56,"command":57},"pnpm","pnpm dlx skills add vikasvardhanv\u002Fjerry_skills --skill detecting-entra-offensive-tools-in-graph-logs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-entra-offensive-tools-in-graph-logs\u002FSKILL.md",true,[61,65,71,75],{"path":62,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":15},"LICENSE","许可证",11255,{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fapi-reference.md","REFERENCE","参考文档",2525,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-entra-offensive-tools-in-graph-logs\u002Freferences\u002Fapi-reference.md",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fstandards.md",1353,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-entra-offensive-tools-in-graph-logs\u002Freferences\u002Fstandards.md",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"scripts\u002Fagent.py","SCRIPT","脚本",5349,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-entra-offensive-tools-in-graph-logs\u002Fscripts\u002Fagent.py",[82,90,97,104,111,118],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7BESR1CJ3H5SP9XM8KYJZ9W","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","MIT","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7BES1YA6R97W7QPMFFM1PED","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7BERNHYGY035AR00VRT03KE","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7BERCK1EAKTWW7R436WAR0J","notebooklm","Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio\u002FVideo Overviews, Mind Maps, Reports incl. Briefing Doc\u002FStudy Guide\u002FFAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M7BEQZAZAQRTXFJRY7RHV3TY","litreview","Academic literature orientation skill that searches papers via free keyless APIs (PubMed E-utilities + OpenAlex) by default — with the Consensus MCP as an optional enhancement lane when connected — builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a formatted Word (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — an orientation guide that lets a researcher dive in confidently, not a finished review. Use when the user starts literature-oriented research (e.g., 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'). Do NOT use for single one-off paper searches wanting a quick list — that's a plain PubMed\u002FOpenAlex (or Consensus) query.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":19},"01M7BEQKJ45K31QK5VRAQSVJCJ","grants","NIH grant research skill for clinical researchers. Grill-me intake (research idea + career stage + preliminary data + environment + submission posture + known institute targets) locks down the funding strategy before any search runs. Runs a 5-facet Consensus positioning analysis (with draft Significance\u002FInnovation language), maps the research to the right NIH institutes and study sections via RePORTER, finds NOSIs and funded overlap, and produces an editable Word document (.docx) with budget\u002Fscope-aware mechanism recommendations, submission timelines, and a mandatory program officer recommendation. Use when the user asks about research funding or makes any grant-related request (e.g., 'grants for [topic]', 'find grants for my research idea', 'what grants match my research', 'help me find NIH funding', 'grant opportunities for my research'). NIH-only scope — non-NIH funders (PCORI, DOD CDMRP, VA, foundations) are out of scope and flagged at intake.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fgrants\u002Fskills\u002Fgrants\u002FSKILL.md",[],[]]