Skip to main content
Mallory
← Back to News
privilege-escalation-methodendpoint-software-vulnerabilityprivilege-escalation-techniqueoffensive-tooling-release

Windows RPC and Service Flaws Enabled Privilege Escalation and Sandbox Escape

Attack Tradecraft · 12 sources · Updated 4mo ago · First seen Aug 23, 2022

Windows RPC and Service Flaws Enabled Privilege Escalation and Sandbox Escape

Multiple public write-ups detailed how Windows service and RPC design flaws enabled local privilege escalation, sandbox escape, and in some cases reliable code execution. Research on the Windows SSDP service linked FC_BINDING_CONTEXT misuse to CVE-2025-48815, showing that a context handle from one RPC interface could be passed into another interface expecting a different type and ultimately abused to call CloseHandle on an unintended handle. Separate analysis of the Windows telephony service described CVE-2024-26230 as a use-after-free in tapisrv caused by improper ownership validation of RPC-managed objects, allowing a dangling pointer to be reclaimed with attacker-controlled data and steered toward LoadLibraryW despite XFG protections. Earlier Windows RPC research also covered Storage Service bugs CVE-2019-0983 and CVE-2019-0998, where file-copy, directory, and ACL logic exposed through RPC could be abused to overwrite privileged files or alter their security descriptors.

Other disclosures showed the same pattern across Windows subsystems. Analysis of CVE-2022-22715 in npfs.sys demonstrated that malformed LOCAL\ named pipe paths could trigger integer overflow and out-of-bounds kernel writes, enabling escape from the Adobe Reader AppContainer sandbox and escalation to kernel read/write. Research into CVE-2021-1648 in splwow64 described bypasses in printer-handle validation and an arbitrary address read, while older work on CVE-2018-8550 examined COM DfMarshal abuse for elevation of privilege through privileged unmarshaling paths. Related reporting also highlighted Microsoft hard-link mitigations and a Citrix restricted-desktop breakout that relied on allowed scripting components rather than a zero-day, underscoring how weak validation, unsafe object handling, and incomplete execution controls repeatedly exposed high-impact privilege boundaries on Windows.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

