Skip to content

YARA · LOLDrivers

LOLDRIVERS_MAL_Driver_Mimidrv_Mimidrvmimikatz_2FAF

Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - mimidrv.sys. Investigate matches in context: expected filenames or standard vendor/system driver locations can be lower priority, while unexpected filenames or paths are more suspicious.

Vulnerable / malicious driverLOLDriversApache License 2.0Compiles with YARA-X
Author
Florian Roth
Date
2025-09-18
Modified
2026-04-28
Score / Quality
70 / 80

What this rule detects

Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - mimidrv.sys. Investigate matches in context: expected filenames or standard vendor/system driver locations can be lower priority, while unexpected filenames or paths are more suspicious.

It defines 5 patterns (0 text, 5 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

mal-driver-mimidrv-mimidrvmimikatz-2faf.yarApache License 2.0
rule LOLDRIVERS_MAL_Driver_Mimidrv_Mimidrvmimikatz_2FAF
{
	meta:
		description = "Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - mimidrv.sys. Investigate matches in context: expected filenames or standard vendor/system driver locations can be lower priority, while unexpected filenames or paths are more suspicious."
		author = "Florian Roth"
		id = "0a40c83f-175f-5b02-afd7-a975daa62ec9"
		date = "2025-09-18"
		modified = "2026-04-28"
		reference = "https://github.com/magicsword-io/LOLDrivers"
		source_url = "https://github.com/magicsword-io/LOLDrivers//blob/9fa32adeab865455de8b24cba0bbc0f3439d59f7/detections/yara/yara-rules_mal_drivers.yar#L1126-L1143"
		license_url = "https://github.com/magicsword-io/LOLDrivers//blob/9fa32adeab865455de8b24cba0bbc0f3439d59f7/LICENSE"
		hash = "2faf95a3405578d0e613c8d88d534aa7233da0a6217ce8475890140ab8fb33c8"
		logic_hash = "4495d60de69a9e2928c8c8512ebadbd8bd9671c4848c756b1b2be7095000161b"
		score = 70
		quality = 80
		tags = ""

	strings:
		$ = { 500072006f006400750063007400560065007200730069006f006e00[1-8]32002e0030002e0030002e003000 }
		$ = { 49006e007400650072006e0061006c004e0061006d006500[1-8]6d0069006d006900640072007600 }
		$ = { 500072006f0064007500630074004e0061006d006500[1-8]6d0069006d006900640072007600200028006d0069006d0069006b00610074007a002900 }
		$ = { 4f0072006900670069006e0061006c00460069006c0065006e0061006d006500[1-8]6d0069006d0069006400720076002e00730079007300 }
		$ = { 4c006500670061006c0043006f007000790072006900670068007400[1-8]43006f00700079007200690067006800740020002800630029002000320030003000370020002d00200032003000310035002000670065006e00740069006c006b0069007700690020002800420065006e006a0061006d0069006e002000440045004c00500059002900 }

	condition:
		all of them
}

Strings (5 patterns)

IdentifierTypeValueModifiers
$hex{ 500072006f006400750063007400560065007200730069006f006e00[1-8]32002e0030002e0030002e003000 }
$hex{ 49006e007400650072006e0061006c004e0061006d006500[1-8]6d0069006d006900640072007600 }
$hex{ 500072006f0064007500630074004e0061006d006500[1-8]6d0069006d006900640072007600200028006d0069006d0069006b00610074007a002900 }
$hex{ 4f0072006900670069006e0061006c00460069006c0065006e0061006d006500[1-8]6d0069006d0069006400720076002e00730079007300 }
$hex{ 4c006500670061006c0043006f007000790072006900670068007400[1-8]43006f00700079007200690067006800740020002800630029002000320030003000370020002d0020003200300031003 …

Condition

all of them

In plain words (Heuristic)

  • All patterns in the rule must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • 2faf95a3405578d0e613c8d88d534aa7233da0a6217ce8475890140ab8fb33c8

Licence & attribution

Author: Florian Roth

Source repository: LOLDrivers @ 9fa32adeab

Licence: Apache License 2.0 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 0a40c83f-175f-5b02-afd7-a975daa62ec9