YARA Detection Rule: MAL_Driver_Gentilkiwibenjamindelpy_Mimidrv_Mimidrvmimikatz_0F58
Repository: Neo23x0/signature-base
Detects: Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - mimidrv.sys
Author: Florian Roth
Reference: https://github.com/magicsword-io/LOLDrivers

Pattern signatures:
$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]006f006e[1-8]006d0069006d[PII_REDACTED][PII_REDACTED]0066006f[PII_REDACTED]570069006e0064006f[PII_REDACTED]200028006d0069006d0069006b[PII_REDACTED]7a0029 } /* FileDescription mimidrvforWindowsmimikatz */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8][PII_REDACTED]6e[PII_REDACTED]6c006b[PII_REDACTED][PII_REDACTED][PII_REDACTED]6e006a0061006d0069006e[PII_REDACTED]45004c[PII_REDACTED]29 } /* CompanyName gentilkiwiBenjaminDELPY */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8]0032002e0030002e0030002e0030 } /* FileVersion  */
		$ = {[PII_REDACTED]6f[PII_REDACTED][PII_REDACTED][PII_REDACTED]730069006f006e[1-8]0032002e0030002e0030002e0030 } /* ProductVersion  */
		$ = { 0049006e[PII_REDACTED]72006e0061006c004e0061006d0065[1-8]006d0069006d[PII_REDACTED]720076 } /* InternalName mimidrv */
		$ = {[PII_REDACTED]6f[PII_REDACTED]630074004e0061006d0065[1-8]006d0069006d[PII_REDACTED][PII_REDACTED]0028006d0069006d0069006b[PII_REDACTED]7a0029 } /* ProductName mimidrvmimikatz */
		$ = { 004f[PII_REDACTED]670069006e00

Detection condition:
all of them

Full rule:
rule MAL_Driver_Gentilkiwibenjamindelpy_Mimidrv_Mimidrvmimikatz_0F58 {
	meta:
		description = "Detects malicious driver mentioned in LOLDrivers project using VersionInfo values from the PE header - mimidrv.sys"
		author = "Florian Roth"
		reference = "https://github.com/magicsword-io/LOLDrivers"
		hash = "0f58e09651d48d2b1bcec7b9f7bb85a2d1a7b65f7a51db281fe0c4f058a48597"
		hash = "087270d57f1626f29ba9c25750ca19838a869b73a1f71af50bdf37d6ff776212"
		hash = "0d676baac43d9e2d05b577d5e0c516fba250391ab0cb11232a4b17fd97a51e35"
		hash = "06ddf49ac8e06e6b83fccba1141c90ea01b65b7db592c54ffe8aa6d30a75c0b8"
		hash = "eab9b5b7e5fab1c2d7d44cd28f13ae8bb083d9362d2b930d43354a3dfd38e05a"
		hash = "627e13da6a45006fff4711b14754f9ccfac9a5854d275da798a22f3a68dd1eaa"
		hash = "b169a5f643524d59330fafe6e3e328e2179fc5116ee6fae5d39581467d53ac03"
		hash = "dfc80e0d468a2c115a902aa332a97e3d279b1fc3d32083e8cf9a4aadf3f54ad1"
		hash = "a74e8f94d2c140646a8bb12e3e322c49a97bd1b8a2e4327863d3623f43d65c66"
		hash = "94ba4bcbdb55d6faf9f33642d[PII_REDACTED]f5c57e8c963d1a3eb4f9111f30112"
		hash = "07759750fbb93c77b5c3957c642a9498fcff3946a5c69317db8d6be24098a4a0"
		hash = "4dc24fd07f8fb854e685bc540359c59f177de5b91231cc44d6231e33c9e932b1"
		hash = "baf7fbc4743a81eb5e[PII_REDACTED]b2dfdc32ba670ba3e4ed8c09db7a19bd82d3"
		hash = "bcca03ce1dd040e67eb71a7be0b75576316f0b6587b2058786fda8b6f0a5adfd"
		date = "2024-08-07"
		score = 70
		id = "0531a88d-cb21-5055-b365-a80b6e99a6e9"
	strings:
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED][PII_REDACTED][PII_REDACTED]006f006e[1-8]006d0069006d[PII_REDACTED][PII_REDACTED]0066006f[PII_REDACTED]570069006e0064006f[PII_REDACTED]200028006d0069006d0069006b[PII_REDACTED]7a0029 } /* FileDescription mimidrvforWindowsmimikatz */
		$ = { 0043006f006d[PII_REDACTED]6e0079004e0061006d0065[1-8][PII_REDACTED]6e[PII_REDACTED]6c006b[PII_REDACTED][PII_REDACTED][PII_REDACTED]6e006a0061006d0069006e[PII_REDACTED]45004c[PII_REDACTED]29 } /* CompanyName gentilkiwiBenjaminDELPY */
		$ = {[PII_REDACTED]6c[PII_REDACTED][PII_REDACTED]0069006f006e[1-8]0032002e0030002e0030002e0030 } /* Fil