Purview UAL & Parsing · T1114 / T1078

ClientInfoString Values in Exchange Online Audit Logs Explained

Direct Answer (Key Forensic Takeaway)

ClientInfoString in Exchange Online AuditData reveals the exact protocol or application API used to touch a mailbox—such as Client=OWA (webmail), Client=REST;Client=Microsoft.Exchange.WebServices (EWS/REST automation), or Client=MacOutlook. Unexpected EWS, REST, or OWA strings tied to unfamiliar IPs strongly indicate session cookie replay or automated BEC scraping.

Architecture & Telemetry Context

Unlike Entra ID Sign-In logs, Exchange Online mailbox audit records often leave standard HTTP UserAgent headers blank and instead embed protocol provenance inside ClientInfoString. Analysts who gloss over ClientInfoString miss one of the sharpest behavioral fingerprints in Exchange DFIR.

Because corporate employees tend to follow predictable mail client habits—using New Outlook for Windows, MacOutlook, or Outlook Mobile—suddenly seeing Client=REST;Client=Microsoft.Exchange.WebServices or an unusual Client=OWA;Action=ViaScript string from a foreign IP instantly separates attacker automation from normal workday activity.

ClientInfoString uses semicolon-delimited tags describing both the primary client layer and sometimes the sub-action triggered inside Exchange. For example, Client=OWA indicates Outlook on the Web (standard browsers or AiTM cookie-replay scripts), Client=REST;Client=Microsoft.Graph reveals Graph API mailbox reads, and Client=ActiveSync tracks mobile EAS devices.

Crucially, ClientInfoString also distinguishes human actions from internal Exchange Online background workers: strings containing Client=Hub, Client=Transport, or Client=Substrate reflect Microsoft backend indexing, DLP, and mail-routing services rather than interactive human access.

1. RAW TELEMETRY Purview UAL & Parsing T1114 / T1078 2. CLIENT-SIDE PARSE AuditVane Engine ClientInfoString Exchange Online 0 Bytes Uploaded 3. SOC OUTCOME Scoped Containment IOCs · CSV · KQL
Local browser DFIR workflow for ClientInfoString Exchange Online (T1114 / T1078)
AdSense-Ready In-Article Placement

Baseline ClientInfoString vs. Suspicious Anomaly Patterns

ClientInfoString PatternTypical Legitimate OwnerWhen to Treat as Compromise
Client=OWABrowser OWA users on Windows/MacUser never uses OWA, or IP/ASN mismatches workstation
Client=REST;Client=Microsoft.Exchange.WebServicesApproved migration/calendar sync toolsStandard employee mailbox from proxy/VPS IP
Client=REST;Client=Microsoft.GraphAuthorized enterprise Graph integrationsTied to illicit OAuth consent (AV-005) or Graph CLI
Client=ActiveSyncApproved corporate iOS/Android mailUnrecognized device ID or foreign ISP bypassing CA

Forensic Telemetry Fields & High-Signal Indicators

Telemetry Field / Pattern Meaning in M365 / Entra High-Signal Threat Indicator
Client=OWA;Action=...Outlook on the Web browser/session accessCommon when replaying stolen AiTM ESTSAUTH cookies
Client=REST;Client=Microsoft.Exchange.WebServicesExchange Web Services or REST script callFrequently seen in automated BEC mail dumpers
Client=REST;Client=Microsoft.GraphMicrosoft Graph API mailbox requestCross-check AppAccessContext.ClientAppId for OAuth abuse
Client=MSExchangeRPC / MacOutlookOutlook Desktop Windows or macOS MAPI/RPCNormal desktop baseline if matching corporate IP
Client=ActiveSyncMobile mail sync (iOS Mail / Samsung / Outlook)Verify device against Intune MDM inventory
Client=Hub / Client=Transport / SubstrateInternal Exchange routing/compliance serviceSystem baseline—always check LogonType before alerting

ClientInfoString Inside Exchange UpdateInboxRules AuditData

{
  "CreationTime": "2026-12-01T08:19:10Z",
  "Operation": "UpdateInboxRules",
  "UserId": "exec@contoso-demo.invalid",
  "ClientIPAddress": "185.220.101.45",
  "ClientInfoString": "Client=OWA;Action=Options",
  "LogonType": 0
}

