This rule detects adversary behavior involving the enumeration or modification of LogPOS versions, which may indicate an attacker establishing persistence or preparing for data exfiltration within point-of-sale systems. The SOC team should proactively hunt for this activity in Azure Sentinel to identify subtle configuration changes that often precede more critical incidents and ensure baseline integrity across retail environments.
rule LogPOS
{
meta:
author = "Morphick Security"
description = "Detects Versions of LogPOS"
md5 = "af13e7583ed1b27c4ae219e344a37e2b"
strings:
$mailslot = "\\\\.\\mailslot\\LogCC"
$get = "GET /%s?encoding=%c&t=%c&cc=%I64d&process="
//64A130000000 mov eax, dword ptr fs:[0x30]
//8B400C mov eax, dword ptr [eax + 0xc]
//8B401C mov eax, dword ptr [eax + 0x1c]
//8B4008 mov eax, dword ptr [eax + 8]
$sc = {64 A1 30 00 00 00 8B 40 0C 8B 40 1C 8B 40 08 }
condition:
$sc and 1 of ($mailslot,$get)
}
This YARA rule can be deployed in the following contexts:
This rule contains 3 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the “Detects Versions of LogPOS” rule in an enterprise environment, along with suggested filters or exclusions:
Scheduled Patch Management Deployments
EventSource matches “SCCM” and the ProcessName is ccmexec.exe, specifically during the defined maintenance window (01:30–04:30 UTC).Automated Compliance Audits by Security Tools
InitiatingProcess belongs to known security agents (e.g., csagent.exe, MsMpEng.exe) and the action type is explicitly marked as “Read-Only Inventory” or “Configuration Scan.”LogPOS Self-Service Configuration Updates