Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2018-8440: Windows Task Scheduler ALPC Local Privilege Escalation

Published Sep 13, 2018 · Updated 21 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS7.8High · v3.1
EPSS18.5%97th percentile
CISA KEVYesAdded Mar 28, 2022
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2018-8440CWE-862

CVE-2018-8440 is a local privilege-escalation vulnerability in Windows Task Scheduler's handling of Advanced Local Procedure Call (ALPC) requests. The SchRpcSetSecurity API function fails to perform appropriate permission checks, allowing an attacker with existing low-privileged access to elevate to SYSTEM. Affected product families include Windows 7, Windows 8.1, Windows RT 8.1, Windows 10, Windows Server 2008 and 2008 R2, Windows Server 2012 and 2012 R2, Windows Server 2016, and Windows 10-based server releases. Public proof-of-concept exploits exist, and the vulnerability has been used in post-compromise attacks and GandCrab ransomware.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a low-privileged attacker to obtain SYSTEM privileges and compromise the host's confidentiality, integrity, and availability. Elevated execution can enable access to protected data, modification of system configuration, and installation or execution of additional malware. The vulnerability is a post-compromise escalation mechanism rather than an initial remote-access vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Until patching is completed, restrict opportunities for untrusted local code execution and monitor endpoints for local privilege-escalation attempts and unexpected SYSTEM-level execution. These measures reduce exposure but do not correct the permission-checking flaw.

Remediation

Patch, then assume compromise.

Apply the Microsoft security update addressing CVE-2018-8440 for each affected Windows version.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
alpc_taskscheduler.rbThis repository contains a single Metasploit module (alpc_taskscheduler.rb) that exploits CVE-2018-8440, a local privilege escalation vulnerability in the Microsoft Windows Task Scheduler's ALPC interface. The exploit targets Windows 10 x64 systems and requires an existing Meterpreter session. It works by abusing the SchRpcSetSecurity method to set arbitrary DACLs on files in the c:\windows\tasks directory, allowing privilege escalation via a hardlink attack. The exploit overwrites PrintConfig.dll in the system's driver store, which may have side effects. The module uses a DLL payload (ALPC-TaskSched-LPE.dll) injected via Reflective DLL Injection to achieve SYSTEM privileges. The code is written in Ruby and is designed to be run within the Metasploit framework.Disclosed Aug 27, 2018 · Framework: metasploit · ruby · localWeaponizedCVE-2018-8440This repository is a standalone proof-of-concept (PoC) exploit for CVE-2018-8440, a privilege escalation vulnerability in Microsoft Windows Task Scheduler (SchRpc). The exploit is implemented in C++ and is structured as a Visual Studio solution with three main projects: 'CommonUtils' (utility library for NT object and symlink manipulation), 'payload' (a DLL that executes notepad.exe when loaded), and 'poc' (the main exploit executable). The exploit leverages advanced NT object and registry symlink techniques to manipulate the Task Scheduler service and achieve code execution as SYSTEM. The PoC is operational and demonstrates successful exploitation by running an arbitrary DLL payload as SYSTEM. The codebase includes custom implementations for creating file, native, and registry symlinks, as well as RPC interface definitions for interacting with the Task Scheduler. The exploit targets unpatched Windows 10 systems and requires the attacker to run the PoC executable and provide a suitable DLL payload. The repository does not rely on any external exploit frameworks and is self-contained.sourceincite · Disclosed Oct 31, 2018 · cpp · c · localOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 10 1703operating_system
Microsoft CorporationWindows 10 1709operating_system
Microsoft CorporationWindows 10 1803operating_system
Microsoft CorporationWindows 7operating_system
Microsoft CorporationWindows 8.1operating_system
Microsoft CorporationWindows Rt 8.1operating_system
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2016operating_system
FAQ

Frequently asked questions

Is CVE-2018-8440 exploited in the wild?
Yes. As of Nov 4, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 28, 2022.
Is there a public exploit for CVE-2018-8440?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2018-8440, the earliest disclosed Aug 27, 2018.
Is there a patch for CVE-2018-8440?
Apply the Microsoft security update addressing CVE-2018-8440 for each affected Windows version.
What products are affected by CVE-2018-8440?
Microsoft Corporation Windows 7, Microsoft Corporation Windows 8.1, Microsoft Corporation Windows Rt 8.1, Microsoft Corporation Windows Server 2008, Microsoft Corporation Windows Server 2012, and 5 more.
How severe is CVE-2018-8440?
CVE-2018-8440 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 18.5% (97th percentile) as of Nov 4, 2026.
Activity feed

Recent activity

8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+2 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware3Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.