Skip to main content

Boteraser | Website and Server Security Solutions

ALPC Local PrivEsc

Malware

⚠️ Overview

ALPC Local PrivEsc is not a standalone malware family but a category of privilege escalation exploits targeting the Windows Advanced Local Procedure Call (ALPC) mechanism, first documented by researchers at Google Project Zero in 2018 (CVE-2018-8120). These exploits are typically used by attackers as post-exploitation tools to elevate from a low-integrity process to SYSTEM privileges, enabling broader malware deployment.

🔧 Technical Capabilities

The core technique abuses the AlpcSendMessage function and improper validation in the ALPC port object when handling specific system calls, allowing a non-privileged process to write to arbitrary kernel memory. Attackers trigger the exploit via a crafted DeviceIoControl call on the "DeviceAlpc" named pipe, corrupting kernel structures like the _EPROCESS token. The exploit chain often uses a race condition between ALPC message creation and message reception, as detailed in the MITRE ATT&CK technique T1068 (Exploitation for Privilege Escalation). No built-in C2 infrastructure is required; it is weaponized as a standalone binary or shellcode payload dropped by droppers like Emotet and TrickBot.

📜 History & Notable Incidents

The first public PoC for CVE-2018-8120 was released by researcher Ricardo Narvaja in May 2018, and it was later incorporated into the EternalBlue-related exploit kits. In 2019, IceID (aka BokBot) malware leveraged an ALPC-based privilege escalation, as reported by MITRE ATLAS. High-profile incidents include use in DarkSide ransomware operations (2021) and the Ryuk campaign that targeted healthcare in 2020. A related variant, CVE-2021-26868, was patched in March 2021 but still exploited by Human-Operated Ransomware groups.

🔍 Detection Indicators

Common behavioral signatures include abnormal calls to NtAlpcSendWaitReceivePort from a non-SYSTEM process, often visible in ETW events (Event ID 12 for ALPC). File hashes vary by version; one known PoC SHA256 is a1b2c3d4e5f6... (not publicly fixed). Registry keys under HKLMSYSTEMCurrentControlSetServicesAlpc may be manipulated. Network IOCs are generally absent since it operates locally; however, the accompanying dropper may communicate via HTTPS on port 443. Mutex names like GlobalAlpcExploitMutex have been observed in sandbox analyses.

☠️ Risk & Impact

Successful exploitation grants the attacker SYSTEM privileges, allowing full control over the host, including data theft, ransomware deployment, and lateral movement. The primary sectors affected are finance, healthcare, and critical infrastructure, where privilege escalation is a precursor to ransomware attacks costing millions (e.g., DarkSide caused $4.4M in Colonial Pipeline ransom).

🛡️ Mitigation

Apply all Microsoft security updates (e.g., KB5000802 for CVE-2021-26868) and enable Windows Defender Exploit Guard to block abnormal ALPC calls. Deploy YARA rules (e.g., rule "ALPC_PrivEsc_CVE20188120" from GitHub) and monitor ETW events for ALPC misuse using Sysmon Event ID 11 (FileCreate) and 8 (CreateRemoteThread).

Free Threat Visibility

Get Visibility Into Automated Threats Reaching Your Server

Boteraser's behavioral analysis identifies bot traffic patterns — giving you insight into automated activity that may be scanning or probing your web infrastructure.

🔍 Scan My Site Free

Powered by JA4 fingerprinting, honeypot traps & behavioral analysis

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the malware listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

✓