This detection identifies the presence of the PocketPCMIB tool, which adversaries often leverage to establish persistent command and control channels or facilitate lateral movement within compromised environments. Proactively hunting for this indicator in Azure Sentinel is essential to uncover stealthy post-exploitation activities that may evade standard signature-based alerts due to their low-severity classification.
rule PocketPCMIB
{
meta:
author="malware-lu"
strings:
$a0 = { E8 FF BD 27 14 00 BF AF 18 00 A4 AF 1C 00 A5 AF 20 00 A6 AF 24 00 A7 AF [3] 0C 00 00 00 00 18 00 A4 8F 1C 00 A5 8F 20 00 A6 8F [3] 0C 24 00 A7 8F [3] 0C 25 20 40 00 14 00 BF 8F 08 00 E0 03 18 00 BD 27 ?? FF BD 27 18 00 ?? AF ?? 00 }
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 5 specific false positive scenarios for the PocketPCMIB detection rule, including suggested filters and exclusions tailored for an enterprise environment:
Scenario: Scheduled Endpoint Protection Scans
Image contains \Program Files\CrowdStrike\ (or respective vendor paths) AND ParentProcessName is falcon.sys, ssd.exe, or MsMpEng.exe.Scenario: Group Policy Object (GPO) Application
gpsvc.dll) executes to apply new policies. This process frequently invokes PocketPCMIB to validate compliance settings and retrieve configuration data from the domain controller, triggering the rule during peak business hours (e.g., 8:00 AM – 9:30 AM).ParentProcessName is svchost.exe and the service name matches gpsvc, specifically during the window of Monday–Friday, 08:00 to 10:00.Scenario: IT Asset Management Inventory Runs