← Back to SOC feed Coverage →

regexpr pos

yara LOW Yara-Rules
community
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 Yara-Rules →
Retrieved: 2026-07-09T11:00:00Z · Confidence: medium

Hunt Hypothesis

This detection identifies adversary behavior characterized by specific regular expression patterns within process execution logs, potentially indicating reconnaissance or initial foothold activities. Proactively hunting for these patterns in Azure Sentinel allows the SOC team to uncover subtle indicators of compromise that may be missed by standard alerting due to their low severity classification.

YARA Rule

rule regexpr_pos
{
meta:
	author = "@patrickrolsen"
	reference = "POS malware - RegExpr"
strings:
	$s1 = "RegExpr" nocase
	$s2 = "Data.txt"
	$s3 = "Track1"
	$s4 = "Track2"
condition:
	uint16(0) == 0x5A4D and 3 of ($s*)
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 4 string patterns in its detection logic.

References

False Positive Guidance

Here are 5 specific false positive scenarios for the regexpr_pos detection rule in an enterprise environment, including suggested filters and exclusions:

Original source: https://github.com/Yara-Rules/rules/blob/main/malware/POS.yar