This hypothesis targets adversaries attempting to manipulate process execution or inject code by leveraging specific POSIX system call patterns identified through the sets_pos YARA signature. Proactive hunting for this behavior in Azure Sentinel is essential to uncover subtle, low-severity lateral movement or persistence activities that may evade standard high-fidelity alerting mechanisms.
rule sets_pos
{
meta:
author = "@patrickrolsen"
reference = "POS malware - Sets"
strings:
$s1 = "GET /sets.txt"
condition:
uint16(0) == 0x5A4D and $s1
}
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 sets_pos detection rule in an enterprise environment, including suggested filters and exclusions:
Antivirus Real-Time Scanning on System Directories
sets_pos signature, particularly when scanning executables in %ProgramFiles% or %SystemRoot%\System32.MsMpEng.exe, CsFalconService.exe) and their child processes. Additionally, exclude file paths matching the standard installation directories of these security tools to prevent alerts during routine scanning cycles.Scheduled Group Policy Updates by System Administrators
gpupdate.exe or scheduled tasks managed by tools like SCCM (Microsoft Endpoint Configuration Manager). These operations often involve setting security policies, modifying user rights assignments, and updating system configurations that trigger the logic defined in the YARA rule.DOMAIN\svc-gpo-update, SYSTEM) and processes named gpupdate.exe or ccmexec.exe.Software Deployment via Intune or Jamf