29 events · Nov 10, 2017 – 2025
  1. Reported Jun 26, 20265mo ago

    Additional RPC context-handle bugs CVE-2025-53143 and CVE-2025-54104 found

    Using NtObjectManager to identify RPC servers with multiple FC_BINDING_CONTEXT parameters, the researcher found additional cases tracked as CVE-2025-53143 and CVE-2025-54104. The article presents crash-inducing examples discovered through the same analysis approach.

    From context_handle to type confusion - Whereisk0Shl
  2. Reported Jun 26, 20265mo ago

    CVE-2025-48815 identified in Windows SSDP service

    The research uncovered CVE-2025-48815 in ssdpsrv, where a context handle from SSDPOpenRpc could be passed to RemoveSyncHandle as a different handle type. This let the service close an arbitrary handle accessible in its process context.

    From context_handle to type confusion - Whereisk0Shl
  3. Reported Apr 14, 20267mo ago

    Cognisys demonstrates Citrix breakout via batch and VBScript

    Cognisys assessed a restricted Citrix desktop and bypassed controls by executing a .bat file that generated and ran a VBScript through wscript.exe, which launched PowerShell indirectly. The breakout yielded a fully interactive PowerShell session without a zero-day exploit.

    Citrix Breakout When Restricted Means Nothing | Cognisys Group Labs
  4. 2025

    Researcher begins Windows RPC type-confusion investigation

    The researcher began investigating a class of Windows RPC type-confusion issues while reviewing the attack surface of Windows HTTP Services. This work later led to multiple CVEs involving cross-type context-handle usage.

    From context_handle to type confusion - Whereisk0Shl
  5. Apr 2024

    Microsoft patches CVE-2024-26230

    Microsoft patched CVE-2024-26230 in April 2024. The vulnerability was a use-after-free in the Windows telephony service caused by improper ownership validation for GOLD objects.

    A trick, the story of CVE-2024-26230 - Whereisk0Shl
  6. Aug 23, 20224y ago

    Researcher publicly discloses CVE-2022-22715 details

    The author publicly disclosed technical details of CVE-2022-22715 in a blog post. The write-up described the integer overflow and underflow in NpTranslateContainerLocalAlias and its use for Adobe Reader sandbox escape.

    Break me out of sandbox in old pipe - CVE-2022-22715 Windows Dirty Pipe - Whereisk0Shl
  7. Feb 8, 20225y ago

    Microsoft patches CVE-2022-22715 and assigns CVE

    Microsoft released a patch for the npfs.sys vulnerability and assigned CVE-2022-22715. The fix changed size calculations to safer integer handling and added a final size bound check.

    Break me out of sandbox in old pipe - CVE-2022-22715 Windows Dirty Pipe - Whereisk0Shl
  8. Oct 17, 20215y ago

    CVE-2022-22715 reported to Microsoft via TianfuCup

    The Windows Named Pipe File System vulnerability CVE-2022-22715 was reported to Microsoft via TianfuCup 2021. The bug affected npfs.sys and enabled sandbox escape from AppContainer or restricted contexts.

    Break me out of sandbox in old pipe - CVE-2022-22715 Windows Dirty Pipe - Whereisk0Shl
  9. Jan 13, 20216y ago

    Microsoft patches CVE-2021-1648 in January Patch Tuesday

    Microsoft released the patch for CVE-2021-1648 in the January 2021 Patch Tuesday release. The issue affected the Windows splwow64 printing service and merged multiple bypass and disclosure cases.

    The Story Of CVE-2021-1648 - Whereisk0Shl
  10. Aug 22, 20206y ago

    Researcher awarded bounty for CVE-2021-1648 report

    A bounty was awarded for the reported splwow64 vulnerability. This occurred while the patch was still pending.

    The Story Of CVE-2021-1648 - Whereisk0Shl
  11. Aug 19, 20206y ago

    MSRC postpones patch for CVE-2021-1648

    MSRC decided to put off the patch for the splwow64 issue. The article says Microsoft had planned to patch it in October 2020 but delayed the fix by four months.

    The Story Of CVE-2021-1648 - Whereisk0Shl
  12. Jul 27, 20206y ago

    CVE-2021-1648 reported to MSRC

    The author reported the Windows splwow64 vulnerability later tracked as CVE-2021-1648 to MSRC. The issue involved bypasses of earlier printer-handle validation and additional information disclosure cases.

    The Story Of CVE-2021-1648 - Whereisk0Shl
  13. Reported Jun 7, 20197y ago

    Microsoft introduces hard-link mitigation in Insider build 18898.1000

    Microsoft introduced a mitigation in Windows Insider Preview build 18898.1000 to stop ordinary users from creating hard links to privileged files. The NTFS change enforced real target access checks during hard-link creation.

    Microsoft Hardlink缓解机制简单分析 - Whereisk0Shl
  14. May 2019

    Researcher receives bounty for StorSvc vulnerabilities

    The author received a bounty after reporting CVE-2019-0983 and CVE-2019-0998. This followed Microsoft's patching of the issues.

    StorSvc writeup and introduction about my analysis script - Whereisk0Shl
  15. May 2019

    Microsoft patches CVE-2019-0983 and CVE-2019-0998

    Microsoft released patches for the StorSvc vulnerabilities in May 2019. The fixes added client impersonation around CopyFileW for CVE-2019-0983 and directory verification before SetNamedSecurityInfoW for CVE-2019-0998.

    StorSvc writeup and introduction about my analysis script - Whereisk0Shl
  16. Feb 2019

    Microsoft reproduces CVE-2019-0983 and CVE-2019-0998

    Microsoft reproduced the two StorSvc vulnerabilities after they were reported. This validated the file overwrite and DACL modification issues in the Windows Storage Service.

    StorSvc writeup and introduction about my analysis script - Whereisk0Shl
  17. Feb 2019

    StorSvc privilege escalation bugs reported to Microsoft

    k0shl reported two Windows Storage Service local privilege escalation vulnerabilities, CVE-2019-0983 and CVE-2019-0998, to Microsoft. Both issues involved privileged file operations reachable through StorSvc RPC paths.

    StorSvc writeup and introduction about my analysis script - Whereisk0Shl
  18. Reported Nov 13, 20179y ago

    Project Zero uploads full PoC for StorSvc issue

    A full proof of concept for the StorSvc vulnerability was uploaded publicly. The PoC demonstrated the arbitrary file security descriptor overwrite path.

    Windows: StorSvc SvcMoveFileInheritSecurity Arbitrary File Security Descriptor Overwrite EoP [42450470] - Project Zero
  19. Reported Nov 13, 20179y ago

    Microsoft marks StorSvc issue fixed under CVE-2018-0983

    Microsoft later marked the remaining StorSvc issue as fixed in its advisory for CVE-2018-0983. This indicated a subsequent patch addressed the unfixed edge case from Project Zero issue 1428.

    Windows: StorSvc SvcMoveFileInheritSecurity Arbitrary File Security Descriptor Overwrite EoP [42450470] - Project Zero
  20. Reported Nov 13, 20179y ago

    Project Zero discloses unfixed StorSvc issue 1428 publicly

    The StorSvc issue became public after the disclosure timeline elapsed. Public disclosure occurred because the reporter determined the edge case had not been fixed.

    Windows: StorSvc SvcMoveFileInheritSecurity Arbitrary File Security Descriptor Overwrite EoP [42450470] - Project Zero
  21. Reported Nov 13, 20179y ago

    Project Zero finds StorSvc issue 1428 still unpatched

    After reviewing Microsoft's February patch, the reporter concluded that issue 1427 was fixed but issue 1428 remained unfixed. This established that the original remediation was incomplete.

    Windows: StorSvc SvcMoveFileInheritSecurity Arbitrary File Security Descriptor Overwrite EoP [42450470] - Project Zero
  22. Reported Nov 13, 20179y ago

    Microsoft releases fix for CVE-2018-0826

    Microsoft issued a public fix for CVE-2018-0826. Project Zero later determined this patch fixed issue 1427 but not the separate edge case in issue 1428.

    Windows: StorSvc SvcMoveFileInheritSecurity Arbitrary File Security Descriptor Overwrite EoP [42450470] - Project Zero
  23. Reported Nov 13, 20179y ago

    Microsoft assigns CVE-2018-0826 to StorSvc issue

    MSRC assigned CVE-2018-0826 to the StorSvc vulnerability track. The CVE assignment identified the issue for public patching and advisory purposes.

    Windows: StorSvc SvcMoveFileInheritSecurity Arbitrary File Security Descriptor Overwrite EoP [42450470] - Project Zero
  24. Reported Nov 13, 20179y ago

    MSRC says StorSvc fixes remain on track for February 2018

    MSRC confirmed to Project Zero that the StorSvc issues were on track for a February 2018 fix. This was an update on Microsoft's remediation schedule.

    Windows: StorSvc SvcMoveFileInheritSecurity Arbitrary File Security Descriptor Overwrite EoP [42450470] - Project Zero
  25. Reported Nov 13, 20179y ago

    MSRC marks StorSvc issue 1428 as duplicate of 1427

    MSRC reported that issue 1428 had been reproduced and was being tracked as a duplicate of issue 1427. Microsoft treated the two StorSvc issues as part of the same remediation track.

    Windows: StorSvc SvcMoveFileInheritSecurity Arbitrary File Security Descriptor Overwrite EoP [42450470] - Project Zero
  26. Reported Nov 13, 20179y ago

    MSRC reproduces related StorSvc issue 1427

    MSRC reported that Project Zero issue 1427 had been reproduced and was under investigation for a security release. This established that Microsoft had validated at least the related StorSvc bug.

    Windows: StorSvc SvcMoveFileInheritSecurity Arbitrary File Security Descriptor Overwrite EoP [42450470] - Project Zero
  27. Nov 13, 20179y ago

    MSRC assigns case numbers to Project Zero StorSvc issues

    MSRC assigned case 42121 to Project Zero issue 1428 and case 42122 to issue 1427. This formalized Microsoft's internal tracking of the StorSvc reports.

    Windows: StorSvc SvcMoveFileInheritSecurity Arbitrary File Security Descriptor Overwrite EoP [42450470] - Project Zero
  28. Nov 11, 20179y ago

    MSRC acknowledges the StorSvc report

    MSRC acknowledged receipt of the Project Zero StorSvc reports. This confirmed Microsoft had received the vulnerability submission for review.

    Windows: StorSvc SvcMoveFileInheritSecurity Arbitrary File Security Descriptor Overwrite EoP [42450470] - Project Zero
  29. Nov 10, 20179y ago

    Project Zero reports StorSvc file security overwrite bug to MSRC

    Google Project Zero submitted a Windows Elevation of Privilege vulnerability in StorSvc SvcMoveFileInheritSecurity to MSRC. The flaw allowed a normal user to assign an arbitrary security descriptor to an arbitrary file via a hardlinked file move.

    Windows: StorSvc SvcMoveFileInheritSecurity Arbitrary File Security Descriptor Overwrite EoP [42450470] - Project Zero
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.