Skip to content

YARA · LOLDrivers

LOLDRIVERS_MAL_Driver_Microsoftcorporation_Ntbiosys_Microsoftrwindowsrntoperatingsystem_96BF

Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - ntbios.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 - ntbios.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-microsoftcorporation-ntbiosys-microsoftrwindowsrntoperatingsystem-96bf.yarApache License 2.0
rule LOLDRIVERS_MAL_Driver_Microsoftcorporation_Ntbiosys_Microsoftrwindowsrntoperatingsystem_96BF
{
	meta:
		description = "Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - ntbios.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 = "cbf1f033-3c26-5aac-841e-881d0061b647"
		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#L850-L870"
		license_url = "https://github.com/magicsword-io/LOLDrivers//blob/9fa32adeab865455de8b24cba0bbc0f3439d59f7/LICENSE"
		hash = "96bf3ee7c6673b69c6aa173bb44e21fa636b1c2c73f4356a7599c121284a51cc"
		hash = "c0d88db11d0f529754d290ed5f4c34b4dba8c4f2e5c4148866daabeab0d25f9c"
		logic_hash = "139d8b63b53e2c6db2ceb2f0509599c23b854c2b4c02e37cc226ed36589ed5e9"
		score = 70
		quality = 80
		tags = ""

	strings:
		$ = { 460069006c0065004400650073006300720069007000740069006f006e00[1-8]6e007400620069006f0073002000640072006900760065007200 }
		$ = { 43006f006d00700061006e0079004e0061006d006500[1-8]4d006900630072006f0073006f0066007400200043006f00720070006f0072006100740069006f006e00 }
		$ = { 460069006c006500560065007200730069006f006e00[1-8]35002c00200030002c00200032002c0020003100 }
		$ = { 500072006f006400750063007400560065007200730069006f006e00[1-8]35002c00200030002c00200032002c0020003100 }
		$ = { 49006e007400650072006e0061006c004e0061006d006500[1-8]6e007400620069006f002e00730079007300 }
		$ = { 500072006f0064007500630074004e0061006d006500[1-8]20004d006900630072006f0073006f00660074002800520029002000570069006e0064006f0077007300200028005200290020004e00540020004f007000650072006100740069006e0067002000530079007300740065006d00 }
		$ = { 4f0072006900670069006e0061006c00460069006c0065006e0061006d006500[1-8]6e007400620069006f0073002e00730079007300 }
		$ = { 4c006500670061006c0043006f007000790072006900670068007400[1-8]4872436740620967200028004300290020003200300030003300 }

	condition:
		all of them
}

Strings (8 patterns)

IdentifierTypeValueModifiers
$hex{ 460069006c0065004400650073006300720069007000740069006f006e00[1-8]6e007400620069006f0073002000640072006900760065007200 }
$hex{ 43006f006d00700061006e0079004e0061006d006500[1-8]4d006900630072006f0073006f0066007400200043006f00720070006f0072006100740069006f006e00 }
$hex{ 460069006c006500560065007200730069006f006e00[1-8]35002c00200030002c00200032002c0020003100 }
$hex{ 500072006f006400750063007400560065007200730069006f006e00[1-8]35002c00200030002c00200032002c0020003100 }
$hex{ 49006e007400650072006e0061006c004e0061006d006500[1-8]6e007400620069006f002e00730079007300 }
$hex{ 500072006f0064007500630074004e0061006d006500[1-8]20004d006900630072006f0073006f00660074002800520029002000570069006e0064006f0077007300200028005200290020004e005 …
$hex{ 4f0072006900670069006e0061006c00460069006c0065006e0061006d006500[1-8]6e007400620069006f0073002e00730079007300 }
$hex{ 4c006500670061006c0043006f007000790072006900670068007400[1-8]4872436740620967200028004300290020003200300030003300 }

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

  • 96bf3ee7c6673b69c6aa173bb44e21fa636b1c2c73f4356a7599c121284a51cc
  • c0d88db11d0f529754d290ed5f4c34b4dba8c4f2e5c4148866daabeab0d25f9c

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: cbf1f033-3c26-5aac-841e-881d0061b647