← Back to SOC feed Coverage →

locate-ALPC-local-privilege-elevation-exploit

kql MEDIUM Azure-Sentinel
DeviceFileEvents
backdoorexploithuntingmicrosoftofficial
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Azure-Sentinel →
Retrieved: 2026-05-24T11:00:00Z · Confidence: medium

Hunt Hypothesis

The rule detects potential exploitation of the Windows ALPC elevation of privilege vulnerability (CVE-2018-8440), where an attacker may elevate privileges to run arbitrary code with higher access. A SOC team should proactively hunt for this behavior in Azure Sentinel to identify and mitigate local privilege escalation attempts that could lead to deeper network compromise.

KQL Query

DeviceFileEvents 
| where Timestamp > ago(7d)
and FileName =~ "printconfig.dll"
and InitiatingProcessIntegrityLevel != "System"
and InitiatingProcessIntegrityLevel != "High"
and FolderPath contains @":\Windows"

Analytic Rule Definition

id: 8f26a2c6-4c60-469c-ac7a-f4d1ccccab9f
name: locate-ALPC-local-privilege-elevation-exploit
description: |
  This query was originally published in the threat analytics report, ALPC local privilege elevation.
  Windows ALPC Elevation of Privilege Vulnerability, CVE-2018-8440, could be exploited to run arbitrary code or to gain access to protected directories and areas of the operating system.
  This vulnerability was patched in the September 2018 Security Update.
  The following query checks for potential activity related to this vulnerability over the past 7 days. If you wish to check another time period, update the EventTime value.
  References:
  https://nvd.nist.gov/vuln/detail/CVE-2018-8440
  https://support.microsoft.com/help/4457143/windows-81-update-kb4457143
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
  dataTypes:
  - DeviceFileEvents
tactics:
- Privilege escalation
query: |
  DeviceFileEvents 
  | where Timestamp > ago(7d)
  and FileName =~ "printconfig.dll"
  and InitiatingProcessIntegrityLevel != "System"
  and InitiatingProcessIntegrityLevel != "High"
  and FolderPath contains @":\Windows"

Required Data Sources

Sentinel TableNotes
DeviceFileEventsEnsure this data connector is enabled

MITRE ATT&CK Context

References

False Positive Guidance

Original source: https://github.com/Azure/Azure-Sentinel/blob/main/Hunting Queries/Microsoft 365 Defender/Privilege escalation/locate-ALPC-local-privilege-elevation-exploit.yaml