ClientInfoString Values in Exchange Online Audit Logs Explained
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.
Baseline ClientInfoString vs. Suspicious Anomaly Patterns
| ClientInfoString Pattern | Typical Legitimate Owner | When to Treat as Compromise |
|---|---|---|
| Client=OWA | Browser OWA users on Windows/Mac | User never uses OWA, or IP/ASN mismatches workstation |
| Client=REST;Client=Microsoft.Exchange.WebServices | Approved migration/calendar sync tools | Standard employee mailbox from proxy/VPS IP |
| Client=REST;Client=Microsoft.Graph | Authorized enterprise Graph integrations | Tied to illicit OAuth consent (AV-005) or Graph CLI |
| Client=ActiveSync | Approved corporate iOS/Android mail | Unrecognized 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 access | Common when replaying stolen AiTM ESTSAUTH cookies |
Client=REST;Client=Microsoft.Exchange.WebServices | Exchange Web Services or REST script call | Frequently seen in automated BEC mail dumpers |
Client=REST;Client=Microsoft.Graph | Microsoft Graph API mailbox request | Cross-check AppAccessContext.ClientAppId for OAuth abuse |
Client=MSExchangeRPC / MacOutlook | Outlook Desktop Windows or macOS MAPI/RPC | Normal desktop baseline if matching corporate IP |
Client=ActiveSync | Mobile mail sync (iOS Mail / Samsung / Outlook) | Verify device against Intune MDM inventory |
Client=Hub / Client=Transport / Substrate | Internal Exchange routing/compliance service | System 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
- Pull 30 days of Exchange UAL logs for the suspected mailbox to establish the employee’s legitimate ClientInfoString baseline.
- Drop the CSV into AuditVane and inspect the normalized Client/UserAgent field alongside ClientIP.
- Highlight rare Client=REST, Client=EWS, or Client=OWA events colliding with non-corporate IPs.
- Cross-check LogonType (0 = Owner, 1 = Admin, 2 = Delegate) to determine whether the owner token or a delegate account accessed the mailbox.
- When Client=Microsoft.Graph appears, extract AppAccessContext.ClientAppId to identify which OAuth application made the request.
- 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.