This detection identifies the presence of the PKLite utility on endpoints, which adversaries often leverage to extract or manipulate certificate data during reconnaissance and persistence phases. Proactively hunting for this activity in Azure Sentinel allows the SOC team to distinguish legitimate administrative usage from potential malicious behavior where attackers utilize PKLite to facilitate certificate-based attacks or credential theft.
rule PKLITEv112v115v1201
{
meta:
author="malware-lu"
strings:
$a0 = { B8 [2] BA [2] 05 [2] 3B 06 [2] 73 ?? 2D [2] FA 8E D0 FB 2D [2] 8E C0 50 B9 [2] 33 FF 57 BE [2] FC F3 A5 CB B4 09 BA [2] CD 21 CD 20 }
condition:
$a0 at pe.entry_point
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the PKLITEv112v115v1201 detection rule, tailored to a legitimate enterprise environment:
Scenario: Microsoft Defender Antivirus Engine Updates
mpclient.exe process (Microsoft Defender) frequently extracts and executes the updated engine binaries (mpengine.dll) which match the PKLite signature during scheduled daily definition updates. This often triggers on endpoints running Windows 10/11 where the update service runs as a background task.Microsoft Antimalware or file paths located within %ProgramFiles%\Windows Defender\. Specifically, filter out events where the parent process is mpclient.exe and the file hash matches known Microsoft engine versions (v1.3.x).Scenario: SCCM/Intune Application Deployment
ccmsetup.exe) extracts installer packages containing PKLite components to temporary directories before installation. This is common when distributing internal tools like Adobe Acrobat Reader updates or custom line-of-business applications that bundle PKLite libraries.C:\Windows\CCMCache\ or C:\ProgramData\Microsoft\Intune Management Extension\. Additionally, exclude events where the parent process is ccmsetup.exe, msiexec.exe, or intunacdc.exe.Scenario: Automated Backup and Archiving Jobs