What is the Windows Support Diagnostic Tool (MSDT)?
The Microsoft Support Diagnostic Tool (MSDT) is a Windows utility that allows the operating system and support personnel to collect diagnostic information. It supports the ms-msdt:// URL protocol handler, enabling applications and web pages to invoke diagnostic workflows. MSDT became a prominent attack surface in 2022, first via Follina (CVE-2022-30190), which exploited MSDT via Word documents, and then via DogWalk (CVE-2022-34713), which exploited it via .diagcab diagnostic cabinet files.
Overview
CVE-2022-34713, nicknamed DogWalk, is a path traversal vulnerability in the Windows MSDT that allows a malicious .diagcab (diagnostic cabinet) file to place an executable in the Windows Startup folder. When a user opens the crafted .diagcab file, the malicious executable is silently dropped to the Startup directory — and executes the next time the user logs in. DogWalk was originally reported to Microsoft in January 2020 and initially declined as "not a security vulnerability"; it was patched in August 2022 after public pressure following Follina.
Affected Versions
| Product | Vulnerable | Fixed |
|---|---|---|
| Windows 7 SP1 | Yes | August 2022 CU |
| Windows Server 2008 R2 | Yes | August 2022 CU |
| Windows 10 (all versions) | Yes | August 2022 CU |
| Windows 11 | Yes | August 2022 CU |
| Windows Server 2012 – 2022 | Yes | August 2022 CU |
Technical Details
The Windows MSDT diagnostic cabinet format (.diagcab) packages diagnostic scripts and resources. DogWalk exploits a path traversal flaw in how MSDT extracts and processes files from the cabinet:
- Mechanism: A crafted
.diagcabfile includes a resource with a relative path traversal (../../) that causes MSDT to write a file outside the intended extraction directory — specifically into%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\ - Execution: The file is not executed immediately; it runs the next time the user logs in to Windows
- Attack delivery: Delivered as an email attachment, download link, or embedded in a web page leveraging browser download and automatic extraction
- User interaction: Required — the victim must open the
.diagcabfile; Windows does not warn that.diagcabfiles can be dangerous - CVSS note: The score's "Local" attack vector reflects that the file must be executed locally; in practice, remote delivery via email or web is trivial
DogWalk is distinct from Follina (CVE-2022-30190) but shares the same MSDT attack surface. Follina triggered MSDT from Word documents via the ms-msdt:// URL protocol; DogWalk uses the cabinet file extraction path.
Discovery
First discovered and reported to Microsoft in January 2020 by security researcher imre (Twitter: @j00sean). Microsoft initially assessed the issue as not meeting the security servicing bar. The vulnerability regained public attention in May–June 2022 alongside the Follina zero-day, with Kevin Beaumont (DoublePulsar) publishing renewed analysis. Microsoft reversed course and patched it in August 2022.
Exploitation Context
CISA added CVE-2022-34713 to KEV on the same day as the August 2022 Patch Tuesday patch, indicating confirmation of active exploitation in the wild. The .diagcab file delivery vector is effective because:
- Windows does not display a security warning when a
.diagcabfile is downloaded - The Startup folder persistence mechanism is stealthy — no visible effect until next login
- The file extension is obscure enough that many users and email security products do not flag it
Remediation
- Apply the August 2022 Patch Tuesday cumulative update for your Windows version
- If immediate patching is not possible, block
.diagcabfile execution via file type restriction rules in email gateways and endpoint security tools - Disable the MSDT URL protocol handler as a workaround (note: this also disables Follina mitigation):
reg delete "HKEY_CLASSES_ROOT\ms-msdt" /f - Block the MSDT protocol in browser settings and email security policies
- Review Windows Startup folders for unexpected executables:
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2022-34713 |
| Vendor / Product | Microsoft — Windows |
| NVD Published | 2022-08-09 |
| NVD Last Modified | 2025-10-30 |
| CVSS 3.1 Score | 7.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CISA KEV Added | 2022-08-09 |
| CISA KEV Deadline | 2022-08-30 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2020-01-01 | DogWalk vulnerability originally discovered and reported to Microsoft by security researcher imre; Microsoft declined to patch at the time |
| 2022-06-01 | Vulnerability resurfaces in public attention alongside Follina (CVE-2022-30190); proof-of-concept circulates |
| 2022-08-09 | Microsoft patches CVE-2022-34713 in August 2022 Patch Tuesday; CISA adds to KEV same day |
| 2022-08-30 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| Microsoft Security Response Center — CVE-2022-34713 | Vendor Advisory |
| Kevin Beaumont (DoublePulsar) — DogWalk: MSDT .diagcab RCE | Security Research |
| NVD — CVE-2022-34713 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |