Skip to content

YARA · LOLDrivers

LOLDRIVERS_MAL_Driver_Basil_Windivertsys_Windivertdriver_2F43

Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - windivert.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
2026-04-28
Modified
2026-09-08
Score / Quality
70 / 80

What this rule detects

Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - windivert.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 8 patterns (0 text, 8 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

mal-driver-basil-windivertsys-windivertdriver-2f43.yarApache License 2.0
rule LOLDRIVERS_MAL_Driver_Basil_Windivertsys_Windivertdriver_2F43
{
	meta:
		description = "Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - windivert.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 = "41f45e37-6102-5758-ad31-15f67bf89e48"
		date = "2026-04-28"
		modified = "2026-09-08"
		reference = "https://github.com/magicsword-io/LOLDrivers"
		source_url = "https://github.com/magicsword-io/LOLDrivers//blob/9fa32adeab865455de8b24cba0bbc0f3439d59f7/detections/yara/yara-rules_mal_drivers.yar#L35-L56"
		license_url = "https://github.com/magicsword-io/LOLDrivers//blob/9fa32adeab865455de8b24cba0bbc0f3439d59f7/LICENSE"
		hash = "2f43f4251be4d72dd56c91bf6cce475d379eb9ba6c4dda2be3022ea633d5e807"
		hash = "8248306bcc5fae20fd4f3d5c44f962c85cddbe020b34a1799350ce2034154b7d"
		hash = "8da085332782708d8767bcace5327a6ec7283c17cfb85e40b03cd2323a90ddc2"
		logic_hash = "66efc4d061d40083963cbe1bf76b56a47ae888c33fba653e9bca0e0a9275b79d"
		score = 70
		quality = 80
		tags = ""

	strings:
		$ = { 460069006c0065004400650073006300720069007000740069006f006e00[1-8]5400680065002000570069006e00440069007600650072007400200032002e003200200064007200690076006500720020005b00550052004c003a002000680074007400700073003a002f002f0072006500710072007900700074002e006f00720067002f00770069006e006400690076006500720074002e00680074006d006c005d0020005b0042006900740063006f0069006e003a00200031004300350076005a0056005300620069007a00500065005a00380079006400540059006800550066006d0034004c004100320063004e007700420066006300590068005d00 }
		$ = { 43006f006d00700061006e0079004e0061006d006500[1-8]42006100730069006c00 }
		$ = { 460069006c006500560065007200730069006f006e00[1-8]32002e003200 }
		$ = { 500072006f006400750063007400560065007200730069006f006e00[1-8]32002e003200 }
		$ = { 49006e007400650072006e0061006c004e0061006d006500[1-8]570069006e004400690076006500720074002e00730079007300 }
		$ = { 500072006f0064007500630074004e0061006d006500[1-8]570069006e00440069007600650072007400200032002e0032002000640072006900760065007200 }
		$ = { 4f0072006900670069006e0061006c00460069006c0065006e0061006d006500[1-8]570069006e004400690076006500720074002e00730079007300 }
		$ = { 4c006500670061006c0043006f007000790072006900670068007400[1-8]43006f0070007900720069006700680074002000a900200042006100730069006c00200032003000310031002d003200300032003200 }

	condition:
		all of them
}

Strings (8 patterns)

IdentifierTypeValueModifiers
$hex{ 460069006c0065004400650073006300720069007000740069006f006e00[1-8]5400680065002000570069006e00440069007600650072007400200032002e0032002000640072006900760065007 …
$hex{ 43006f006d00700061006e0079004e0061006d006500[1-8]42006100730069006c00 }
$hex{ 460069006c006500560065007200730069006f006e00[1-8]32002e003200 }
$hex{ 500072006f006400750063007400560065007200730069006f006e00[1-8]32002e003200 }
$hex{ 49006e007400650072006e0061006c004e0061006d006500[1-8]570069006e004400690076006500720074002e00730079007300 }
$hex{ 500072006f0064007500630074004e0061006d006500[1-8]570069006e00440069007600650072007400200032002e0032002000640072006900760065007200 }
$hex{ 4f0072006900670069006e0061006c00460069006c0065006e0061006d006500[1-8]570069006e004400690076006500720074002e00730079007300 }
$hex{ 4c006500670061006c0043006f007000790072006900670068007400[1-8]43006f0070007900720069006700680074002000a900200042006100730069006c00200032003000310031002d0032003 …

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).

  • 2f43f4251be4d72dd56c91bf6cce475d379eb9ba6c4dda2be3022ea633d5e807
  • 8248306bcc5fae20fd4f3d5c44f962c85cddbe020b34a1799350ce2034154b7d
  • 8da085332782708d8767bcace5327a6ec7283c17cfb85e40b03cd2323a90ddc2

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: 41f45e37-6102-5758-ad31-15f67bf89e48