← Back to SOC feed Coverage →

searchinject

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-10T11:00:01Z · Confidence: medium

Hunt Hypothesis

This detection targets adversaries utilizing the searchinject mechanism to inject malicious payloads into legitimate search processes, potentially establishing persistence or executing code in memory. Proactive hunting for this behavior in Azure Sentinel is critical because its low severity classification may cause it to be overlooked during routine alert triage, allowing stealthy initial access attempts to go unchallenged before escalating into a broader compromise.

YARA Rule

rule searchinject
{
meta:
	author = "@patrickrolsen"
	reference = "Usage: SearchInject <PID1>[PID2][PID3] - It loads Searcher.dll (appears to be hard coded)"
strings:
	$s1 = "SearchInject"
	$s2 = "inject base:"
	$s3 = "Searcher.dll" nocase
condition:
	uint16(0) == 0x5A4D and all of ($s*)
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 3 string patterns in its detection logic.

References

False Positive Guidance

Here are 4 specific false positive scenarios for the searchindex detection rule in an enterprise environment, along with suggested filters and exclusions:

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