What is Advanced Local Procedure Call (ALPC)?
ALPC is an internal Windows inter-process communication mechanism used extensively by system services — including the Task Scheduler — to communicate between processes with different privilege levels. Because ALPC endpoints are often exposed to lower-privileged callers by design, bugs in how a privileged service validates ALPC requests are a recurring source of local privilege escalation on Windows.
Overview
CVE-2018-8440 is an elevation of privilege vulnerability in the Windows Task Scheduler's handling of ALPC calls. A locally authenticated, low-privileged attacker can exploit the flaw to gain SYSTEM privileges. It became widely known because a security researcher using the handle "SandboxEscaper" publicly disclosed technical details and a working proof-of-concept exploit on Twitter/GitHub in late August 2018 — before Microsoft had a patch ready — making it a public zero-day for roughly two weeks.
Technical Details
The bug stems from improper permission validation in the Task Scheduler's SchRpcSetSecurity ALPC method, which allowed a caller to set an arbitrary discretionary access control list (DACL) on files normally protected from modification by unprivileged users. By pointing this method at a sensitive system file (such as a service binary) and granting themselves write access, an attacker could overwrite that file with malicious content and achieve code execution at a higher privilege level than they started with — a straightforward privilege escalation with low attack complexity and no user interaction required.
Discovery
The vulnerability was publicly disclosed by security researcher "SandboxEscaper" in August 2018, who released proof-of-concept code without prior coordinated disclosure to Microsoft, giving defenders no advance warning.
Exploitation Context
Before Microsoft's official patch shipped in the September 2018 Patch Tuesday update, the public proof-of-concept was reportedly picked up and used in real-world attacks; security researchers at ESET later reported the PowerPool threat group using this vulnerability against a small number of targets shortly after the public disclosure. CISA added CVE-2018-8440 to the KEV catalog in March 2022, and the entry notes confirmed use in ransomware operations as well.
Remediation
- Apply the September 2018 Windows security update (or later cumulative update) addressing CVE-2018-8440.
- Treat this as a high-priority patch on any system given the known gap between public zero-day disclosure and vendor fix, and confirmed subsequent exploitation.
- Apply least-privilege principles to limit what a low-privileged local account can reach, reducing the value of this and similar local EoP bugs.
- Maintain EDR/antivirus coverage capable of detecting known "SandboxEscaper"-family exploit tooling and its file-permission-tampering behavior.
- Monitor Task Scheduler and file-permission change logs for anomalous DACL modifications on sensitive system files.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2018-8440 |
| Vendor / Product | Microsoft — Windows |
| NVD Published | 2018-09-13 |
| NVD Last Modified | 2025-10-28 |
| CVSS 3.1 Score | 7.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CISA KEV Added | 2022-03-28 |
| CISA KEV Deadline | 2022-04-18 |
| Known Ransomware Use | ⚠️ Yes |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2018-08-27 | Security researcher "SandboxEscaper" publicly discloses a proof-of-concept exploit before a patch was available |
| 2018-09-11 | Patched by Microsoft (September 2018 Patch Tuesday) |
| 2022-03-28 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-04-18 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2018-8440 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| Microsoft Security Response Center — CVE-2018-8440 | Vendor Advisory |