Elastic · Vendor blog

Azure AD Graph Activity Logs: Ingestion and threat detection to close the visibility gap

Published · Source: Elastic

1 entities5 ATT&CK behaviors6 indicators14 claims

Entities & attribution

  • Infrastructure

    OneDrive

    “…ersary tooling rides on (Microsoft Teams, Microsoft Office, OneDrive, Azure PowerShell, etc.). Require managed and compliant dev…”

    Page 1 · Paragraph 74

MITRE ATT&CK behaviors

  • T1071.001 · Web Protocols

    Command and Control · C2 over HTTPS

    “…e legacy REST API for Entra ID directory objects, hosted at https://graph.windows.net/{tenantId}/{objecttype} with API versio…”

    Page 1 · Paragraph 14

  • T1059.001 · PowerShell

    Execution · PowerShell execution

    “…as the default ( 1b730954-1685-4b74-9bfd-dac224a7b894 - AAD PowerShell), which returned 403s in our tenant. After signing in:”

    Page 1 · Paragraph 56

  • T1055 · Process Injection

    Privilege Escalation · Process injection

    “… DELETE | Reads (recon) vs writes (modification, credential injection, persistence) | | http.response.status_code | HTTP statu…”

    Page 1 · Paragraph 62

  • T1567.002 · Exfiltration to Cloud Storage

    Exfiltration · Cloud service C2 / exfil

    “…ersary tooling rides on (Microsoft Teams, Microsoft Office, OneDrive, Azure PowerShell, etc.). Require managed and compliant dev…”

    Page 1 · Paragraph 74

  • T1566.001 · Spearphishing Attachment

    Initial Access · Spearphishing attachment

    “… the entire pipeline above and is extremely common in OAuth phishing.”

    Page 1 · Paragraph 76

Indicators of compromise

  • domain

    graph.microsoft[.]com
    “…sible log stream. Microsoft Graph Activity Logs (the modern graph.microsoft.com surface) went GA in April 2024. The legacy graph.windows.ne…”

    Page 1 · Paragraph 1

  • domain

    graph.windows[.]net
    “…ph.microsoft.com surface) went GA in April 2024. The legacy graph.windows.net surface, the one adversary tooling actually hits, stayed da…”

    Page 1 · Paragraph 1

  • url

    hxxps://graph.windows[.]net/{tenantId}/{objecttype}
    “…e legacy REST API for Entra ID directory objects, hosted at https://graph.windows.net/{tenantId}/{objecttype} with API versions like 1.5 , 1.6 , and 1.61-internal . Micr…”

    Page 1 · Paragraph 14

  • domain

    ADO[.]NET
    “…brary , an empty-UA tail from first-party AppIds, Microsoft ADO.NET Data Services , and the Azure portal (Chrome UAs against th…”

    Page 1 · Paragraph 20

  • url

    hxxps://graph.windows[.]net
    “TOKEN=$(az account get-access-token --resource https://graph.windows.net --query accessToken -o tsv) TID=$(az account show --query t…”

    Page 1 · Paragraph 42

  • url

    hxxps://graph.windows.net/$TID/$obj?api-version=1[.]6&\$top=5
    “… curl -sS -o /dev/null -H "Authorization: Bearer $TOKEN" \ "https://graph.windows.net/$TID/$obj?api-version=1.6&\$top=5" done”

    Page 1 · Paragraph 42

Claims & evidence

  • Reported Claim

    Azure AD Graph Activity Logs: Ingestion and threat detection to close the visibility gap exhibits C2 over HTTPS (T1071.001)

    “…e legacy REST API for Entra ID directory objects, hosted at https://graph.windows.net/{tenantId}/{objecttype} with API versio…”

    Page 1 · Paragraph 14

  • Reported Claim

    Azure AD Graph Activity Logs: Ingestion and threat detection to close the visibility gap exhibits PowerShell execution (T1059.001)

    “…as the default ( 1b730954-1685-4b74-9bfd-dac224a7b894 - AAD PowerShell), which returned 403s in our tenant. After signing in:”

    Page 1 · Paragraph 56

  • Reported Claim

    Azure AD Graph Activity Logs: Ingestion and threat detection to close the visibility gap exhibits Process injection (T1055)

    “… DELETE | Reads (recon) vs writes (modification, credential injection, persistence) | | http.response.status_code | HTTP statu…”

    Page 1 · Paragraph 62

  • Reported Claim

    Azure AD Graph Activity Logs: Ingestion and threat detection to close the visibility gap exhibits Cloud service C2 / exfil (T1567.002)

    “…ersary tooling rides on (Microsoft Teams, Microsoft Office, OneDrive, Azure PowerShell, etc.). Require managed and compliant dev…”

    Page 1 · Paragraph 74

  • Reported Claim

    Azure AD Graph Activity Logs: Ingestion and threat detection to close the visibility gap exhibits Spearphishing attachment (T1566.001)

    “… the entire pipeline above and is extremely common in OAuth phishing.”

    Page 1 · Paragraph 76

  • Inferred Relationship

    C2 over HTTPS precedes PowerShell execution

    “…as the default ( 1b730954-1685-4b74-9bfd-dac224a7b894 - AAD PowerShell), which returned 403s in our tenant. After signing in:”

    Page 1 · Paragraph 56

  • Inferred Relationship

    PowerShell execution precedes Process injection

    “… DELETE | Reads (recon) vs writes (modification, credential injection, persistence) | | http.response.status_code | HTTP statu…”

    Page 1 · Paragraph 62

  • Inferred Relationship

    Process injection precedes Cloud service C2 / exfil

    “…ersary tooling rides on (Microsoft Teams, Microsoft Office, OneDrive, Azure PowerShell, etc.). Require managed and compliant dev…”

    Page 1 · Paragraph 74

  • Inferred Relationship

    Cloud service C2 / exfil precedes Spearphishing attachment

    “… the entire pipeline above and is extremely common in OAuth phishing.”

    Page 1 · Paragraph 76

  • Reported Claim

    graph.microsoft.com used as network infrastructure

    “…sible log stream. Microsoft Graph Activity Logs (the modern graph.microsoft.com surface) went GA in April 2024. The legacy graph.windows.ne…”

    Page 1 · Paragraph 1

  • Reported Claim

    graph.windows.net used as network infrastructure

    “…ph.microsoft.com surface) went GA in April 2024. The legacy graph.windows.net surface, the one adversary tooling actually hits, stayed da…”

    Page 1 · Paragraph 1

  • Reported Claim

    ADO.NET used as network infrastructure

    “…brary , an empty-UA tail from first-party AppIds, Microsoft ADO.NET Data Services , and the Azure portal (Chrome UAs against th…”

    Page 1 · Paragraph 20

  • Lore Hypothesis

    Investigation hypothesizes A loader sideloaded via a signed binary stages an in-memory implant

    “…e legacy REST API for Entra ID directory objects, hosted at https://graph.windows.net/{tenantId}/{objecttype} with API versio…”

    Page 1 · Paragraph 14

  • Lore Hypothesis

    Investigation hypothesizes Data exfiltration occurred through cloud storage

    “…e legacy REST API for Entra ID directory objects, hosted at https://graph.windows.net/{tenantId}/{objecttype} with API versio…”

    Page 1 · Paragraph 14