Here Client=OWA;Action=Options reveals the attacker navigated directly into OWA Settings to alter inbox rules, while LogonType 0 confirms they authenticated directly as the mailbox owner rather than an Exchange delegate.

AuditVane automatically extracts ClientInfoString into the normalized UserAgent/Client column whenever no separate HTTP UserAgent property exists.

Profile ClientInfoString Baseline vs. Anomalies in PowerShell

$rows = Import-Csv .\Exec_UAL_30d.csv
$rows | ForEach-Object {
  $ad = $_.AuditData | ConvertFrom-Json
  if ($ad.ClientInfoString) {
    [PSCustomObject]@{ Client = $ad.ClientInfoString; IP = $ad.ClientIPAddress; Op = $ad.Operation }
  }
} | Group-Object Client, IP | Sort-Object Count -Descending | Format-Table Count, Name -AutoSize

Sample ClientInfoString Baseline Grouping

Count Name
----- ----
 1420 Client=MacOutlook, 203.0.113.77
    8 Client=OWA;Action=Search, 185.220.101.45  <-- ANOMALY
    4 Client=REST;Client=Microsoft.Exchange.WebServices, 185.220.101.45  <-- ANOMALY

Real-World Incident Walkthrough

An executive uses Microsoft Outlook on macOS exclusively (`Client=MacOutlook`) from corporate and home US IPs. After clicking a tax-themed lure, Purview logs show `SearchQueryInitiatedExchange` (`Client=OWA;Action=Search`) and `MailItemsAccessed` (`Client=REST;Client=Microsoft.Exchange.WebServices`) originating from 185.220.101.45.

Loading the CSV into AuditVane surfaces both `ClientInfoString` anomalies cleanly inside the Client/UserAgent column and ties them directly to `New-InboxRule` executed minutes later.

Step-by-Step Triage, Containment & Verification

  1. Pull 30 days of Exchange UAL logs for the suspected mailbox to establish the employee’s legitimate ClientInfoString baseline.
  2. Drop the CSV into AuditVane and inspect the normalized Client/UserAgent field alongside ClientIP.
  3. Highlight rare Client=REST, Client=EWS, or Client=OWA events colliding with non-corporate IPs.
  4. Cross-check LogonType (0 = Owner, 1 = Admin, 2 = Delegate) to determine whether the owner token or a delegate account accessed the mailbox.
  5. When Client=Microsoft.Graph appears, extract AppAccessContext.ClientAppId to identify which OAuth application made the request.
  6. Block unauthorized EWS/ActiveSync protocols per mailbox via Set-CASMailbox if needed during hardening.

How to Verify Containment Completed Cleanly

  • 30-day normal ClientInfoString profile compared against incident window.
  • All anomalous EWS/REST/OWA ClientIPs correlated against Entra Sign-In logs.
  • Unexpected ClientAppIds audited in Entra Enterprise Applications.

Analyst Blind Spots, Licensing Quirks & False Positives

Seeing Client=OWA does NOT rule out automated scripting. Attackers routinely pass stolen OWA cookies into Python/Playwright scripts that emit Client=OWA while harvesting emails at high speed.

Do not panic over Client=Hub or Client=Substrate; those represent Microsoft’s own backend routing and search indexing infrastructure.

Frequently Asked Questions

Does Client=OWA always mean a real human clicked inside Edge or Chrome?

No. Headless browser automation and stolen OWA cookie replay tools both generate Client=OWA entries.

Where does AuditVane display ClientInfoString?

AuditVane normalizes ClientInfoString into the UserAgent/Client column when no UserAgent exists and prints the exact AuditData.ClientInfoString key in the Event Inspector.

What LogonType value indicates a delegate vs. owner?

LogonType 0 means Mailbox Owner, 1 means Administrator, and 2 means Delegate.

How do I disable EWS or ActiveSync for a compromised mailbox?

Use Set-CASMailbox -Identity user@domain.com -EwsEnabled $false -ActiveSyncEnabled $false.

Related Forensics Guides