← Back to SOC feed Coverage →

android tempting cedar spyware

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-05-08T23:00:01Z · Confidence: medium

Hunt Hypothesis

The hypothesis is that the detection identifies potential Android devices infected with the Cedar spyware through suspicious file artifacts, indicating possible adversary compromise. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify and mitigate covert surveillance activities early.

YARA Rule

rule android_tempting_cedar_spyware
{
	meta:
    	Author = "@X0RC1SM"
        Date = "2018-03-06"
        Reference = "https://blog.avast.com/avast-tracks-down-tempting-cedar-spyware"
	strings:
		$PK_HEADER = {50 4B 03 04}
		$MANIFEST = "META-INF/MANIFEST.MF"
		$DEX_FILE = "classes.dex"
		$string = "rsdroid.crt"
	
	condition:
    	$PK_HEADER in (0..4) and $MANIFEST and $DEX_FILE and any of ($string*)
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 4 string patterns in its detection logic.

False Positive Guidance

Original source: https://github.com/Yara-Rules/rules/blob/main/deprecated/Android/Android_Tempting_Cedar_Spyware.yar