← Back to SOC feed Coverage →

Mirai Variant 1

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-06-24T11:00:00Z · Confidence: medium

Hunt Hypothesis

Devices with unusual outbound DNS queries to known Mirai botnet command and control servers may indicate the presence of a Mirai variant, as these queries are commonly used for C2 communication, and proactive hunting can help identify and mitigate compromised IoT devices before they are used in large-scale DDoS attacks. SOC teams should actively hunt for this behavior in Azure Sentinel to detect and respond to potential botnet activity early, reducing the risk of network compromise and service disruption.

YARA Rule

rule Mirai_1 : MALW
{
	meta:
		description = "Mirai Variant 1"
		author = "Joan Soriano / @joanbtl"
		date = "2017-04-16"
		version = "1.0"
		MD5 = "655c3cf460489a7d032c37cd5b84a3a8"
		SHA1 = "4dd3803956bc31c8c7c504734bddec47a1b57d58"

	strings:
		$dir1 = "/dev/watchdog"
		$dir2 = "/dev/misc/watchdog"
		$pass1 = "PMMV"
		$pass2 = "FGDCWNV"
		$pass3 = "OMVJGP"
	condition:
		$dir1 and $pass1 and $pass2 and not $pass3 and not $dir2

}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 5 string patterns in its detection logic.

False Positive Guidance

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